about summary refs log tree commit diff
path: root/users/fcuny/blog/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/fcuny/blog/layouts/_default/single.html54
1 files changed, 0 insertions, 54 deletions
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 }}