1f3b6f5598
2.0 Enhancements - Improve template structure - Fixed issue where flexbox was configured improperly and the side column expanded with longer content. - No longer assume that posts are called "post" - Simplify tag handling - Improve related posts handling - Support native Table of contents (if declared in params) - Add DISQUS commenting (if disqusShortname added to config) - Uses Hugo's Related content feature - Add asset hashing to Webpack for performance
19 lines
523 B
HTML
19 lines
523 B
HTML
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
|
|
{{ define "main" }}
|
|
<div class="flex-l mt2 mw8 center">
|
|
<article class="center cf pv5 ph3 ph4-ns mw7">
|
|
<header>
|
|
<p class="f6 b helvetica tracked">
|
|
{{ humanize .Section | upper }}
|
|
</p>
|
|
<h1 class="f1">
|
|
{{ .Title }}
|
|
</h1>
|
|
</header>
|
|
<div class="nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray">
|
|
{{ .Content }}
|
|
</div>
|
|
</article>
|
|
</div>
|
|
{{ end }}
|