Files
cocoa-eh-hugo-theme/layouts/blog/single.html
David Keck eed502dd45 Corrected read time to use proper English
See Stack Exchange article below for more information. These nouns are modifying the word read, and thus don't require the plural form.

http://ell.stackexchange.com/questions/14290/shouldnt-five-minute-walk-be-five-minutes-walk-in-this-sentence
2017-04-14 19:53:06 +02:00

58 lines
2.3 KiB
HTML

{{ partial "header.html" . }}
<section class="main post non-narrow zero-top-spacing">
<div class="container">
<div class="content">
<div class="front-matter">
<div class="title-container">
{{ partial "page-heading" . }}
</div>
<div class="meta">
<div class="date" title="{{ .Date.Format .Site.Params.dateformfull }}">{{ .Date.Format .Site.Params.dateform }}</div>
{{ if not .Params.noauthor }}
{{ if .Params.author }}
<div class="author" title="{{ .Params.Author }}"><div class="middot"></div>{{ .Params.author }}</div>
{{end}}
{{end}}
<div class="reading-time"><div class="middot"></div>{{ .ReadingTime }} minute read</div>
<div class="tags">
<ul>
{{ range .Params.tags }}
<div class="middot"></div>
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
</div>
</div>
</div>
<div class="markdown">
{{ partial "content" . }}
<br>
</div>
{{ if .Site.Params.posts_navigation }}
<div class="navigation">
{{ if .PrevInSection }}
<div>
<img class="icon" src="/img/back.svg" alt="back" />
<a href="{{ .PrevInSection.Permalink }}">{{ .PrevInSection.Title }}</a>
</div>
{{ end }}
<div style="width: 100%;"></div>
{{ if .NextInSection }}
<div>
<a href="{{ .NextInSection.Permalink }}">{{ .NextInSection.Title }}</a>
<img class="icon" src="/img/next.svg" alt="next" />
</div>
{{ end }}
</div>
{{ end }}
<br>
<div class="disqus">
{{ template "_internal/disqus.html" . }}
</div>
</div>
</div>
</section>
{{ partial "footer.html" . }}