diff --git a/content/notes/2024-05-21/3fwgt/index.md b/content/notes/2024-05-21/3fwgt/index.md index b64d0a1e..ffcc4628 100644 --- a/content/notes/2024-05-21/3fwgt/index.md +++ b/content/notes/2024-05-21/3fwgt/index.md @@ -1,7 +1,8 @@ --- date: 2024-05-21T12:05:36.779+01:00 publishDate: 2024-05-21T12:05:36.779+01:00 -slug: 3fwgt +tags: +- EMFCamp --- -This afternoon I am mostly writing layout algorithms for #EMFCamp gifts I'm hoping to make — let's hope I can figure out what I'm doing! +This afternoon I am mostly writing layout algorithms for [EMFCamp](/tags/emfcamp) gifts I'm hoping to make — let's hope I can figure out what I'm doing! diff --git a/layouts/partials/post-previews.html b/layouts/partials/post-previews.html index a2596520..e969e0dd 100644 --- a/layouts/partials/post-previews.html +++ b/layouts/partials/post-previews.html @@ -59,9 +59,10 @@
{{- $src := index $picPage.Params.Media 0 -}} - +
- {{- index (split .Summary "\n") 0 | htmlUnescape }} + {{- $shortSummary := index (split .Summary "\n") 0 -}} + {{- $shortSummary | htmlUnescape }}{{ if gt (len .Summary) (len $shortSummary) }} {{ end -}}