hugosoucycc

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

commit 7f37140754419cdb788b91adb8ca94f2fbf2bb9c
parent 74212679d9ad9985965ede4f8d2a7631fd935fb9
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri, 30 Jun 2017 07:56:52 -0400

Move the nav button in the bottom of the html

Diffstat:
Mtemplates/mustache/curriculum-vitae.mustache | 3+--
Mtemplates/mustache/default-index.mustache | 5++---
Mtemplates/mustache/default.mustache | 5++---
Mtemplates/mustache/index.mustache | 64++++++++++++++++++++++++++++++++++------------------------------
Mtemplates/mustache/note-index.mustache | 6++----
Mtemplates/mustache/note.mustache | 1-
6 files changed, 41 insertions(+), 43 deletions(-)

diff --git a/templates/mustache/curriculum-vitae.mustache b/templates/mustache/curriculum-vitae.mustache @@ -1,14 +1,13 @@ {{> partials/head.mustache }} <body class="cv" id="cv"> - {{> partials/nav.button.mustache }} - <main class="cv__main"> <div class="layout"> {{ main_content }} </div> </main> + {{> partials/nav.button.mustache }} {{> partials/nav.mustache }} {{> partials/bottom-script.mustache }} </body> diff --git a/templates/mustache/default-index.mustache b/templates/mustache/default-index.mustache @@ -1,8 +1,6 @@ {{> partials/head.mustache }} -<body id="list" class="list"> - {{> partials/nav.button.mustache }} - +<body id="list" class="list"> <main> <div class="layout"> {{ main_content }} @@ -13,6 +11,7 @@ </div> </main> + {{> partials/nav.button.mustache }} {{> partials/nav.mustache }} {{> partials/bottom-script.mustache }} </body> diff --git a/templates/mustache/default.mustache b/templates/mustache/default.mustache @@ -1,8 +1,6 @@ {{> partials/head.mustache }} -<body id="single" class="single"> - {{> partials/nav.button.mustache }} - +<body id="single" class="single"> <article class="h-entry hentry"> <div class="layout e-content p-name single"> {{ main_content }} @@ -24,6 +22,7 @@ </footer> </article> + {{> partials/nav.button.mustache }} {{> partials/nav.mustache }} {{> partials/bottom-script.mustache }} </body> diff --git a/templates/mustache/index.mustache b/templates/mustache/index.mustache @@ -1,37 +1,41 @@ {{> partials/head.mustache }} -<body id="index" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/"> - {{> partials/nav.button.mustache }} +<body id="index" + prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/"> + <div class="h-card" + id="hs" + resource="#hs" + typeof="Person" + vocab="http://schema.org/"> + <header> + <div class="layout"> + <h1 class="logo p-name" property="name">{{ SITE_AUTHOR }}</h1> + <h2 class="visuallyhidden p-job-title" property="jobTitle">{{ SITE_AUTHOR_TITLE }}</h2> + <a class="u-url visuallyhidden" href="{{ BASE_URL }}" rel="me">{{ BASE_URL }}</a> + </div> + </header> - <div class="h-card" id="hs" resource="#hs" typeof="Person" vocab="http://schema.org/"> - <header> - <div class="layout"> - <h1 class="logo p-name" property="name">{{ SITE_AUTHOR }}</h1> - <h2 class="visuallyhidden p-job-title" property="jobTitle">{{ SITE_AUTHOR_TITLE }}</h2> - <a class="u-url visuallyhidden" href="{{ BASE_URL }}" rel="me">{{ BASE_URL }}</a> - </div> - </header> + <main> + <div class="layout"> + {{ main_content }} + </div> + </main> - <main> - <div class="layout"> - {{ main_content }} - </div> - </main> + <footer> + <address class="layout"> + <hr/> + Vous pouvez communiquer avec moi par courriel à + l'adresse <a href="mailto:{{ SITE_AUTHOR_EMAIL }}" rel="me"> + <span class="u-email" property="email">{{ SITE_AUTHOR_EMAIL }}</span></a>; + sinon vous pouvez également vous connecter au canal <abbr title="Inter Relay Chat">IRC</abbr> + <a href="irc://#htmlquebec@irc.freenode.net/">#htmlquebec</a> sur Freenode pour + me parler en direct. + </address> + </footer> + </div> - <footer> - <address class="layout"> - <hr/> - Vous pouvez communiquer avec moi par courriel à - l'adresse <a href="mailto:{{ SITE_AUTHOR_EMAIL }}" rel="me"> - <span class="u-email" property="email">{{ SITE_AUTHOR_EMAIL }}</span></a>; - sinon vous pouvez également vous connecter au canal <abbr title="Inter Relay Chat">IRC</abbr> - <a href="irc://#htmlquebec@irc.freenode.net/">#htmlquebec</a> sur Freenode pour - me parler en direct. - </address> - </footer> - </div> - - {{> partials/nav.index.mustache }} - {{> partials/bottom-script.mustache }} + {{> partials/nav.button.mustache }} + {{> partials/nav.index.mustache }} + {{> partials/bottom-script.mustache }} </body> </html> diff --git a/templates/mustache/note-index.mustache b/templates/mustache/note-index.mustache @@ -1,8 +1,6 @@ {{> partials/head.mustache }} <body id="note" class="note"> - {{> partials/nav.button.mustache }} - <main class="note__main"> <div class="layout"> {{ main_content }} @@ -12,8 +10,8 @@ </ol> </div> </main> - - {{> partials/search.mustache }} + + {{> partials/nav.button.mustache }} {{> partials/nav.mustache }} {{> partials/bottom-script.mustache }} </body> diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -77,7 +77,6 @@ </article> </main> - {{> partials/search.mustache }} {{> partials/bottom-script.mustache }} </body> </html>