No description
Find a file
2012-05-04 11:24:50 +02:00
content regeneration 2012-05-03 11:21:34 +02:00
layouts Use highlight.js instead of generated highlight 2012-05-02 14:00:39 +02:00
lib Recompiled 2012-05-02 17:43:56 +02:00
multi Recompiled 2012-05-02 17:43:56 +02:00
output regeneration 2012-05-03 11:21:34 +02:00
resources Better system to display blog in vim 2011-09-30 14:23:27 +02:00
tasks Fixed a small issue 2012-05-03 15:13:55 +02:00
.gems New version 2010-08-25 12:05:23 +02:00
.gitignore Updated wrong gitignore from dev 2011-01-09 23:35:02 +01:00
config.rb Better init file 2010-12-01 17:36:28 +01:00
config.ru Fixed some issue with last unicorn 2012-05-04 11:24:50 +02:00
config.yaml Added social buttons 2012-04-10 15:56:34 +02:00
img_latest_blog_dir Lastest blog entry in progress 2011-12-29 17:05:05 +01:00
latest.ymd Last update with complete regen 2012-02-29 22:06:22 +01:00
Rakefile Add some Rake tasks 2010-11-29 16:12:49 +01:00
README.md Reorgarnization 2011-09-14 09:51:52 +02:00
Rules Replaced many erb directives (blogimage, tldr, tlal) 2012-04-26 17:53:19 +02:00

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  → Show time using git last change log
graph.rb     → Use graphviz to draw graphs
helpers.rb   → Some standard nanoc helpers are added
html.rb      → Layout block helper
intenseDebate.rb → IntenseDebate integration
macros.rb    → Macros system (%latex => LaTeX, etc...)
mail.rb      → My uniquely encoded personal email
multiMenu.rb → The machinery for the menu
multi.rb     → The machinery for helping to be multi-language
nanoc_item_conf.rb
repair_html.rb
syntaxColorize.rb
tag.rb
ultraviolet.rb
y.rb