diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-01-05 20:28:20 +0000 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-01-05 20:28:20 +0000 |
commit | db6cb54326c80f805c50e0710acba3818270ae2d (patch) | |
tree | 63ddf640cb9bba62adfb7abbb7931408350ed92c /layouts/blog | |
parent | 2edc5b80bc597b6833e4ef3cd055a936ebf3c095 (diff) |
got absolute minima running
Diffstat (limited to 'layouts/blog')
-rw-r--r-- | layouts/blog/li.html | 24 | ||||
-rw-r--r-- | layouts/blog/single.html | 18 |
2 files changed, 0 insertions, 42 deletions
diff --git a/layouts/blog/li.html b/layouts/blog/li.html deleted file mode 100644 index cb44e71..0000000 --- a/layouts/blog/li.html +++ /dev/null @@ -1,24 +0,0 @@ -<style> - #cat-category { - font-size: small; - color: red; - } - #vim-category { - font-size: small; - color: #2abb01; - } -</style> - -<li> - <a href="{{ .Permalink }}"> - {{ .Title }} - {{ if isset .Params "category" }} - {{ if eq .Params.Category "cats" }} - <span id="cat-category">[{{ lower .Params.Category }}]</span> - {{ else if (eq .Params.Category "vim") }} - <span id="vim-category">[{{ lower .Params.Category }}]</span> - {{ end }} - {{ end }} - <small><time>{{ .Date.Format "2 Jan, 2006" }}</time></small> - </a> -</li> diff --git a/layouts/blog/single.html b/layouts/blog/single.html deleted file mode 100644 index 698be33..0000000 --- a/layouts/blog/single.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ define "main" }} -<article> - <header id="post-header"> - <h1>{{ .Title }}</h1> - <div> - {{- if isset .Params "date" -}} - {{ if eq .Lastmod .Date }} - <time>{{ .Date.Format "Monday 2 Jan, 2006" }}</time> - {{ else }} - Updated <time>{{ .Lastmod.Format "Monday 2 Jan, 2006" }}</time> - {{ end }} - {{- end -}} - </div> - </header> - This is a {{ .Kind }}. - {{- .Content -}} -</article> -{{ end }} |