summaryrefslogtreecommitdiffstats
path: root/layouts/reading/books/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/reading/books/single.html')
-rw-r--r--layouts/reading/books/single.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/layouts/reading/books/single.html b/layouts/reading/books/single.html
index 5363190..98b7d92 100644
--- a/layouts/reading/books/single.html
+++ b/layouts/reading/books/single.html
@@ -2,14 +2,19 @@
<style type="text/css" media="screen">
li {
- margin-bottom: 1.2em;
+ margin-bottom: 0;
}
</style>
-<h2 class="title">{{ .Title }}</h2>
+<h1 class="title">{{ .Title }}</h1>
+{{ if .Params.toc }}
+ <aside>
+ {{.TableOfContents }}
+ </aside>
+{{ end }}
{{ .Content }}
-- {{ .Date.Format "2 Jan 2006" }}
+- Started: {{ .Date.Format "2 Jan 2006" }}
{{ end }}