scratch/README.md
Yann Esposito (Yogsototh) 94adfae3bf Clean up a bit
2011-09-13 13:27:11 +02:00

1.9 KiB

yannesposito.com

This is the source code of yannesposito.com website.

It is mainly a multi-language blog based on nanoc.

Notice, this is not a clean system. Mainly because I use it for some years now. I just want it to work, not to be a nice piece of code. But in the end I know I will make it clean.

What you'll need to use it:

  • nanocgem install nanoc
  • zsh → By default installed on most good system
  • A bunch of gems: gem install ultraviolet krambook sass rainpress

Optionally

Here is a short explanation of each file role:

config.rb            → nanoc central configuration file
config.ru            → Rack server configuration
config.yaml          → A YAML configuration file (mostly strings)
content/             → The directory where nanoc will search most content
img_latest_blog_dir@ → A link to the latest blog image directory
latest.md@           → A link to the latest blog file
layouts/             → HTML Layouts for your webpages
lib/                 → Some ruby files loaded by nanoc before generating
multi/               → Where you should write content
output/              → Where the content is loaded
Rakefile             → Ruby actions
README.md            → This file
resources/           → Some file I used and wanted to keep
Rules                → Generation rules
tasks/               → Where I putted most of my scripts

Here are features I added:

analytics.rb → Functions to add web analytics code
calendar.rb  → Function show a date nicely in HTML
gitmtime.rb
graph.rb
helpers.rb
html.rb
intenseDebate.rb
macros.rb
mail.rb
multiMenu.rb
multi.rb
nanoc_item_conf.rb
repair_html.rb
syntaxColorize.rb
tag.rb
ultraviolet.rb
y.rb