You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion group for nanoc, a static site compiler written in Ruby. It operates on local files, and therefore does not run on the server. nanoc "compiles" the local source files into HTML (usually), by evaluating eRuby, Markdown, etc.
|
|
|
nanoc 3.0.3 released
|
| |
Hi, nanoc 3.0.3 is out! This is a patch release that fixes a couple of annoying bugs. The full release notes: * The Blogging helper now properly handles item reps without paths * The relativize_paths filter now only operates inside tags * The autocompiler now handles escaped paths * The link_to and tagging helpers now output escaped HTML... more »
|
|
HTML files locked during autocompile
|
| |
Hi folk, first of all: Great tool. I use this for some weeks now and it is really very very helpful to me. But what I am wondering about is, that the autocompile command seems to lock the html files (in content dir) so that I need to force overwriting the files during saving. Is this usual or even desired behavior?... more »
|
|
autocompile question
|
| |
Hi, I am just starting to learn Nanoc and I totally love it. As a newbie I'm a little confused over "nanoc autocompile" I thought I could use it to live preview while I create items, but I can't get them to preview or should I say get them to compile into the output directory when I switch to previewing them through a browser, so I have found I... more »
|
|
Using nanoc for blogging
|
| |
As I see it, there are two essential bits of functionality required to use nanoc as a blogging engine (three, but tagging is already implemented and well-documented): 1) The ability to have archive pages autogenerated. 2) The ability to have a "home" page for the blog containing either summaries of the last N articles or the full text of the last N... more »
|
|
capturing helper not capturing
|
| |
My site has 2 columns and I'm trying to capture content from inside an item page and then call it from the second column div inside my layout. This is so that I don't have layout divs (the column divs) in my items. Code in my lib folder: include Nanoc3::Helpers::Capturing Code in my item: <% content_for :column do %>... more »
|
|
Automatic Menu Generation in nanoc3
|
| |
Hi, I've been playing with nanoc and trying to get the automatic menu generation to work. I've found some old posts on this group about this (particularly [link]). However, these seem to have been written for nanoc2. I've tried altering the suggested code, as it seems that @pages... more »
|
|
Syntax Highlighting in nanoc3
|
| |
Hi, According to the nanoc wiki, Syntax Highlighting is included by default in nanoc3. However, I can't find anything about this in the manual, and when I try using the example given on the syntax highlighting page on the wiki (code which I copied shown below), I get an error saying undefined method 'code'.... more »
|
|
Installing nanoc in a home directory (without sudo/root access)
|
| |
I'm interested in running Nanoc on a host that only supports installing software via FreeBSD ports. If it's not in the ports collection, they won't install it. (With some exceptions not relevant here.) They do have Mercurial installed. And I can execute software in my home directory. Can I check out, say, the 3.0.2 tag of Nanoc using hg, and then run it... more »
|
|
LESS filter
|
| |
I never know how specific to get, but basically I have a style sheet "content/styles.less". It's 100% classic CSS, despite the extension. ROUTING route '/styles/' do '/css/' + item.identifier.gsub('/','') + '.css' end COMPILE compile '/styles/' do end Everything works great like this! Even works great with the rainpress... more »
|
|
Sub-directory as site root for client proofing
|
| |
Quick question that I wanted to run by you guys. For client proofing I like to keep the site live on my server in "/ clients/company/", but Nanoc's default is "/". I was thinking about creating a couple of rake tasks that looped through my layouts gsub'ing href="/ and src="/ and to go back I would, of course, gsub href="/clients/company/ So, then I could go back and... more »
|
|
|