hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit 7b0c97e15f7e0b26e449d244c389d7911c506a45
parent 53aa0bf6c1b121c17509d323144d56071df03c8d
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 18 Nov 2017 10:05:15 -0500

Remove unused mustache files.

Diffstat:
Dtemplates/default-index.inc.mustache | 9---------
Mtemplates/default-index.mustache | 14+++++++++++---
Dtemplates/feed-entry.mustache | 6------
Dtemplates/note-index.inc.mustache | 36------------------------------------
4 files changed, 11 insertions(+), 54 deletions(-)

diff --git a/templates/default-index.inc.mustache b/templates/default-index.inc.mustache @@ -1,9 +0,0 @@ -<li class="list__item h-entry hentry"> - <a class="list__link dt-published dt-updated u-url u-uid like-h2" - href="{{ permalink }}" - rel="permalink"> - {{ title }} - </a> &mdash; - - <time class="dt-published" datetime="{{ date }}T{{ datetime }}">{{ date }}</time> -</li> diff --git a/templates/default-index.mustache b/templates/default-index.mustache @@ -2,14 +2,22 @@ <html lang="{{ SITE.LANGUAGE }}"> {{> head }} - <body id="list" class="list"> + <body id="list" class="list"> <main> - <div class="layout"> + <div class="layout"> {{{ content }}} <ol class="list__list"> {{# entries }} - {{{ content }}} + <li class="list__item h-entry hentry"> + <a class="list__link dt-published dt-updated u-url u-uid like-h2" + href="{{{ permalink }}}" + rel="permalink"> + {{{ title }}} + </a> &mdash; + + <time class="dt-published" datetime="{{{ date }}}T{{{ datetime }}}">{{{ date }}}</time> + </li> {{/ entries }} </ol> </div> diff --git a/templates/feed-entry.mustache b/templates/feed-entry.mustache @@ -1,6 +0,0 @@ -<entry> - <title>{{ field_title }}</title> - <id>{{ field_id }}</id> - <link href="{{ field_permalink }}" hreflang="{{ SITE.LANGUAGE }}" rel="alternate" /> - <updated>{{ field_date}}T{{ field_datetime }}Z</updated> -</entry> diff --git a/templates/note-index.inc.mustache b/templates/note-index.inc.mustache @@ -1,36 +0,0 @@ -<li class="note__item h-entry hentry as-note"> - {{# citeurl }} - <blockquote class="note__blockquote p-name e-content"> - <div class="note__blockquote__quote"> - {{ content }} - </div> - {{# cite }} - <footer class="note__blockquote__footer"> - &mdash; - <cite class="note__blockquote__cite h-cite"> - <a class="u-url p-author" href="{{ citeurl }}" rel="external nofollow"> - {{ cite }} - </a> - </cite> - </footer> - {{/ cite }} - </blockquote> - {{/ citeurl }} - - {{^ citeurl }} - <div class="note__blocknote p-name e-content"> - {{ content }} - </div> - {{/ citeurl }} - - <footer class="note__footer"> - PubliƩ le - <a class="note__link u-url u-uid u-syndication" - {{# permalink }} - href="{{ permalink }}" - {{/ permalink }} - rel="syndication"> - <time class="dt-published dt-updated" {{# datetime }}datetime="{{ date }}T{{ datetime }}"{{/ datetime }}>{{ date }}</time></a>. - <span class="visuallyhidden">par <em class="p-author author h-card">{{ SITE.AUTHOR.NAME }}</em></span> - </footer> -</li>