diff --git a/.gitignore b/.gitignore index 8b6742f29..403289dd8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ output/Scratch/fr output/Scratch/en output/Scratch/assets output/Scratch/sitemap.xml +output/index.html tmp/ recupen.pl recupfr.pl +.sass-cache diff --git a/Rules b/Rules index 5a0980e58..fd19960a0 100644 --- a/Rules +++ b/Rules @@ -16,23 +16,6 @@ end route '/css/*' do '/Scratch/assets' + item.identifier.chop + '.css' end -# compile '/css/*', :rep => :mozilla do -# filter :mozilla -# filter :sass -# filter :rainpress -# end -# route '/css/*', :rep => :mozilla do -# '/Scratch/assets' + item.identifier.chop + '_mozilla.css' -# end -# compile '/css/*', :rep => :webkit do -# filter :webkit -# filter :sass -# filter :rainpress -# end -# route '/css/*', :rep => :webkit do -# '/Scratch/assets' + item.identifier.chop + '_webkit.css' -# end - compile '/img/*' do end route '/img/*' do @@ -52,6 +35,13 @@ route '/js/*' do '/Scratch/assets' + item.identifier.chop + '.js' end +compile '/html' do + filter :erb + layout 'default' unless item[:layout] == "none" +end +route '/html' do + '/index.html' +end compile '/html/*' do # item[:extension] returns 'html.erb' for multi-dotted filename diff --git a/config.rb b/config.rb new file mode 100644 index 000000000..79c467ae7 --- /dev/null +++ b/config.rb @@ -0,0 +1,10 @@ +http_path = "/" +project_path = "." +sass_dir = "compass" +css_dir = "output/Scratch/assets/css" +images_dir = "output/Scratch/assets/img" + +# wehn using SCSS: +sass_options = { + :syntax => :scss +} diff --git a/config.yaml b/config.yaml index d39ce2841..47a40d1b8 100644 --- a/config.yaml +++ b/config.yaml @@ -5,8 +5,12 @@ data_sources: type: filesystem_unified output_dir: output ultraviolet_theme: "twilight" +webprefix: "/Scratch" base_url: "http://yannesposito.com" author_uri: "http://yannesposito.com" +rss_uri: + fr: "http://feeds.feedburner.com/yannespositocomfr" + en: "http://feeds.feedburner.com/yannespositocomen" # les langues languages: diff --git a/content/html/index.erb b/content/html/index.erb new file mode 100644 index 000000000..417e19f80 --- /dev/null +++ b/content/html/index.erb @@ -0,0 +1,138 @@ +--- +title: Yann Esposito +noSubMenu: true +no_entete: true +--- +<% content_for :title do %> + + Yann + Esposito + +<% end %> +<% content_for :subtitle do %> + Yogsototh +<% end %> + +
+ Computer, Philosophy & Life. +
++ Password Manager, + Screensavers & + Scientific Applications. +
++ Don't be shy, I'll be happy to talk to you. +
+ ++ Ordinateurs, philosophie & des choses de la vie. +
++ Des économiseurs d'écran, + un gestionnaire de mots de passe & + des applications scientifiques. +
++ Au diable la timidité, n'hésitez pas à me contacter, je serai ravi de vous parler. +
+
+ Doctorat → Post Doc → Consultant
+ Geek → G33K → G33|<
+
+
+ Informatique:
+ TD, TD & solutions
+ BAC+1 à BAC+5
+ Projet réseau anonyme
+ »
+
+