From fc195c6008d24aede33bf403e2b1085f69dcf4f7 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 29 Apr 2023 12:15:34 -0700 Subject: [PATCH 1/6] Happy Monks photo post --- content/photos/2023/happy-monks/IMG_7527.jpeg | 3 +++ content/photos/2023/happy-monks/index.md | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 content/photos/2023/happy-monks/IMG_7527.jpeg create mode 100644 content/photos/2023/happy-monks/index.md diff --git a/content/photos/2023/happy-monks/IMG_7527.jpeg b/content/photos/2023/happy-monks/IMG_7527.jpeg new file mode 100644 index 0000000..d8269a8 --- /dev/null +++ b/content/photos/2023/happy-monks/IMG_7527.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68d70c874d9ebfccbdcaa9f3713a1190a97f570cd72d7772f61b23400a4b61ed +size 5218216 diff --git a/content/photos/2023/happy-monks/index.md b/content/photos/2023/happy-monks/index.md new file mode 100644 index 0000000..eadba9d --- /dev/null +++ b/content/photos/2023/happy-monks/index.md @@ -0,0 +1,10 @@ +--- +title: "Happy Monks" +date: 2023-04-19T04:53:09-07:00 +series: 2023-japan +categories: Travel +tags: ["Temples", "Buildings", "Nature", "Gardens", "日本"] +--- + +These cute little stone statues of happy, smiling monks were all over +[{{% ruby Hase-dera ja %}}長谷寺{{% /ruby %}}](https://www.hasedera.jp). From ecd6fbb155b4284d526ef2999096b9b2e9b016cf Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 29 Apr 2023 12:15:48 -0700 Subject: [PATCH 2/6] Zen Garden at Hase-dera photo post --- .../IMG_7543.jpeg | 3 +++ .../zen-garden-at-hase-dera-in-kamakura/index.md | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 content/photos/2023/zen-garden-at-hase-dera-in-kamakura/IMG_7543.jpeg create mode 100644 content/photos/2023/zen-garden-at-hase-dera-in-kamakura/index.md diff --git a/content/photos/2023/zen-garden-at-hase-dera-in-kamakura/IMG_7543.jpeg b/content/photos/2023/zen-garden-at-hase-dera-in-kamakura/IMG_7543.jpeg new file mode 100644 index 0000000..250c3e3 --- /dev/null +++ b/content/photos/2023/zen-garden-at-hase-dera-in-kamakura/IMG_7543.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:190234e0cd36058a8a0270c117b6d5ccea0127274c830ca37b40bce9b2d160fd +size 7575167 diff --git a/content/photos/2023/zen-garden-at-hase-dera-in-kamakura/index.md b/content/photos/2023/zen-garden-at-hase-dera-in-kamakura/index.md new file mode 100644 index 0000000..cee6ba7 --- /dev/null +++ b/content/photos/2023/zen-garden-at-hase-dera-in-kamakura/index.md @@ -0,0 +1,12 @@ +--- +title: "Zen Garden at Hase-Dera in Kamakura" +date: 2023-04-19T06:19:12-07:00 +series: 2023-japan +categories: Travel +tags: ["Temples", "Buildings", "Nature", "Gardens", "日本"] +--- + +[{{% ruby Hase-dera ja %}}長谷寺{{% /ruby %}}](https://www.hasedera.jp) is a temple in +{{< ruby Kamakura ja >}}鎌倉{{< /ruby >}}. It has a beautiful zen garden tucked +away behind a wall. I think the surrounding buildings might be monks' quarters +or administrative buildings for the temple. The gate was open the day I visited. From d6e44d66ef896f1412e4482a1331912b4126f75e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 8 May 2023 20:08:07 -0700 Subject: [PATCH 3/6] Heian-Jingu photo post --- content/photos/2023/heian-jingus-pagoda/IMG_1440.jpeg | 3 +++ content/photos/2023/heian-jingus-pagoda/index.md | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 content/photos/2023/heian-jingus-pagoda/IMG_1440.jpeg create mode 100644 content/photos/2023/heian-jingus-pagoda/index.md diff --git a/content/photos/2023/heian-jingus-pagoda/IMG_1440.jpeg b/content/photos/2023/heian-jingus-pagoda/IMG_1440.jpeg new file mode 100644 index 0000000..530aace --- /dev/null +++ b/content/photos/2023/heian-jingus-pagoda/IMG_1440.jpeg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a379629d391d452f8a132afe734d8006c407e75a648912649e330c7605676b91 +size 4414047 diff --git a/content/photos/2023/heian-jingus-pagoda/index.md b/content/photos/2023/heian-jingus-pagoda/index.md new file mode 100644 index 0000000..1bbe096 --- /dev/null +++ b/content/photos/2023/heian-jingus-pagoda/index.md @@ -0,0 +1,10 @@ +--- +title: "Heian-Jingū’s Pagoda" +date: 2023-04-12T04:13:23+16:00 +draft: true +series: 2023-japan +categories: "Travel" +tags: ["Gardens", "Nature", "Buildings", "Kyōto", "日本"] +--- + +The pagoda at Heian-Jingū From ca1bb982ca0b4ed94e4938de89bc472f2f9c2830 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 8 May 2023 20:02:56 -0700 Subject: [PATCH 4/6] Allow unsafe markup in the Markdown renderer --- config/_default/markup.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/_default/markup.yaml b/config/_default/markup.yaml index 34bc211..f289537 100644 --- a/config/_default/markup.yaml +++ b/config/_default/markup.yaml @@ -1,3 +1,6 @@ +goldmark: + renderer: + unsafe: true highlight: anchorLineNos: true lineNos: true From 6a6c638b766e8e71cfbb318275a2fb6aa53d4dc8 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 8 May 2023 20:06:42 -0700 Subject: [PATCH 5/6] Fiddling with the formatting of baseof.html --- layouts/_default/baseof.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ae0dbb9..817f6e9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,13 +17,13 @@ {{ with partial "resources/root_css.html" . -}} - + {{- end -}} {{- with partial "resources/section_css.html" . -}} - + {{- end -}} {{- with partial "resources/page_css.html" . -}} - + {{- end -}} {{ block "styles" . }}{{ end }} From b3a353c2a882407f7398d3c25f6c9634500f50b5 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 8 May 2023 20:07:26 -0700 Subject: [PATCH 6/6] Fix the page CSS partial so that it generates a new stylesheet for each page --- layouts/partials/resources/page_css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/resources/page_css.html b/layouts/partials/resources/page_css.html index f5ff4d9..e0470fa 100644 --- a/layouts/partials/resources/page_css.html +++ b/layouts/partials/resources/page_css.html @@ -1,5 +1,5 @@ {{ $pageCSS := dict }} {{ with .Resources.Match "*.css" }} - {{ $pageCSS = . | resources.Concat "page.css" | fingerprint "md5" }} + {{ $pageCSS = . | resources.Concat (printf "%s/page.css" $.File.Dir) | fingerprint "md5" }} {{ end }} {{ return $pageCSS }}