lumbung.space/themes/lumbung-theme/layouts/_default/single.html

15 lines
852 B
HTML

{{ define "main" }}
<main class="main single">
<article class="h-entry">
<header>
<h1 class="p-name single"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h1>
<div class="metadata"><span class="from p-author">{{ if .Params.contributors }}By <b>{{range .Params.contributors}} <a href='{{ "/contributors/" | relLangURL }}{{ . | urlize }}/'> {{ . }},</a> {{ end }}</b>{{ end }} {{with .Params.original_link }}originally posted on <b><a href="{{ . }}">{{ end }}{{ .Params.feed_name }}</a></b> on <time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time></span></div>
</header>
<div class="e-content">
{{with .Params.featured_image}}<img src="{{.}}"></img>{{end}}
{{ .Content }}
</div>
</article>
</main>
{{ end }}