aboutsummaryrefslogtreecommitdiff
path: root/layouts/blog/single.html
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-04-06 19:42:00 +0200
committerAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-04-06 19:42:00 +0200
commit56faea4956d0dbf05ad75bbafca81aa90d09771d (patch)
tree9e6eea64635685175fe4507b190fb9e3c02e7b82 /layouts/blog/single.html
parent9ec92dfef9c73992e849279c62ced2f41a7e43b9 (diff)
Add ontology
Diffstat (limited to 'layouts/blog/single.html')
-rw-r--r--layouts/blog/single.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
new file mode 100644
index 0000000..58c2ba5
--- /dev/null
+++ b/layouts/blog/single.html
@@ -0,0 +1,13 @@
+{{ define "head_extras" }}
+ {{ partial "ld/post.html" . }}
+{{ end }}
+
+{{ define "main" }}
+<h1>{{ .Title }}</h1>
+<p class="meta">
+ {{ if gt .Date.Unix 0 }}
+ <time datetime="{{ .Date.Format " 2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "2006-01-02" }}</time>
+ {{ end }}
+</p>
+{{ .Content }}
+{{ end }} \ No newline at end of file