From 3805466d269503b9edaebc57158e7374273d4a1a Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Tue, 3 Jan 2023 21:01:04 -0500 Subject: [PATCH] Theme updates --- content/blog/displaying-a-toot-hugo.md | 6 +++--- themes/pulp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/blog/displaying-a-toot-hugo.md b/content/blog/displaying-a-toot-hugo.md index 0047adf..4dbf66a 100644 --- a/content/blog/displaying-a-toot-hugo.md +++ b/content/blog/displaying-a-toot-hugo.md @@ -131,7 +131,7 @@ The following is the high level overview of our toots, complete with microformat

{{ .content | safeHTML }} -
+
@@ -146,7 +146,7 @@ We wrap the entire toot in an `h-entry` class. Then we begin by creating a div t To display the images we range over the media_attachments array and grab any image URLs and their descriptions: ```html -
+
{{ range .media_attachments}} {{ if eq .type "image" }} {{ .description }} @@ -212,7 +212,7 @@ We'll have to add the following contents to `theme/layouts/shortcodes/displayOnl
{{ .content | safeHTML }} {{ if gt (len .media_attachments) 0 }} -
+
{{ range .media_attachments}} {{ if eq .type "image" }} {{ .description }} diff --git a/themes/pulp b/themes/pulp index cd5ccf7..aa68e11 160000 --- a/themes/pulp +++ b/themes/pulp @@ -1 +1 @@ -Subproject commit cd5ccf78dcc3b851183feafaa7fe9244c72b0fc9 +Subproject commit aa68e11c5628f83793d76fa5133c3d7b0e34c618