diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-14 22:49:26 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-14 22:49:26 +0800 |
commit | 1da07b0b4a337342cc48627d9af78e7fd20a45cf (patch) | |
tree | 176e21523ae40289591fd5e249ffcc0a477c7380 /www/layouts/partials/preview/article.html | |
parent | 096f6ca0fa344363b4c76b7418a5743f9536034c (diff) | |
download | crupest-1da07b0b4a337342cc48627d9af78e7fd20a45cf.tar.gz crupest-1da07b0b4a337342cc48627d9af78e7fd20a45cf.tar.bz2 crupest-1da07b0b4a337342cc48627d9af78e7fd20a45cf.zip |
www: move layout files for new version of hugo and fix nested shortcodes.
Diffstat (limited to 'www/layouts/partials/preview/article.html')
-rw-r--r-- | www/layouts/partials/preview/article.html | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/www/layouts/partials/preview/article.html b/www/layouts/partials/preview/article.html deleted file mode 100644 index 6245434..0000000 --- a/www/layouts/partials/preview/article.html +++ /dev/null @@ -1,10 +0,0 @@ -<section class="article-preview"> - <span class="date">{{ .date | time.Format ":date_medium" }}</span> - {{ (printf `<%[1]s class="title"><a href="%s">%s</a></%[1]s>` .h .link .title) | safeHTML }} - <p class="content"> - {{ range split .content "\n" | first 5 }} - {{ . | htmlUnescape }}<br/> - {{ end }} - </p> - <p>... <a class="mono-link" href="{{ .link }}">Read more</a></p> -</section> |