From 68b37be4a32d9d062ffc34649aec091695a383d1 Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Mon, 9 Jan 2023 23:52:50 -0500 Subject: [PATCH] Add Pinboard links --- themes/v2/layouts/index.html | 2 ++ themes/v2/layouts/partials/pinboard.html | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 themes/v2/layouts/partials/pinboard.html diff --git a/themes/v2/layouts/index.html b/themes/v2/layouts/index.html index e0e8308..7e14402 100644 --- a/themes/v2/layouts/index.html +++ b/themes/v2/layouts/index.html @@ -1,3 +1,5 @@ {{ define "main" }} {{ .Content }} + + {{- partial "pinboard.html" . -}} {{ end }} diff --git a/themes/v2/layouts/partials/pinboard.html b/themes/v2/layouts/partials/pinboard.html new file mode 100644 index 0000000..59b921d --- /dev/null +++ b/themes/v2/layouts/partials/pinboard.html @@ -0,0 +1,16 @@ +
+
+ + {{ with getJSON "https://feeds.pinboard.in/json/u:DCE/" }} +

Links (from Pinboard)

+ + + {{ end }} +