diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-10-05 17:58:37 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-10-05 17:58:37 -0700 |
| commit | b74e9e85afe7a3db9f2f329cc7b5a1632aa16d02 (patch) | |
| tree | 52031784fed9372b46c3c666107bb0140e67d023 /users/fcuny/notes/layouts/_default/single.html | |
| parent | ref(fcuny/blog): delete the blog (diff) | |
| download | infra-b74e9e85afe7a3db9f2f329cc7b5a1632aa16d02.tar.gz | |
ref(fcuny/notes): delete notes
The notes are at https://github.com/fcuny/notes.fcuny.net
Diffstat (limited to 'users/fcuny/notes/layouts/_default/single.html')
| -rw-r--r-- | users/fcuny/notes/layouts/_default/single.html | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/users/fcuny/notes/layouts/_default/single.html b/users/fcuny/notes/layouts/_default/single.html deleted file mode 100644 index 7f594ad..0000000 --- a/users/fcuny/notes/layouts/_default/single.html +++ /dev/null @@ -1,40 +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> - -<article> -{{ .Content }} -</article> - -</div> - -{{ end }} |
