hugo-labs/layouts/_default/content.html

5 lines
222 B
HTML
Raw Normal View History

2018-09-25 14:35:51 +02:00
{{ $dateFormat := default "02-01-2006 15:04" (index .Site.Params "date_format") }}
2018-10-01 10:14:50 +02:00
<h2><b>{{ .Title | markdownify }}{{ if not .Date.IsZero }} <small>{{ .Date.Format $dateFormat }}</small>{{ end }}</b></h2>
2018-09-25 14:35:51 +02:00
{{ .Content }}