aboutsummaryrefslogtreecommitdiff
path: root/themes/simple
diff options
context:
space:
mode:
Diffstat (limited to 'themes/simple')
-rw-r--r--themes/simple/layouts/_default/single.html8
-rw-r--r--themes/simple/static/css/tailwind.css5
2 files changed, 9 insertions, 4 deletions
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html
index ffa776f..4489601 100644
--- a/themes/simple/layouts/_default/single.html
+++ b/themes/simple/layouts/_default/single.html
@@ -6,7 +6,7 @@
6 <header class="mb-6"> 6 <header class="mb-6">
7 <h1 itemtype="headline" class="text-4xl font-bold mb-4 leading-1 md:leading-2">{{ .Title }}</h1> 7 <h1 itemtype="headline" class="text-4xl font-bold mb-4 leading-1 md:leading-2">{{ .Title }}</h1>
8 8
9 {{ if in .Type "posts" }} 9 {{ if not (eq .Type "pages") }}
10 <time class="text-gray-400 font-medium text-sm">Published on {{ .Date.Format "Monday Jan 2, 2006" }}</time> 10 <time class="text-gray-400 font-medium text-sm">Published on {{ .Date.Format "Monday Jan 2, 2006" }}</time>
11 {{ end }} 11 {{ end }}
12 </header> 12 </header>
@@ -23,7 +23,7 @@
23 </div> 23 </div>
24 </article> 24 </article>
25 25
26 {{ if in .Type "posts" }} 26 {{ if not (eq .Type "pages") }}
27 <hr class="border-2 border-gray-100 mb-10" /> 27 <hr class="border-2 border-gray-100 mb-10" />
28 {{ end }} 28 {{ end }}
29 29
@@ -39,7 +39,7 @@
39 {{ end }} 39 {{ end }}
40 40
41 <!-- Read more --> 41 <!-- Read more -->
42 {{ if in .Type "posts" }} 42 {{ if not (eq .Type "pages") }}
43 {{ partial "read-more.html" . }} 43 {{ partial "read-more.html" . }}
44 {{ end }} 44 {{ end }}
45 45
@@ -53,4 +53,4 @@
53 {{ end }} 53 {{ end }}
54 54
55</main> 55</main>
56{{ end }} \ No newline at end of file 56{{ end }}
diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css
index 53d8798..36e45e8 100644
--- a/themes/simple/static/css/tailwind.css
+++ b/themes/simple/static/css/tailwind.css
@@ -127,6 +127,11 @@ article.single #TableOfContents ul {
127 @apply list-decimal pl-4 md:pl-6; 127 @apply list-decimal pl-4 md:pl-6;
128} 128}
129 129
130/* Lists */
131article.single .content ul ul {
132 margin-bottom: auto;
133}
134
130/* Katex */ 135/* Katex */
131article.single .katex-display { 136article.single .katex-display {
132 @apply my-10; 137 @apply my-10;