nemhugo/layouts/partials
Jack Taylor a5113e5008 Make all full-page templates inherit from a block template
Use block templates [1] for all of the full-page templates such as
index.html, _default/list.html, etc. This reduces code duplicated
between them.

Also, move the code in partials/page.html and partials/post.html
to page/single.html and post/single.html respectively. With block
templates the contents of the partials is almost exactly the same
as the contents of the single page templates, and having dedicated
single-page templates for the content types means that we can get
rid of the if/then/else logic in _default/single.html.

This also gets rid of an excess container div; the duplication of
the divs was being obscured by the way _default/single.html was
interacting with the partials. (This is the same duplicated div
as in pull request #51 found by @1138-4EB.)

[1] https://gohugo.io/templates/blocks/
2017-04-17 12:44:44 +09:00
..
disqus.html Update default archetype 2017-03-07 02:53:09 -08:00
footer.html Make links language-relative 2017-04-07 08:01:06 +09:00
footer_custom.html Add empty partials for custom html in head and footer 2017-04-02 23:50:42 +01:00
head.html Make links language-relative 2017-04-07 08:01:06 +09:00
head_custom.html Add empty partials for custom html in head and footer 2017-04-02 23:50:42 +01:00
header.html Add links to translated content 2017-04-07 12:58:57 +09:00
nav.html Use the correct language in lang attributes 2017-04-07 13:08:44 +09:00
post_meta.html Add links to translated content 2017-04-07 12:58:57 +09:00
translation_link.html Add links to translated content 2017-04-07 12:58:57 +09:00