aboutsummaryrefslogtreecommitdiff
path: root/layouts/books/single.html
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-31 00:19:01 +0200
committerJulien Dessaux2021-03-31 09:38:18 +0200
commitf8cce309c8eb56daee505d5cbc9066b1b11e2f7b (patch)
tree5b0f17d9fae8dee4a7bc2ae9bf7409ed477a5a5c /layouts/books/single.html
parentAdded content (diff)
downloadwww-f8cce309c8eb56daee505d5cbc9066b1b11e2f7b.tar.gz
www-f8cce309c8eb56daee505d5cbc9066b1b11e2f7b.tar.bz2
www-f8cce309c8eb56daee505d5cbc9066b1b11e2f7b.zip
Tweaked the book articles layout
Diffstat (limited to 'layouts/books/single.html')
-rw-r--r--layouts/books/single.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/books/single.html b/layouts/books/single.html
new file mode 100644
index 0000000..f0ae554
--- /dev/null
+++ b/layouts/books/single.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+
+<h1>{{ .Title }}</h1>
+
+<p>
+<u>Author:</u> {{ .Description }}<br/>
+<u>Finished reading on:</u> {{ .PublishDate.Format "2006-01-02" }}
+</p>
+
+{{ .Content }}
+
+{{ end }}