aboutsummaryrefslogtreecommitdiff
path: root/themes/ananke/layouts/post/summary.html
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-06-19 21:18:55 +0200
committerDimitri Staessens <[email protected]>2019-06-19 21:18:55 +0200
commit615d2211463e073a65b0de60c61ab1184b14b958 (patch)
treea7635aec59a689152061c00e8a462382112792f4 /themes/ananke/layouts/post/summary.html
parent2a2311ea3fb1b89a266668bfd16aa96475fc183e (diff)
downloadwebsite-615d2211463e073a65b0de60c61ab1184b14b958.tar.gz
website-615d2211463e073a65b0de60c61ab1184b14b958.zip
theme: Switch to ananke theme
Diffstat (limited to 'themes/ananke/layouts/post/summary.html')
-rw-r--r--themes/ananke/layouts/post/summary.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/ananke/layouts/post/summary.html b/themes/ananke/layouts/post/summary.html
new file mode 100644
index 0000000..c06c325
--- /dev/null
+++ b/themes/ananke/layouts/post/summary.html
@@ -0,0 +1,15 @@
+ <div class="mb3 pa4 mid-gray overflow-hidden">
+ {{ if .Date }}
+ <div class="f6">
+ {{ .Date.Format "January 2, 2006" }}
+ </div>
+ {{ end }}
+ <h1 class="f3 near-black">
+ <a href="{{ .URL }}" class="link black dim">
+ {{ .Title }}
+ </a>
+ </h1>
+ <div class="nested-links f5 lh-copy nested-copy-line-height">
+ {{ .Summary }}
+ </div>
+ </div>