diff options
Diffstat (limited to 'themes/hugo-bearblog/layouts/_default/single.html')
m--------- | themes/hugo-bearblog | 0 | ||||
-rw-r--r-- | themes/hugo-bearblog/layouts/_default/single.html | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/themes/hugo-bearblog b/themes/hugo-bearblog deleted file mode 160000 -Subproject efc24bc5e95f0ccb88051e1a7d95e8a1404e953 diff --git a/themes/hugo-bearblog/layouts/_default/single.html b/themes/hugo-bearblog/layouts/_default/single.html new file mode 100644 index 0000000..346c9bc --- /dev/null +++ b/themes/hugo-bearblog/layouts/_default/single.html @@ -0,0 +1,20 @@ +{{ define "main" }} +{{ if eq .Type "blog" }}{{ if not .Params.menu }} +<h1>{{ .Title }}</h1> +<p> + <i> + <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate> + {{ strings.ToLower (.Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat)) }} + </time> + </i> +</p> +{{ end }}{{ end }} +<content> + {{ .Content }} +</content> +<p> + {{ range (.GetTerms "tags") }} + <a href="{{ .Permalink }}">#{{ .LinkTitle }}</a> + {{ end }} +</p> +{{ end }} |