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.
|
|
|
beginner - What is a good way to implement a sub-layout?
|
| |
I've wanted to try Nanoc for a while, and I finally have a static site project to give it a go on, but I'm lost for examples on how to do something that I have a feeling is pretty simple. What I am trying to implement is a sub-navigation element for certain pages. I think this will be done with layout partials, based on what I've... more »
|
|
question about constructing a folder structure
|
| |
Hi, I'm trying to construct a folder structure for my website. For instance, suppose the have folder structure below contents/css/stylesheet.css contents/index.html And after I compile the project, I want the output folder be like: output/css/style.css output/index.html I know that I have to define a rule for it. How can I write a rule for... more »
|
|
nanoc 3.6.3 released
|
| |
Hi all,
I’ve just pushed nanoc 3.6.3, which is a patch release that fixes a few issues. Check out the full list of changes on [link] or at the bottom of this e-mail
You can update your gems using `gem update`. Be sure to update your `Gemfile.lock` as well, if relevant.... more »
|
|
nanoc watch crashes on startup
|
| |
Hi,
When I try to run nanoc watch, I get this error:
Watcher started; compiling the entire site… which: no growlnotify in (/usr/local/rvm/gems/ruby-1.9. 3-p392/bin:/usr/local/rvm/gems /ruby-1.9.3-p392@global/bin:/u sr/local/rvm/rubies/ruby-1.9.3 -p392/bin:/usr/local/rvm/bin:/ usr/local/bin:/bin:/usr/bin:/u sr/local/sbin:/usr/sbin:/sbin: /home/cleonardi/bin)... more »
|
|
Tutoriel nanoc (français)
|
| |
Here's a guide and tutorial I wrote about nanoc. It's in french. Hope this helps.
---
J'ai écrit un guide sur les générateurs de sites statiques + un tutoriel pour nanoc en français :
[link]
Faites-moi savoir si vous trouvez une erreur, je corrigerai.... more »
|
|
2 questions.
|
| |
Hi I think it was asked several times already and I saw the note in Rules. However I do not understand why compile and route do not work route by extension ? Is it by design or a sad limitation ? I'm trying to convert several joomla files to nanoc hoping to add little bit more automation. I quickly get messed with Rules file. Is index.html something special name... more »
|
|
here is an interesting issue for you: multipart document & layout
|
| |
Hello everyone,
I have a long page in Markdown that I want to split up into
several .md files and would like nanoc to reassemble/compile all these
into a single .html file. I have the 'default' layout and a partial
layout called 'listitem'. At the root of the article, the .md loads
all compiled children into itself for rendering. The interesting part... more »
|
|
Size of a binary item
|
| |
Hi, i just ran in a problem, to which i see no solution I have some *.WAV file which i convert to *.MP3 via a binary filter. So far no problem. Now i want to include this MP3 file into an RSS Feed to create a Podcast-Feed. The enclosure Tag needs to give the size of that MP3 file. How do i get the size of that file?... more »
|
|
Best way to `shift` a frozen array?
|
| |
I just came across the fact that nanoc freezes arrays from the YAML metadata in content files, so won't respond to shift etc. I have different length lists of tabs on several pages, only the first of which always needs class="active". Then I want to loop through the remaining array items (omitting the first). I managed this in the layout by using dup to 'shallow... more »
|
|
|