summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2014-05-09 14:30:46 +0200
committerSébastien Dailly <sebastien@chimrod.com>2014-05-12 21:19:34 +0200
commitb9e22325bb46e2611a73e54a3f0ade31800d1bd9 (patch)
tree60b8aa46b47ec7fd4b8c8d62821aeef0b22be1a5
parent23d7fb3e69d06b718a160c3ded763e6e6fbe3240 (diff)
Moved to pelican 3.3
-rw-r--r--content/Informatique/2008-09-15-fail2ban.rst (renamed from content/Informatique/fail2ban.rst)0
-rw-r--r--content/Informatique/2008-11-07-chiffrage.rst (renamed from content/Informatique/chiffrage.rst)0
-rw-r--r--content/Informatique/2009-02-19-wiimote1.rst (renamed from content/Informatique/wiimote1.rst)0
-rw-r--r--content/Informatique/2009-03-11-wiimote.rst (renamed from content/Informatique/wiimote.rst)0
-rw-r--r--content/Informatique/2009-03-11-wiimote_fr.rst (renamed from content/Informatique/wiimote_fr.rst)2
-rw-r--r--content/Informatique/2009-10-18-backup.rst (renamed from content/Informatique/backup.rst)0
-rw-r--r--content/Informatique/2010-02-17-invisible.rst (renamed from content/Informatique/invisible.rst)0
-rw-r--r--content/Informatique/2010-04-08-chroot.rst (renamed from content/Informatique/chroot.rst)12
-rw-r--r--content/Informatique/2010-06-06-awesome.rst (renamed from content/Informatique/awesome.rst)2
-rw-r--r--content/Informatique/2010-06-11-vala.rst (renamed from content/Informatique/vala.rst)0
-rw-r--r--content/Informatique/2010-10-04-rst.rst (renamed from content/Informatique/rst.rst)0
-rw-r--r--content/Informatique/2011-06-07-sftp.rst (renamed from content/Informatique/sftp.rst)0
-rw-r--r--content/Informatique/2012-02-18-elinks.rst (renamed from content/Informatique/elinks.rst)0
-rw-r--r--content/Informatique/2012-03-26-navit.rst (renamed from content/Informatique/navit.rst)8
-rw-r--r--content/Informatique/2012-08-12-apache.rst (renamed from content/Informatique/apache.rst)0
-rw-r--r--content/Informatique/2012-08-18-rstodt.rst (renamed from content/Informatique/rstodt.rst)6
-rw-r--r--content/Informatique/2012-11-09-fonctionnel.rst (renamed from content/Informatique/fonctionnel.rst)0
-rw-r--r--content/Informatique/2013-04-20-gueule1.rst (renamed from content/Informatique/gueule1.rst)4
-rw-r--r--content/Informatique/2013-04-26-insecable.rst (renamed from content/Informatique/insecable.rst)0
-rw-r--r--content/Informatique/2013-05-07-guiderstodt.rst (renamed from content/Informatique/guiderstodt.rst)12
-rw-r--r--content/Informatique/2013-05-08-fcron2cron_en.rst (renamed from content/Informatique/fcron2cron_en.rst)4
-rw-r--r--content/Informatique/2013-05-09-fcron2cron.rst (renamed from content/Informatique/fcron2cron.rst)6
-rw-r--r--content/Informatique/2013-05-23-ocamlfind_en.rst (renamed from content/Informatique/ocamlfind_en.rst)4
-rw-r--r--content/Informatique/2013-05-23-ocamlfind_fr.rst (renamed from content/Informatique/ocamlfind_fr.rst)4
-rw-r--r--content/Informatique/2013-06-02-roi_con.rst (renamed from content/Informatique/roi_con.rst)7
-rw-r--r--content/Informatique/2013-06-08-unplugged.rst (renamed from content/Informatique/unplugged.rst)6
-rw-r--r--content/Informatique/2013-07-21-shifty.rst (renamed from content/Informatique/shifty.rst)8
-rw-r--r--content/Informatique/2013-07-24-projet_libre.rst (renamed from content/Informatique/projet_libre.rst)0
-rw-r--r--content/Informatique/2013-09-13-ocaml_ppx.rst (renamed from content/Informatique/ocaml_ppx.rst)6
-rw-r--r--content/Informatique/2013-10-12-rst_graphviz.rst (renamed from content/Informatique/rst_graphviz.rst)19
-rw-r--r--content/Informatique/2013-12-19-ssl_proxy.rst (renamed from content/Informatique/ssl_proxy.rst)20
-rw-r--r--content/Informatique/2014-02-09-ocaml_gtk.rst (renamed from content/Informatique/ocaml_gtk.rst)6
-rwxr-xr-xcontent/Perso/2009-02-25-net.rst (renamed from content/Perso/net.rst)2
-rwxr-xr-xcontent/Perso/2011-06-09-inculture.rst (renamed from content/Perso/inculture.rst)0
-rwxr-xr-xcontent/Perso/2011-08-29-infrarouge.rst (renamed from content/Perso/infrarouge.rst)3
-rw-r--r--content/Perso/2013-05-25-city.rst (renamed from content/Perso/city.rst)4
-rw-r--r--content/Perso/2013-06-01-marelle.rst (renamed from content/Perso/marelle.rst)8
-rw-r--r--content/Perso/2013-06-22-platine.rst (renamed from content/Perso/platine.rst)12
-rw-r--r--content/Perso/poker.rst16
-rw-r--r--content/Perso/traitement.rst4
-rwxr-xr-xpelicanconf.py19
-rwxr-xr-xtheme/static/images/header.jpgbin19875 -> 15784 bytes
-rw-r--r--theme/static/images/header.xcfbin0 -> 840733 bytes
-rwxr-xr-xtheme/templates/article.html2
-rwxr-xr-xtheme/templates/base.html2
45 files changed, 114 insertions, 94 deletions
diff --git a/content/Informatique/fail2ban.rst b/content/Informatique/2008-09-15-fail2ban.rst
index cee3534..cee3534 100644
--- a/content/Informatique/fail2ban.rst
+++ b/content/Informatique/2008-09-15-fail2ban.rst
diff --git a/content/Informatique/chiffrage.rst b/content/Informatique/2008-11-07-chiffrage.rst
index 1ee5866..1ee5866 100644
--- a/content/Informatique/chiffrage.rst
+++ b/content/Informatique/2008-11-07-chiffrage.rst
diff --git a/content/Informatique/wiimote1.rst b/content/Informatique/2009-02-19-wiimote1.rst
index 94577d4..94577d4 100644
--- a/content/Informatique/wiimote1.rst
+++ b/content/Informatique/2009-02-19-wiimote1.rst
diff --git a/content/Informatique/wiimote.rst b/content/Informatique/2009-03-11-wiimote.rst
index eb6641d..eb6641d 100644
--- a/content/Informatique/wiimote.rst
+++ b/content/Informatique/2009-03-11-wiimote.rst
diff --git a/content/Informatique/wiimote_fr.rst b/content/Informatique/2009-03-11-wiimote_fr.rst
index ca6ca65..d61e6db 100644
--- a/content/Informatique/wiimote_fr.rst
+++ b/content/Informatique/2009-03-11-wiimote_fr.rst
@@ -9,7 +9,7 @@ Controller la wiimote
:tags: Programmation, Wiimote, Python
:slug: controling-the-wiimote-i
:lang: fr
-:logo: static/images/wiican.png
+:logo: /images/wiican.png
:summary: |abstract|
diff --git a/content/Informatique/backup.rst b/content/Informatique/2009-10-18-backup.rst
index 957a42d..957a42d 100644
--- a/content/Informatique/backup.rst
+++ b/content/Informatique/2009-10-18-backup.rst
diff --git a/content/Informatique/invisible.rst b/content/Informatique/2010-02-17-invisible.rst
index dcee14b..dcee14b 100644
--- a/content/Informatique/invisible.rst
+++ b/content/Informatique/2010-02-17-invisible.rst
diff --git a/content/Informatique/chroot.rst b/content/Informatique/2010-04-08-chroot.rst
index d126d99..edec0bc 100644
--- a/content/Informatique/chroot.rst
+++ b/content/Informatique/2010-04-08-chroot.rst
@@ -9,7 +9,7 @@ Mettre en place un environnement sftp chrooté
*Note* : Je propose une autre approche pour mettre en place cette
solution :
-`mettre-en-place-un-environnement-sftp-chroote-2/ <|filename|sftp.rst>`_
+`mettre-en-place-un-environnement-sftp-chroote-2/ <{filename}2011-06-07-sftp.rst>`_
La demande
~~~~~~~~~~
@@ -47,7 +47,7 @@ partie privée de la clef. La clef publique va être enregistrée dans le
fichier ${user}/.ssh/know\_host sur le serveur pour autoriser le client
à s'y connecter. La clef privée sera enregistrée de son côté au format
ppk pour être utilisée par filezilla (il est possible à partir de ce
-fichier de générer une clef privée de type openssh).
+fichier de générer une clef privée de type openssh).
|image1|
@@ -184,7 +184,7 @@ sftp, sans shell de login, donc sans possibilité d'exécuter la commande
directement, il faut que ce soit le serveur sftp qui le configure. J'ai
trouvé énormément de documentations (la plupart des bidouillages) pour
contourner le problème, mais la solution la plus simple vient de la
-dernière version d'OpenSSH (5.4) sortie le 8 mars dernier.
+dernière version d'OpenSSH (5.4) sortie le 8 mars dernier.
Une nouvelle option sur le serveur sftp permet d'indiquer quel est
@@ -225,12 +225,12 @@ aucun risque que celui-ci vienne casser son paramétrage. On peut même
sauvegarder sa clef privée dans son home (le vrai), au cas où il
perdrait le fichier.
-.. |Création de la clef ssh avec puttygen| image:: |filename|../images/puttygen-300x276.jpg
+.. |Création de la clef ssh avec puttygen| image:: {filename}../images/puttygen-300x276.jpg
:class: floatleft
-.. |image1| image:: |filename|../images/filezilla-300x140.jpg
+.. |image1| image:: {filename}../images/filezilla-300x140.jpg
:class: floatright
-.. |image2| image:: |filename|../images/conf-300x175.jpg
+.. |image2| image:: {filename}../images/conf-300x175.jpg
:class: floatleft
diff --git a/content/Informatique/awesome.rst b/content/Informatique/2010-06-06-awesome.rst
index afbb33f..e1f3860 100644
--- a/content/Informatique/awesome.rst
+++ b/content/Informatique/2010-06-06-awesome.rst
@@ -101,5 +101,5 @@ Le fichier : `mymenu.lua <http://chimrod.com/downloads/mymenu.lua>`_
.. |Awesome| image:: http://awesome.naquadah.org/index/320x240-screen.png
:class: floatleft
-.. |Menu pour awesome| image:: |filename|../images/menu.png
+.. |Menu pour awesome| image:: {filename}../images/menu.png
:class: floatright
diff --git a/content/Informatique/vala.rst b/content/Informatique/2010-06-11-vala.rst
index 05aeeb7..05aeeb7 100644
--- a/content/Informatique/vala.rst
+++ b/content/Informatique/2010-06-11-vala.rst
diff --git a/content/Informatique/rst.rst b/content/Informatique/2010-10-04-rst.rst
index faa0280..faa0280 100644
--- a/content/Informatique/rst.rst
+++ b/content/Informatique/2010-10-04-rst.rst
diff --git a/content/Informatique/sftp.rst b/content/Informatique/2011-06-07-sftp.rst
index 4207725..4207725 100644
--- a/content/Informatique/sftp.rst
+++ b/content/Informatique/2011-06-07-sftp.rst
diff --git a/content/Informatique/elinks.rst b/content/Informatique/2012-02-18-elinks.rst
index bac91ba..bac91ba 100644
--- a/content/Informatique/elinks.rst
+++ b/content/Informatique/2012-02-18-elinks.rst
diff --git a/content/Informatique/navit.rst b/content/Informatique/2012-03-26-navit.rst
index 7175524..c5d0d6d 100644
--- a/content/Informatique/navit.rst
+++ b/content/Informatique/2012-03-26-navit.rst
@@ -7,7 +7,7 @@ Un gps libre avec Navit
:date: 2012-03-26
:tags: Libre, DIY
:summary: |summary1| |summary2|
-:logo: static/images/navit.png
+:logo: /images/navit.png
.. default-role:: literal
@@ -116,9 +116,10 @@ ne voyiez rien car Navit n'est pas forcément positionné chez vous : on va donc
chercher dans les villes une proche de chez nous et choisir de l'afficher sur
la carte.)
-.. image:: |filename|../images/Capture-Navit-e1332787251467.png
+.. image:: {filename}../images/Capture-Navit-e1332787251467.png
:width: 400
:class: center
+ :alt: menus de navit
On peut déjà commencer à calculer les trajets et essayer différents habillages.
Sur le wiki vous pouvez télécharger des thèmes déjà préparés qu'il suffit
@@ -156,9 +157,10 @@ consommation mémoire.)
support : si l'on dispose d'un portable avec écran brillant, on sera
forcément gêné lors du suivi de la navigation.
-.. image:: |filename|../images/Capture-Navit-1-e1332786990864.png
+.. image:: {filename}../images/Capture-Navit-1-e1332786990864.png
:width: 400
:class: center
+ :alt: centre de Rennes
OpenstreetMap
diff --git a/content/Informatique/apache.rst b/content/Informatique/2012-08-12-apache.rst
index 1101266..1101266 100644
--- a/content/Informatique/apache.rst
+++ b/content/Informatique/2012-08-12-apache.rst
diff --git a/content/Informatique/rstodt.rst b/content/Informatique/2012-08-18-rstodt.rst
index 9e9e67d..f99b5bc 100644
--- a/content/Informatique/rstodt.rst
+++ b/content/Informatique/2012-08-18-rstodt.rst
@@ -6,10 +6,10 @@ Coloration syntaxique avec rst2odt
:date: 2012-08-18
:tags: Libre, reStructuredText
-:logo: static/images/kea.jpg
+:logo: /images/kea.jpg
:summary: |summary|
-.. figure:: |filename|/images/kea.jpg
+.. figure:: {filename}/images/kea.jpg
:figwidth: 75
:figclass: floatleft
:alt: Arbre
@@ -60,7 +60,7 @@ Et voilà, ça s'utilise comme ça :
$ python bin/rst2odt.py --strip-comments --stylesheet=resources/template.odt\
--add-syntax-highlight source.rst source.odt
-.. _article précédent: |filename|rst.rst
+.. _article précédent: {filename}2010-10-04-rst.rst
.. _rst2pdf: http://rst2pdf.ralsina.com.ar/
.. _ici: http://chimrod.com/downloads/rst2odt.py
.. _inclusion de fichier: http://rst2pdf.ralsina.com.ar/handbook.html#file-inclusion
diff --git a/content/Informatique/fonctionnel.rst b/content/Informatique/2012-11-09-fonctionnel.rst
index 06d75d0..06d75d0 100644
--- a/content/Informatique/fonctionnel.rst
+++ b/content/Informatique/2012-11-09-fonctionnel.rst
diff --git a/content/Informatique/gueule1.rst b/content/Informatique/2013-04-20-gueule1.rst
index b92a0d7..6fa3f04 100644
--- a/content/Informatique/gueule1.rst
+++ b/content/Informatique/2013-04-20-gueule1.rst
@@ -6,7 +6,7 @@ Essai raté d'un plugin gedit
:date: 20/04/2013
:tags: Programmation, Libre, Humeur, gtk
-:logo: static/images/gedit.png
+:logo: /images/gedit.png
.. default-role:: literal
@@ -62,4 +62,4 @@ passer l'envie de me plonger dans du dev gnome !
.. _GtkSourceView: https://developer.gnome.org/gtksourceview/stable/GtkSourceView.html
.. _pango: https://developer.gnome.org/pango/stable/pango-Text-Attributes.html
-.. _Vala: |filename|../Informatique/vala.rst
+.. _Vala: {filename}../Informatique/2010-06-11-vala.rst
diff --git a/content/Informatique/insecable.rst b/content/Informatique/2013-04-26-insecable.rst
index dd7734c..dd7734c 100644
--- a/content/Informatique/insecable.rst
+++ b/content/Informatique/2013-04-26-insecable.rst
diff --git a/content/Informatique/guiderstodt.rst b/content/Informatique/2013-05-07-guiderstodt.rst
index d4105a3..f5181fc 100644
--- a/content/Informatique/guiderstodt.rst
+++ b/content/Informatique/2013-05-07-guiderstodt.rst
@@ -7,10 +7,10 @@ Guide d'utilisation de rst2odt
:date: 2013-05-07
:tags: Libre, reStructuredText
:summary: |summary|
-:logo: static/images/rstodt/writing_75.jpg
+:logo: /images/rstodt/writing_75.jpg
-.. figure:: |filename|/images/rstodt/writing.jpg
+.. figure:: {filename}/images/rstodt/writing.jpg
:figwidth: 150
:figclass: floatright
:alt: Bureau
@@ -21,7 +21,7 @@ Guide d'utilisation de rst2odt
|summary|
-
+
.. |summary| replace::
J'ai déjà souvent abordé le langage reStructuredText_ dans mes articles, et
@@ -66,7 +66,7 @@ On va se créer un Makefile pour automatiser la génération du document :
resources/template.odt: resources/template.rst
rst2odt resources/template.rst resources/template.odt
-
+
%.odt: %.rst resources/template.odt
rst2odt --create-links --strip-comments --stylesheet=resources/template.odt --add-syntax-highlight $< $@
cp $@ resources/templates.odt
@@ -79,7 +79,7 @@ J'ai créé une archive_ qu'il vous suffit de décompresser pour pouvoir
commencer à travailler ; elle comprend le fichier `makeFile` présenté ci-dessus,
ainsi qu'un template contenant des éléments de base.
-.. _archive: |filename|/resources/rstodt/rst.zip
+.. _archive: {filename}/resources/rstodt/rst.zip
Utiliser les templates
----------------------
@@ -159,6 +159,6 @@ donne de meilleurs résultats que rst2pdf.
.. _container: http://docutils.sourceforge.net/docs/user/odt.html#the-container-directive
.. _raw: http://docutils.sourceforge.net/docs/user/odt.html#the-raw-directive
-.. _ajouter la coloration syntaxique: |filename|rstodt.rst
+.. _ajouter la coloration syntaxique: {filename}2012-08-18-rstodt.rst
.. _AJ Cann: http://www.flickr.com/photos/ajc1/3531532114/in/photostream/
diff --git a/content/Informatique/fcron2cron_en.rst b/content/Informatique/2013-05-08-fcron2cron_en.rst
index 1fe9e54..b39916e 100644
--- a/content/Informatique/fcron2cron_en.rst
+++ b/content/Informatique/2013-05-08-fcron2cron_en.rst
@@ -8,14 +8,14 @@ From fcron to cron
:date: 2013-05-08
:tags: Libre, Administration
:summary: |summary|
-:logo: static/images/time/time_75.jpg
+:logo: /images/time/time_75.jpg
:lang: en
:slug: fcron-to-cron
:translation: true
:status: draft
-.. figure:: |filename|/images/time/time.jpg
+.. figure:: {filename}/images/time/time.jpg
:figwidth: 150
:figclass: floatleft
:alt: Pavement
diff --git a/content/Informatique/fcron2cron.rst b/content/Informatique/2013-05-09-fcron2cron.rst
index 031e28d..f48821a 100644
--- a/content/Informatique/fcron2cron.rst
+++ b/content/Informatique/2013-05-09-fcron2cron.rst
@@ -8,12 +8,12 @@ De fcron à cron
:date: 2013-05-09
:tags: Libre, Python, Administration
:summary: |summary|
-:logo: static/images/time/time_75.jpg
+:logo: /images/time/time_75.jpg
:lang: fr
:slug: fcron-to-cron
-.. figure:: |filename|/images/time/time.jpg
+.. figure:: {filename}/images/time/time.jpg
:figwidth: 150
:figclass: floatleft
:alt: Pavement
@@ -59,7 +59,7 @@ n'enregistre rien sur le système. Le script va lire les fcrontab enregistrées
dans le répertoire `/var/spool/fcron/` et génère en sortie les crontab
correspondantes pour chacun de ces utilisateurs.
-.. _script python: |filename|/resources/fcron2cron.py
+.. _script python: {filename}/resources/fcron2cron.py
Usage
~~~~~
diff --git a/content/Informatique/ocamlfind_en.rst b/content/Informatique/2013-05-23-ocamlfind_en.rst
index 292b19f..a725a39 100644
--- a/content/Informatique/ocamlfind_en.rst
+++ b/content/Informatique/2013-05-23-ocamlfind_en.rst
@@ -8,11 +8,11 @@ A local repository for ocaml
:date: 2013-05-23
:tags: ocaml
:summary: |summary|
-:logo: static/images/ocaml/camel.jpg
+:logo: /images/ocaml/camel.jpg
:slug: un-depot-local-pour-ocaml
:lang: en
-.. figure:: |filename|/images/ocaml/camel_medium.jpg
+.. figure:: {filename}/images/ocaml/camel_medium.jpg
:figwidth: 150
:figclass: floatleft
:alt: Pavement
diff --git a/content/Informatique/ocamlfind_fr.rst b/content/Informatique/2013-05-23-ocamlfind_fr.rst
index 93edd40..4cf81fd 100644
--- a/content/Informatique/ocamlfind_fr.rst
+++ b/content/Informatique/2013-05-23-ocamlfind_fr.rst
@@ -8,11 +8,11 @@ Un dépôt local pour ocaml
:date: 2013-05-23
:tags: ocaml
:summary: |summary|
-:logo: static/images/ocaml/camel.jpg
+:logo: /images/ocaml/camel.jpg
:slug: un-depot-local-pour-ocaml
:lang: fr
-.. figure:: |filename|/images/ocaml/camel_medium.jpg
+.. figure:: {filename}/images/ocaml/camel_medium.jpg
:figwidth: 150
:figclass: floatleft
:alt: Pavement
diff --git a/content/Informatique/roi_con.rst b/content/Informatique/2013-06-02-roi_con.rst
index 2d7af8a..e1f4d36 100644
--- a/content/Informatique/roi_con.rst
+++ b/content/Informatique/2013-06-02-roi_con.rst
@@ -9,11 +9,12 @@ Internet, la guerre des médiacultures
:tags: Libre, Infowar
:summary: Les entreprises pourront toujours tenter de brider internet, la
créativité des internautes sera toujours plus forte, plus réactive.
-:logo: static/images/roi/roi_75.jpeg
+:logo: /images/roi/roi_75.jpeg
:lang: fr
-.. figure:: |filename|/images/roi/roi_150.jpeg
+.. figure:: {filename}/images/roi/roi_150.jpeg
:class: floatright
+ :alt: Un roi playmobil
Une petite histoire
===================
@@ -78,7 +79,7 @@ entre `stratégie` et `tactiques`. Là où la stratégie est planifiée, la tact
faut utiliser, vigilante, les failles que les conjonctures particulières
ouvrent dans la surveillance du pouvoir propriétaire. Elle y braconne. Elle y
crée des surprises. Il lui est possible d'êre là où l'on ne l'attend pas. Elle
-est ruse.`
+est ruse.`
Les combats qui se jouent aujourd'hui sur internet donnent un sens très
actuels à ces mots. Les internautes ne pourront jamais faire face à l'armada
diff --git a/content/Informatique/unplugged.rst b/content/Informatique/2013-06-08-unplugged.rst
index c54f8c6..4143ed0 100644
--- a/content/Informatique/unplugged.rst
+++ b/content/Informatique/2013-06-08-unplugged.rst
@@ -7,9 +7,9 @@ CS Unplugged
:date: 2013-06-08
:tags: Libre, Livre
:summary: |summary|
-:logo: static/images/unplugged/unplugged.jpg
+:logo: /images/unplugged/unplugged.jpg
-.. image:: |filename|/images/unplugged/together.gif
+.. image:: {filename}/images/unplugged/together.gif
:width: 320
:class: floatright
:alt: Together with computer
@@ -42,7 +42,7 @@ trouve que ce support de cours est intéressant à plus d'un titre :
.. _téléchargeable sur le site: http://csunplugged.org/open-source-edition-ms-word
-.. image:: |filename|/images/unplugged/parity.jpg
+.. image:: {filename}/images/unplugged/parity.jpg
:class: floatleft
:alt: Together with computer
diff --git a/content/Informatique/shifty.rst b/content/Informatique/2013-07-21-shifty.rst
index b542d46..82d9206 100644
--- a/content/Informatique/shifty.rst
+++ b/content/Informatique/2013-07-21-shifty.rst
@@ -8,9 +8,9 @@ Astuces pour awesome
:date: 2013-07-21
:tags: Libre, awesome
:summary: |summary|
-:logo: static/images/awesome/tiling.jpg
+:logo: /images/awesome/tiling.jpg
-.. figure:: |filename|/images/awesome/tiling.jpg
+.. figure:: {filename}/images/awesome/tiling.jpg
:figwidth: 150
:figclass: floatleft
:alt: Pavement
@@ -51,7 +51,7 @@ fenêtre.
.. _Gnome Shell: https://fr.wikipedia.org/wiki/GNOME_Shell
.. _wiki: http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome/fr
-.. image:: |filename|/images/awesome/menu.jpg
+.. image:: {filename}/images/awesome/menu.jpg
:class: floatright
:alt: Session menu
@@ -109,7 +109,7 @@ déjà existant pour lui ajouter un évènement sur le clic de la souris :
Utiliser les touches média
==========================
-.. image:: |filename|/images/awesome/medias.png
+.. image:: {filename}/images/awesome/medias.png
:class: floatleft
:alt: Media keys
diff --git a/content/Informatique/projet_libre.rst b/content/Informatique/2013-07-24-projet_libre.rst
index 50d8f2a..50d8f2a 100644
--- a/content/Informatique/projet_libre.rst
+++ b/content/Informatique/2013-07-24-projet_libre.rst
diff --git a/content/Informatique/ocaml_ppx.rst b/content/Informatique/2013-09-13-ocaml_ppx.rst
index 84e8a5d..b6a0c10 100644
--- a/content/Informatique/ocaml_ppx.rst
+++ b/content/Informatique/2013-09-13-ocaml_ppx.rst
@@ -8,9 +8,9 @@ ocamlc -ppx
:date: 2013-09-13
:tags: ocaml, Programmation
:summary: |summary|
-:logo: static/images/ocaml/recursion_75.jpg
+:logo: /images/ocaml/recursion_75.jpg
-.. figure:: |filename|/images/ocaml/recursion.jpg
+.. figure:: {filename}/images/ocaml/recursion.jpg
:figwidth: 180
:figclass: floatright
:alt: Recursivité
@@ -94,4 +94,4 @@ que pour ça, je trouve ça fun ! |:-)|
.. _très amusantes: https://bitbucket.org/camlspotter/compiler-libs-hack
-.. |:-)| image:: |filename|/images/icons/face-smile.png
+.. |:-)| image:: {filename}/images/icons/face-smile.png
diff --git a/content/Informatique/rst_graphviz.rst b/content/Informatique/2013-10-12-rst_graphviz.rst
index 692a86d..82b9c7b 100644
--- a/content/Informatique/rst_graphviz.rst
+++ b/content/Informatique/2013-10-12-rst_graphviz.rst
@@ -6,7 +6,7 @@ Ajouter graphviz dans les documents restructuredText
:date: 2013-10-12
:tags: Libre, reStructuredText
-:logo: static/images/graphviz/graphe.png
+:logo: /images/graphviz/graphe.png
:summary: |summary|
.. default-role:: literal
@@ -14,7 +14,7 @@ Ajouter graphviz dans les documents restructuredText
:2014-05-05: Je met l'article à jour avec la dernière version du script que
j'utilise. J'en profite pour donner un peu plus d'exemples.
-.. image:: |filename|/images/graphviz/graphe.png
+.. image:: {filename}/images/graphviz/graphe.png
:class: floatleft
:scale: 50
:alt: Graphe
@@ -80,7 +80,8 @@ de la génération du document. Pour ça, j'ai créé une nouvelle directive_,
ceci est une légende
-
- .. figure:: |filename|/images/graphviz/graphe.png
+ .. figure:: {filename}/images/graphviz/graphe.png
+ :alt: graphe orienté avec légende
ceci est une légende
@@ -97,7 +98,9 @@ de la génération du document. Pour ça, j'ai créé une nouvelle directive_,
c -- b
-
- .. figure:: |filename|/images/graphviz/no.png
+ .. figure:: {filename}/images/graphviz/no.png
+ :alt: graphe non orienté
+
* - Utiliser des options
-
.. code-block:: rst
@@ -113,7 +116,9 @@ de la génération du document. Pour ça, j'ai créé une nouvelle directive_,
c -> b
-
- .. figure:: |filename|/images/graphviz/options.png
+ .. figure:: {filename}/images/graphviz/options.png
+ :alt: graphe horizontal
+
Pour ceux que ça intéresse, voici le script pour rst2html_ et rst2latex_. Le
code est similaire, cela ajoute une nouvelle directive qui génère le document à
@@ -127,5 +132,5 @@ avec `pdflatex`.
C'est tout, le langage est tellement simple que ça serait dommage de ne pas en
profiter !
-.. _rst2html: |filename|/resources/rst_graphviz/rst2html.py
-.. _rst2latex: |filename|/resources/rst_graphviz/rst2latex.py
+.. _rst2html: {filename}/resources/rst_graphviz/rst2html.py
+.. _rst2latex: {filename}/resources/rst_graphviz/rst2latex.py
diff --git a/content/Informatique/ssl_proxy.rst b/content/Informatique/2013-12-19-ssl_proxy.rst
index c57f27e..b72f1ab 100644
--- a/content/Informatique/ssl_proxy.rst
+++ b/content/Informatique/2013-12-19-ssl_proxy.rst
@@ -8,13 +8,13 @@ Vérifier un certificat SSL en entreprise
:date: 2013-12-19
:tags: ViePrivée
:summary: |summary|
-:logo: static/images/chiffer/pgp_75.jpg
+:logo: /images/chiffer/pgp_75.jpg
-.. figure:: |filename|/images/chiffer/pgp_150.jpg
+.. figure:: {filename}/images/chiffer/pgp_150.jpg
:figwidth: 150
:figclass: floatright
- :alt: Pavement
+ :alt: Chiffrement
Image : `Elsamuko`_ (creativecommons_)
@@ -85,7 +85,7 @@ On se crée la connexion avec la commande suivante :
.. code-block:: console
- $ socat TCP4-LISTEN:2022 "PROXY:site.test:443 | TCP:proxy.test:8080"
+ $ socat TCP4-LISTEN:2022 "PROXY:proxy.test:site.test:443,proxyport=8080"
La connexion n'est pas persistante, elle sera fermée dès sa première
utilisation, cela permet de chaîner les deux commandes directement :
@@ -96,8 +96,10 @@ utilisation, cela permet de chaîner les deux commandes directement :
if [[ ! -z $https_proxy ]]; then
proxy=`echo ${https_proxy} | sed -e 's|http://||' -`
- socat TCP4-LISTEN:2022 "PROXY:$1 | TCP:${proxy}" &
- echo -n | openssl s_client -connect localhost:2022 | openssl x509 -noout -md5 -fingerprint
+ host=$(echo ${proxy} | cut -d: -f 1)
+ port=$(echo ${proxy} | cut -d: -f 2)
+ echo using proxy : ${host}:${port}
+ socat TCP4-LISTEN:2022 "PROXY:${host}:$1,proxyport=${port}" & echo -n | openssl s_client -connect localhost:2022 | openssl x509 -noout -sha1 -fingerprint
else
echo -n | openssl s_client -connect $1 | openssl x509 -noout -md5 -fingerprint
fi
@@ -108,9 +110,6 @@ enregistrez ce script sous `check_ssl.sh` puis lancez cette commande ainsi :
$ check.sh site.test:443
depth=0 C = FR, ST = Some-State, O = Internet Widgits Pty Ltd, CN = site.test, emailAddress = contact@site.test
- verify error:num=20:unable to get local issuer certificate
- verify return:1
- depth=0 C = FR, ST = Some-State, O = Internet Widgits Pty Ltd, CN = site.test, emailAddress = contact@site.test
verify error:num=21:unable to verify the first certificate
verify return:1
DONE
@@ -123,6 +122,7 @@ vérifier le certificat.
Vous pouvez le comparer avec ce que vous affiche le navigateur pour vous
assurer qu'il est cohérent :
-.. image:: |filename|/images/chiffer/certificat.jpg
+.. image:: {filename}/images/chiffer/certificat.jpg
+ :alt: Vue du certificat
N'oubliez pas, on n'est jamais trop prudent !
diff --git a/content/Informatique/ocaml_gtk.rst b/content/Informatique/2014-02-09-ocaml_gtk.rst
index b124cb5..09f1aee 100644
--- a/content/Informatique/ocaml_gtk.rst
+++ b/content/Informatique/2014-02-09-ocaml_gtk.rst
@@ -8,11 +8,11 @@ Trois manière d'utiliser Gtk avec OCaml
:date: 2014-02-09
:tags: ocaml, gtk
:summary: |summary|
-:logo: static/images/ocaml/camel_75.jpg
+:logo: /images/ocaml/camel_75.jpg
.. default-role:: literal
-.. figure:: |filename|/images/ocaml/camel_2.jpg
+.. figure:: {filename}/images/ocaml/camel_2.jpg
:figwidth: 150
:figclass: floatleft
:alt: Pavement
@@ -86,7 +86,7 @@ l'interface. Cela permet de gagner du temps et d'éviter d'écrire le code
nécessaire pour construire son interface, on se concentre sur les actions
à exécuter lorsque l'utilisateur interagit.
-.. image:: |filename|/images/glade.jpg
+.. image:: {filename}/images/glade.jpg
:class: center
:alt: Utilisation de glade.
diff --git a/content/Perso/net.rst b/content/Perso/2009-02-25-net.rst
index 8b46dae..c181414 100755
--- a/content/Perso/net.rst
+++ b/content/Perso/2009-02-25-net.rst
@@ -6,7 +6,7 @@ Le net en france
:date: 2009-02-25
:tags: Humeur, Infowar, ViePrivée
-:logo: static/images/blackout.png
+:logo: /images/blackout.png
:summary: |summary|
.. image:: http://media.laquadrature.net/Quadrature_black-out_HADOPI_468x60px.gif
diff --git a/content/Perso/inculture.rst b/content/Perso/2011-06-09-inculture.rst
index eaabb59..eaabb59 100755
--- a/content/Perso/inculture.rst
+++ b/content/Perso/2011-06-09-inculture.rst
diff --git a/content/Perso/infrarouge.rst b/content/Perso/2011-08-29-infrarouge.rst
index 988cbc2..28ad025 100755
--- a/content/Perso/infrarouge.rst
+++ b/content/Perso/2011-08-29-infrarouge.rst
@@ -15,5 +15,6 @@ le ciel seront sombre, alors que les feuilles et l'herbe seront très clairs.
Alors que les beaux jours reviennent, voici la photo d'un jardin d'enfants à midi :
-.. image:: |filename|../images/2011avril23_120334.jpg
+.. image:: {filename}../images/2011avril23_120334.jpg
:width: 650
+ :alt: photo infrarouge
diff --git a/content/Perso/city.rst b/content/Perso/2013-05-25-city.rst
index e67907b..37bf37d 100644
--- a/content/Perso/city.rst
+++ b/content/Perso/2013-05-25-city.rst
@@ -7,10 +7,10 @@ The city and the city
:date: 2013-05-25
:tags: Livre
-:logo: static/images/book.png
+:logo: /images/book.png
:summary: |summary|
-.. image:: |filename|/images/the_city_the_city.jpg
+.. image:: {filename}/images/the_city_the_city.jpg
:width: 150
:class: floatright
:alt: Couverture du livre
diff --git a/content/Perso/marelle.rst b/content/Perso/2013-06-01-marelle.rst
index 766f780..b53ea88 100644
--- a/content/Perso/marelle.rst
+++ b/content/Perso/2013-06-01-marelle.rst
@@ -7,10 +7,10 @@ La marelle romaine : les solutions
:date: 2013-06-01
:tags: Jeux
-:logo: static/images/marelle/logo.jpg
+:logo: /images/marelle/logo.jpg
:summary: |summary|
-.. image:: |filename|/images/marelle/extract.jpeg
+.. image:: {filename}/images/marelle/extract.jpeg
:width: 150
:class: floatleft
:alt: Graphique
@@ -44,9 +44,9 @@ Cliquez sur l'image pour la voir en taille réelle :
|visualisation|__
-.. |visualisation| image:: |filename|/images/marelle/mini_jeu.jpeg
+.. |visualisation| image:: {filename}/images/marelle/mini_jeu.jpeg
-.. __: |filename|/images/marelle/jeu.jpg
+.. __: {filename}/images/marelle/jeu.jpg
A strange game. The only winning move is not to play
====================================================
diff --git a/content/Perso/platine.rst b/content/Perso/2013-06-22-platine.rst
index 695a8e9..2cad929 100644
--- a/content/Perso/platine.rst
+++ b/content/Perso/2013-06-22-platine.rst
@@ -7,10 +7,10 @@
:date: 2013-06-22
:tags: Libre, DIY
-:logo: static/images/platine/tete_75.jpeg
+:logo: /images/platine/tete_75.jpeg
:summary: |summary|
-.. image:: |filename|/images/platine/lecture_150.jpg
+.. image:: {filename}/images/platine/lecture_150.jpg
:width: 150
:class: floatright
:alt: Tête de lecture
@@ -66,7 +66,7 @@ inciter à trop jouer avec votre système…
Branchement
===========
-.. image:: |filename|/images/platine/jack2rca.jpg
+.. image:: {filename}/images/platine/jack2rca.jpg
:class: floatleft
:alt: jack to rca
@@ -76,7 +76,7 @@ en photo. Pour ma part, je l'ai trouvé, non pas chez les vendeurs de disques,
mais dans une grande surface de bricolage, sinon, vous pourrez le commander
facilement sur internet.
-.. image:: |filename|/images/platine/line-in.jpg
+.. image:: {filename}/images/platine/line-in.jpg
:class: floatright
:alt: line-in
@@ -107,7 +107,7 @@ l'`égalisation RIAA`_
Lors de la lecture nous allons avoir besoin d'effectuer la coure de traitement
inverse pour restaurer le son :
-.. image:: |filename|/images/platine/riaa.jpg
+.. image:: {filename}/images/platine/riaa.jpg
:alt: La courbe riaa
Pulseaudio ne sait pas égaliser le son nativement, mais il est possible de
@@ -119,7 +119,7 @@ bordelique_ sous linux ? |:-)|)
.. _ladspa: http://www.ladspa.org/
.. _bordelique: http://blogs.adobe.com/penguinswf/2007/05/welcome_to_the_jungle.html
-.. |:-)| image:: |filename|/images/icons/face-smile.png
+.. |:-)| image:: {filename}/images/icons/face-smile.png
Le plugin que nous allons utiliser est celui de l'égaliseur multibande, son
petit nom étant `mbeq_1197`. (Dans Debian, vous le trouverez dans le paquet
diff --git a/content/Perso/poker.rst b/content/Perso/poker.rst
index c5c0a7e..44a011b 100644
--- a/content/Perso/poker.rst
+++ b/content/Perso/poker.rst
@@ -193,28 +193,28 @@ toute nouvelle idée !
.. _git: http://git.chimrod.com/?p=poker-evaluation.git;a=summary
-.. |As| image:: |filename|../images/poker/as.jpeg
+.. |As| image:: {filename}../images/poker/as.jpeg
:width: 30
-.. |Ad| image:: |filename|../images/poker/ad.jpeg
+.. |Ad| image:: {filename}../images/poker/ad.jpeg
:width: 30
-.. |Ac| image:: |filename|../images/poker/ac.jpeg
+.. |Ac| image:: {filename}../images/poker/ac.jpeg
:width: 30
-.. |Ah| image:: |filename|../images/poker/ah.jpeg
+.. |Ah| image:: {filename}../images/poker/ah.jpeg
:width: 30
-.. |Ks| image:: |filename|../images/poker/ks.jpeg
+.. |Ks| image:: {filename}../images/poker/ks.jpeg
:width: 30
-.. |Kc| image:: |filename|../images/poker/kc.jpeg
+.. |Kc| image:: {filename}../images/poker/kc.jpeg
:width: 30
-.. |Kd| image:: |filename|../images/poker/kd.jpeg
+.. |Kd| image:: {filename}../images/poker/kd.jpeg
:width: 30
-.. |Kh| image:: |filename|../images/poker/kh.jpeg
+.. |Kh| image:: {filename}../images/poker/kh.jpeg
:width: 30
.. |nbsp| unicode:: 0xA0
diff --git a/content/Perso/traitement.rst b/content/Perso/traitement.rst
index d42063c..8830404 100644
--- a/content/Perso/traitement.rst
+++ b/content/Perso/traitement.rst
@@ -8,7 +8,7 @@ Cachez-moi ce menu que je ne saurais voir
:date: 18/05/2013
:tags: Humeur
:summary: |summary|
-:logo: static/images/traitement/logo.jpg
+:logo: /images/traitement/logo.jpg
.. figure:: http://farm1.staticflickr.com/214/4555895229_880a76beb7_q.jpg
@@ -41,7 +41,7 @@ de style sur le texte.
tout ! Pourquoi ? Parce que ces boutons sont utilisés la plupart à tort et
à travers, et compliquent la tâche des usagers plus qu'ils la facilitent.
-.. image:: |filename|../images/traitement/fautif.png
+.. image:: {filename}../images/traitement/fautif.png
:alt: Le menu coupable
Le nombre de fois où il est légitime d'utiliser ces boutons ne justifient au
diff --git a/pelicanconf.py b/pelicanconf.py
index c9b1cc2..9ded28c 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -31,15 +31,26 @@ DEFAULT_PAGINATION = FEED_MAX_ITEMS
ARTICLE_URL = u'{date:%Y}/{date:%m}/{slug}/'
ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html'
+STATIC_SAVE_AS=u'{path}'
+
STATIC_PATHS = ['images', 'resources']
THEME = 'theme'
TYPOGRIFY = True
TEMPLATE_PAGES = {'../extras/404.html': '404.html'}
-FILES_TO_COPY = (
- ('../extras/htaccess', '.htaccess'),
- ('../extras/robots.txt', 'robots.txt'),
-)
+
+STATIC_PATHS = [
+ 'images',
+ 'resources',
+ '../extras/robots.txt',
+ '../extras/htaccess',
+ ]
+
+EXTRA_PATH_METADATA = {
+ '../extras/robots.txt': {'path': 'robots.txt'},
+ '../extras/htaccess': {'path': '.htaccess'},
+ }
+
PLUGIN_PATH = 'plugins'
diff --git a/theme/static/images/header.jpg b/theme/static/images/header.jpg
index 8e96d02..7b6597d 100755
--- a/theme/static/images/header.jpg
+++ b/theme/static/images/header.jpg
Binary files differ
diff --git a/theme/static/images/header.xcf b/theme/static/images/header.xcf
new file mode 100644
index 0000000..17bcaae
--- /dev/null
+++ b/theme/static/images/header.xcf
Binary files differ
diff --git a/theme/templates/article.html b/theme/templates/article.html
index a23074c..562b98a 100755
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -37,7 +37,7 @@
var disqus_identifier = "{{ article.url }}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
+ dsq.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 7024c58..59e4619 100755
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -4,7 +4,7 @@
<head>
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="/theme/css/{{ CSS_FILE }}" type="text/css" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
<link href="{{ SITEURL }}/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} - Flux ATOM" />
{% if tag %}
{% if TAG_FEED_ATOM %}