diff options
author | Alan Pearce | 2020-11-14 21:17:02 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-14 21:52:50 +0100 |
commit | 5de7de4e64cb20183ebfe86e16578f4abd62a23e (patch) | |
tree | d3e24ee322d24c03a5e6563ace11c1c588881368 /themes/xmin/layouts/_default/single.html | |
parent | d996657be5efda94f4a934d5d78c407ba47bf76c (diff) | |
download | website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.tar.lz website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.tar.zst website-5de7de4e64cb20183ebfe86e16578f4abd62a23e.zip |
Port theme to zola template
Diffstat (limited to 'themes/xmin/layouts/_default/single.html')
-rw-r--r-- | themes/xmin/layouts/_default/single.html | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/themes/xmin/layouts/_default/single.html b/themes/xmin/layouts/_default/single.html deleted file mode 100644 index b69ed7c..0000000 --- a/themes/xmin/layouts/_default/single.html +++ /dev/null @@ -1,19 +0,0 @@ -{{ define "main" }} -<article class="h-entry"> - <header> - <h1><span class="title p-name">{{ .Title | markdownify }}</span></h1> - {{ if (gt .Params.date 0) }}<time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "2006-01-02" }}</time>{{ end }} - <p class="terms"> - {{- range $i := (slice "categories" "tags") }} - {{- with ($.Param $i) }} - {{ $i | title }}: {{ range $k := . }}<a class="p-category" href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }} - {{- end }} - {{- end }} - </p> - </header> - - <div class="e-content"> - {{ .Content }} - </div> -</article> -{{- end }} |