diff options
Diffstat (limited to 'themes/simple/layouts/_default')
| -rw-r--r-- | themes/simple/layouts/_default/list.html | 2 | ||||
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index 232598d..f92d9c0 100644 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | </svg> | 11 | </svg> |
| 12 | <p>For interesting <span span class="italic font-medium">notes</span> and | 12 | <p>For interesting <span span class="italic font-medium">notes</span> and |
| 13 | small <span class="italic font-medium">experiments</span> I usually partake | 13 | small <span class="italic font-medium">experiments</span> I usually partake |
| 14 | in, check the Notes page.</p> | 14 | in, check the <span class="font-medium">Notes page</span>.</p> |
| 15 | </a> | 15 | </a> |
| 16 | 16 | ||
| 17 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> | 17 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> |
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index cadfd7b..095ff25 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html | |||
| @@ -14,12 +14,14 @@ | |||
| 14 | {{ end }} | 14 | {{ end }} |
| 15 | </header> | 15 | </header> |
| 16 | 16 | ||
| 17 | {{ if not .Params.hidetoc }} | ||
| 17 | <div> | 18 | <div> |
| 18 | {{ if ge (len .TableOfContents) 100 }} | 19 | {{ if ge (len .TableOfContents) 100 }} |
| 19 | <p class="font-semibold">Table of contents</p> | 20 | <p class="font-semibold">Table of contents</p> |
| 20 | <div>{{ .TableOfContents }}</div> | 21 | <div>{{ .TableOfContents }}</div> |
| 21 | {{ end }} | 22 | {{ end }} |
| 22 | </div> | 23 | </div> |
| 24 | {{ end }} | ||
| 23 | 25 | ||
| 24 | <div class="leading-relaxed content"> | 26 | <div class="leading-relaxed content"> |
| 25 | {{.Content}} | 27 | {{.Content}} |
