diff options
author | Martin Ashby <martin@ashbysoft.com> | 2024-03-04 16:24:45 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2024-03-10 22:03:45 +0000 |
commit | e12c0d23ad72ffa9389d90311453db535f57e450 (patch) | |
tree | 00e8caf78140dee2c9af4568d7d2fb083b80b906 /themes/XMin/layouts/_default | |
parent | 5ed483825a50cadb1d3d2dd55f9e4ebc52716660 (diff) | |
download | mfashby.net-e12c0d23ad72ffa9389d90311453db535f57e450.tar.gz mfashby.net-e12c0d23ad72ffa9389d90311453db535f57e450.tar.bz2 mfashby.net-e12c0d23ad72ffa9389d90311453db535f57e450.tar.xz mfashby.net-e12c0d23ad72ffa9389d90311453db535f57e450.zip |
Prepare to move to zine static site generator instead of hugo
https://zine-ssg.io/documentation/
Diffstat (limited to 'themes/XMin/layouts/_default')
-rw-r--r-- | themes/XMin/layouts/_default/list.html | 20 | ||||
-rw-r--r-- | themes/XMin/layouts/_default/single.html | 10 | ||||
-rw-r--r-- | themes/XMin/layouts/_default/terms.html | 13 |
3 files changed, 0 insertions, 43 deletions
diff --git a/themes/XMin/layouts/_default/list.html b/themes/XMin/layouts/_default/list.html deleted file mode 100644 index 2ab6958..0000000 --- a/themes/XMin/layouts/_default/list.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ partial "header.html" . }} - -{{if not .IsHome }} -<h1>{{ .Title | markdownify }}</h1> -{{ end }} - -{{ .Content }} - -<ul> - {{ $pages := .Pages }} - {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} - {{ range (where $pages "Section" "!=" "") }} - <li> - <span class="date">{{ .Date.Format "2006/01/02" }}</span> - <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> - </li> - {{ end }} -</ul> - -{{ partial "footer.html" . }}
\ No newline at end of file diff --git a/themes/XMin/layouts/_default/single.html b/themes/XMin/layouts/_default/single.html deleted file mode 100644 index ed638ae..0000000 --- a/themes/XMin/layouts/_default/single.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ partial "header.html" . }} -<div class="article-meta"> -<h1><span class="title">{{ .Title | markdownify }}</span></h1> -</div> - -<main> -{{ .Content }} -</main> - -{{ partial "footer.html" . }} diff --git a/themes/XMin/layouts/_default/terms.html b/themes/XMin/layouts/_default/terms.html deleted file mode 100644 index 71f47e7..0000000 --- a/themes/XMin/layouts/_default/terms.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ partial "header.html" . }} - -<h1>{{ .Title }}</h1> - -<ul class="terms"> - {{ range .Data.Terms }} - <li> - <a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a> ({{ .Count }}) - </li> - {{ end }} -</ul> - -{{ partial "footer.html" . }} |