21 lines
620 B
HTML
21 lines
620 B
HTML
|
<header>
|
||
|
<h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>
|
||
|
{{- if isset .Params "author" -}}
|
||
|
<h2 class="footer-heading">by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</h2>
|
||
|
{{- else -}}
|
||
|
<h2 class="footer-heading">{{ dateFormat "02 January, 2006" .Date }}</h2>
|
||
|
{{- end -}}
|
||
|
|
||
|
</header>
|
||
|
{{ if isset .Params "description" }}
|
||
|
{{ if ne .Params.descripton "" }}
|
||
|
{{ .Params.description | markdownify }}
|
||
|
{{ end }}
|
||
|
{{ else }}
|
||
|
{{ .Summary }}
|
||
|
{{ end }}
|
||
|
<footer>
|
||
|
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
|
||
|
</footer>
|
||
|
<br>
|