hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 0993fae0b5f59c7cad3d47cd9251dd658b52da27
parent c83033bfb10f97fa093f8792dd769b774daf596c
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat,  9 Jul 2016 20:39:04 -0400

Add the footer on non homepage pages.

Diffstat:
Mconfig/config.sh | 2++
Mtemplates/mustache/curriculum-vitae.mustache | 3++-
Mtemplates/mustache/default.mustache | 2++
Mtemplates/mustache/note-index.mustache | 2++
Mtemplates/mustache/note.mustache | 2+-
Atemplates/mustache/partials/footer.mustache | 9+++++++++
6 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/config/config.sh b/config/config.sh @@ -4,6 +4,8 @@ export SITE_DOMAINNAME="hugo.soucy.cc" export SITE_URL="http://${SITE_DOMAINNAME}" export SITE_LANGUAGE="fr" +export SITE_LASTMOD_DATE="$(date +%Y-%m-%d)" +export SITE_LASTMOD_DATETIME="$(date +%Y-%m-%dT%H:%M)" # Templates folders export MUSTACHE=templates/mustache diff --git a/templates/mustache/curriculum-vitae.mustache b/templates/mustache/curriculum-vitae.mustache @@ -30,6 +30,7 @@ </main> {{> partials/nav.mustache }} - </div> + + {{> partials/footer.mustache }} </body> </html> diff --git a/templates/mustache/default.mustache b/templates/mustache/default.mustache @@ -10,5 +10,7 @@ </div> {{> partials/nav.mustache }} + + {{> partials/footer.mustache }} </body> </html> diff --git a/templates/mustache/note-index.mustache b/templates/mustache/note-index.mustache @@ -14,5 +14,7 @@ </main> {{> partials/nav.mustache }} + + {{> partials/footer.mustache }} </body> </html> diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -33,6 +33,6 @@ </article> </main> - {{> partials/nav.mustache }} + {{> partials/nav.mustache }} </body> </html> diff --git a/templates/mustache/partials/footer.mustache b/templates/mustache/partials/footer.mustache @@ -0,0 +1,9 @@ +<hr> + +<footer id="footer"> + <address class="layout"> + <p>Page Web conçue par <a rel="author" href="{{ BASE_URL }}#hs">Hugo Soucy</a> &amp; + propulsée par HTML 5, <a href="https://www.w3.org/2012/pyRdfa/extract?uri=http%3A%2F%2Fhugo.soucy.cc%2F%23hs&format=xml&rdfagraph=output&vocab_expansion=false&rdfa_lite=false&embedded_rdf=true&space_preserve=true&vocab_cache=true&vocab_cache_report=false&vocab_cache_refresh=false">RDFa</a> &amp; un générateur de site statique fait maison. <br>Dernière + modification à Québec le <time datetime="{{ SITE_LASTMOD_DATETIME }}">{{ SITE_LASTMOD_DATE }}</time>.</p> + </address> +</footer>