No description
Find a file
Yann Esposito (Yogsototh) 5334c8a3e2 fixing small errors
2013-02-26 12:21:15 +01:00
content fixing small errors 2013-02-26 12:21:15 +01:00
layouts finishing 2013-01-22 22:49:58 +01:00
lib compiled 2013-01-02 16:46:44 +01:00
multi fix a small error 2013-01-30 17:05:54 +01:00
output fixing small errors 2013-02-26 12:21:15 +01:00
resources Better system to display blog in vim 2011-09-30 14:23:27 +02:00
tasks many small fixes 2013-01-22 22:21:59 +01:00
.gems New version 2010-08-25 12:05:23 +02:00
.gitignore Merge branch 'next' into test 2013-01-03 16:28:34 +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 made 3 different css themes 2013-01-22 22:21:47 +01:00
img_latest_blog_dir added latest presentation blog post 2012-12-12 11:09:15 +01:00
latest.ymd added latest presentation blog post 2012-12-12 11:09:15 +01:00
Rakefile Add some Rake tasks 2010-11-29 16:12:49 +01:00
README.md added info to install gems for serving 2013-01-02 16:54:28 +01:00
Rules removed a trash article 2013-01-03 16:21:21 +01:00

yannesposito.com

This is the source code for the yannesposito.com website.

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

Notice, this is not a clean system. Mainly because I have used 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 → Installed by default on most good system
  • A bunch of gems: gem install kramdown builder sass rainpress
  • Optionally if you want to serve locally: gem install unicorn rack rack-contrib rack-rewrite mime-types

Optionally

Here is a short explanation of the role of each file:

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 for most of the 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 files I used and wanted to keep
Rules                → Generation rules
tasks/               → Where I put most of my scripts

Here are features I added:

analytics.rb → Functions to add web analytics code
calendar.rb  → Functions to 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     → Machinery for multi-language support
nanoc_item_conf.rb
repair_html.rb
syntaxColorize.rb
tag.rb
ultraviolet.rb
y.rb