fakestache-ssg

[Archived] A static site generator in Bash 4.
Log | Files | Refs | Submodules | README

commit f3905ccc929737c89182bdcfcc3b608f97953f4f
parent a55cb3d193b3065baba8dabd4129063033a12351
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Tue,  1 Nov 2016 13:34:35 -0400

Purge the *templates/mustache/* folder.

Diffstat:
Dtemplates/mustache/curriculum-vitae.mustache | 36------------------------------------
Dtemplates/mustache/note-index.inc.mustache | 32--------------------------------
Dtemplates/mustache/note-index.mustache | 20--------------------
Dtemplates/mustache/note.mustache | 59-----------------------------------------------------------
Dtemplates/mustache/partials/footer.mustache | 8--------
Dtemplates/mustache/partials/nav.button.mustache | 13-------------
Dtemplates/mustache/partials/nav.close.mustache | 9---------
Dtemplates/mustache/partials/nav.index.mustache | 27---------------------------
Dtemplates/mustache/partials/nav.mustache | 32--------------------------------
9 files changed, 0 insertions(+), 236 deletions(-)

diff --git a/templates/mustache/curriculum-vitae.mustache b/templates/mustache/curriculum-vitae.mustache @@ -1,36 +0,0 @@ -{{> partials/head.mustache }} - -<body class="cv" id="cv"> - {{> partials/nav.button.mustache }} - - <header class="cv__banner"> - <div class="layout"> - <h1 class="cv__title"> - <span class="visuallyhidden">Curriculum vitæ de</span> - <span class="logo">{{ SITE_AUTHOR }},</span> - </h1> - - <p class="cv__infos"> - <strong>{{ SITE_AUTHOR_TITLE }}</strong><br> - <strong>{{ SITE_AUTHOR_LOCALITY }}</strong>, {{ SITE_AUTHOR_REGION }}<br> - Téléphone: <a href="tel:+1{{ SITE_AUTHOR_PHONE }}">{{ SITE_AUTHOR_PHONE }}</a><br> - Courriel: <a href="mailto:{{ SITE_AUTHOR_EMAIL }}">{{ SITE_AUTHOR_EMAIL }}</a> - </p> - </div> - </header> - - <main class="cv__main"> - <div class="layout"> - $body$ - - <div class="cv__list"> - $for(include-after)$ - $include-after$ - $endfor$ - </div> - </div> - </main> - - {{> partials/nav.mustache }} -</body> -</html> diff --git a/templates/mustache/note-index.inc.mustache b/templates/mustache/note-index.inc.mustache @@ -1,32 +0,0 @@ -<li class="note__item h-entry hentry as-note"> - $if(citeurl)$ - <blockquote class="note__blockquote p-name e-content"> - <div class="note__blockquote__quote">$body$</div> - $if(cite)$ - <footer class="note__blockquote__footer"> - &mdash; - <cite class="note__blockquote__cite"> - <a href="$citeurl$" rel="external nofollow"> - $cite$ - </a> - </cite> - </footer> - $endif$ - </blockquote> - $else$ - <div class="note__blocknote p-name e-content"> - $body$ - </div> - $endif$ - <footer class="note__footer"> - Publié le - <a class="note__link u-url u-uid u-syndication" - $if(url)$ - href="$url$" - $endif$ - rel="syndication"> - <time class="dt-published dt-updated" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> - </a>. - <span class="visuallyhidden">par <em class="p-author author">{{ SITE_AUTHOR }}</em></span> - </footer> -</li> diff --git a/templates/mustache/note-index.mustache b/templates/mustache/note-index.mustache @@ -1,20 +0,0 @@ -{{> partials/head.mustache }} - -<body id="note" class="note"> - {{> partials/nav.button.mustache }} - - <main> - <div class="layout"> - $body$ - - <ol class="note__list"> - $for(include-after)$ - $include-after$ - $endfor$ - </ol> - </div> - </main> - - {{> partials/nav.mustache }} -</body> -</html> diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -1,59 +0,0 @@ -{{> partials/head.mustache }} - -<body id="note" class="note"> - <main> - <article class="layout h-entry hentry as-note"> - <div class="layout__vcenter"> - <h1 class="visuallyhidden">$title$</h1> - - $if(citeurl)$ - <blockquote class="note__blockquote p-name e-content"> - <div class="note__blockquote__quote">$body$</div> - $if(cite)$ - <footer class="note__blockquote__footer"> - &mdash; - <cite class="note__blockquote__cite"> - <a href="$citeurl$" rel="external nofollow"> - $cite$ - </a> - </cite> - </footer> - $endif$ - </blockquote> - $else$ - <div class="note__blocknote p-name e-content"> - $body$ - </div> - $endif$ - - <footer class="note__footer"> - $if(permalink)$ - <a class="note__link u-url u-uid u-syndication bookmark" - href="$permalink$" - rel="bookmark">#</a> - $endif$ - - $if(replyto)$ - <a class="note__link u-in-reply-to" - href="$replyto$" - rel="in-reply-to">En réponse à $replyto$.</a><br/> - $endif$ - - Publié le <time class="dt-published" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> - par <a class="p-author author" href="{{ SITE_URL }}#hs" rel="author"><i>{{ SITE_AUTHOR }}</i></a> - $if(modified)$et modifié le <time class="dt-updated">$modified$</time>$endif$. - <br/>&crarr; <a href="{{ SITE_URL }}/note">Retourner aux notes</a>. - </footer> - </div> - $if(bridgy)$ - <a class="visuallyhidden" href="https://brid.gy/publish/twitter"></a> - $endif$ - </article> - </main> - - {{> partials/nav.mustache }} - - <!-- <script src="{{ BASE_URL }}/js/vendor/atomic.min.js"></script> - <script src="{{ BASE_URL }}/js/script.js"></script> --> -</body> -</html> diff --git a/templates/mustache/partials/footer.mustache b/templates/mustache/partials/footer.mustache @@ -1,8 +0,0 @@ -<footer id="footer"> - <address class="layout"> - <hr> - - <p>Page Web conçue par <a rel="author" href="{{ BASE_URL }}#hs">{{ SITE_AUTHOR }}</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 à {{ SITE_AUTHOR_LOCALITY }} le <time datetime="{{ NOW_DATE }}T{{ NOW_DATETIME }}">{{ NOW_DATE }}</time>.</p> - </address> -</footer> diff --git a/templates/mustache/partials/nav.button.mustache b/templates/mustache/partials/nav.button.mustache @@ -1,13 +0,0 @@ - - -<div class="layout"> - <a class="nav-button" href="#menu"> - <span class="nav-button__text"> - Menu <span class="visuallyhidden">principal</span> - </span> - - <span class="nav-button__burger"> - <i class="nav-button__burger__ico"></i> - </span> - </a> -</div> diff --git a/templates/mustache/partials/nav.close.mustache b/templates/mustache/partials/nav.close.mustache @@ -1,9 +0,0 @@ -<a class="nav__close" href="#" role="button"> - <span class="nav__close__text"> - Fermer <span class="visuallyhidden">le menu</span> - </span> - - <span class="nav__x"> - <i class="nav__x__ico"></i> - </span> -</a> diff --git a/templates/mustache/partials/nav.index.mustache b/templates/mustache/partials/nav.index.mustache @@ -1,27 +0,0 @@ -<nav class="nav"> - <div class="nav__panel" id="menu" tabindex="0"> - <div class="nav__panel__content layout"> - <h2 class="visuallyhidden">Navigation</h2> - - <ul class="nav__list" role="menubar"> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/note"> - Notes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/txt"> - Textes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/file/curriculum-vitae"> - Curriculum vitae - </a> - </li> - </ul> - </div> - - {{> nav.close.mustache }} - </div> -</nav> diff --git a/templates/mustache/partials/nav.mustache b/templates/mustache/partials/nav.mustache @@ -1,32 +0,0 @@ -<nav class="nav"> - <div class="nav__panel" id="menu" tabindex="0"> - <div class="nav__panel__content layout"> - <h2 class="visuallyhidden">Navigation</h2> - - <ul class="nav__list" role="menubar"> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}" rel="index"> - Page d'accueil - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/note"> - Notes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/txt"> - Textes - </a> - </li> - <li class="nav__item"> - <a class="nav__link" href="{{ BASE_URL }}/file/curriculum-vitae"> - Curriculum vitae - </a> - </li> - </ul> - </div> - - {{> nav.close.mustache }} - </div> -</nav>