diff options
author | Franck Cuny <franck@fcuny.net> | 2022-10-05 17:56:27 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-10-05 17:56:27 -0700 |
commit | 01ccf6edd88a66682c1866e8248420fb90ecbfd6 (patch) | |
tree | 98f6239cb1a098bffab66b10cd964fa374feaf32 /users/fcuny/blog/layouts/_default | |
parent | feat(ops/github): add notes.fcuny.net and containerd-to-vm (diff) | |
download | world-01ccf6edd88a66682c1866e8248420fb90ecbfd6.tar.gz |
ref(fcuny/blog): delete the blog
The blog moved back to https://github.com/fcuny/fcuny.net
Diffstat (limited to 'users/fcuny/blog/layouts/_default')
-rw-r--r-- | users/fcuny/blog/layouts/_default/baseof.html | 11 | ||||
-rw-r--r-- | users/fcuny/blog/layouts/_default/list.html | 10 | ||||
-rw-r--r-- | users/fcuny/blog/layouts/_default/single.html | 54 |
3 files changed, 0 insertions, 75 deletions
diff --git a/users/fcuny/blog/layouts/_default/baseof.html b/users/fcuny/blog/layouts/_default/baseof.html deleted file mode 100644 index 410e2bc..0000000 --- a/users/fcuny/blog/layouts/_default/baseof.html +++ /dev/null @@ -1,11 +0,0 @@ -<!doctype html> -<html lang="en"> - {{ partial "head.html" . }} - <body> - {{- partial "header.html" . -}} - <main> - {{ block "main" . }}{{ end }} - </main> - {{- partial "footer.html" . -}} - </body> -</html> diff --git a/users/fcuny/blog/layouts/_default/list.html b/users/fcuny/blog/layouts/_default/list.html deleted file mode 100644 index d2c59a7..0000000 --- a/users/fcuny/blog/layouts/_default/list.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ define "main" }} - -<article> - - {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} - {{ partial "postlist" $pgs }} - -</article> - -{{ end }} diff --git a/users/fcuny/blog/layouts/_default/single.html b/users/fcuny/blog/layouts/_default/single.html deleted file mode 100644 index 7a85a05..0000000 --- a/users/fcuny/blog/layouts/_default/single.html +++ /dev/null @@ -1,54 +0,0 @@ -{{ define "main" }} - -<div> - -<h1>{{ .Title }}</h1> - -<div id="meta"> - {{- $pub := .Date.Format "Jan 2, 2006" -}} - {{- $mod := "" -}} - {{- if (not .GitInfo) }} - {{- $mod = .Lastmod.Format "Jan 2, 2006" -}} - {{ else }} - {{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}} - {{ end -}} - {{ if eq $pub $mod }} - <div id="meta_date">published {{ $pub }}</div> - {{ else }} - <div id="meta_date">published {{ $pub }} - last modified {{ $mod }}</div> - {{ end }} - {{ if .Params.tags }} - <div> - {{ if eq (len .Params.tags) 1 }} - tag: - {{ else }} - tags: - {{ end }} - {{ range $idx, $tag := .Params.tags }} - <span id="meta_tags"><a href="/tags/{{ $tag | urlize }}/">{{ $tag }}</a></span> - {{ end }} - </div> - {{ end }} -</div> - -{{ if .Params.toc }} -<div id="toc_small"> - <summary>Table of contents</summary> - {{ .TableOfContents }} -</div> -{{ end }} - -<article> -{{ .Content }} -</article> - -</div> - -{{ if .Params.toc }} -<div id="toc"> - <strong>Table of contents</strong> - {{ .TableOfContents }} -</div> -{{ end }} - -{{ end }} |