From 05fa3943852767b848d430eccedbc3b018615229 Mon Sep 17 00:00:00 2001 From: mms Date: Mon, 2 Dec 2024 23:58:55 +0100 Subject: feat: bookmarks --- layouts/shortcodes/bookmark-month.html | 4 ++++ layouts/shortcodes/bookmarks-all.html | 3 +++ 2 files changed, 7 insertions(+) (limited to 'layouts') diff --git a/layouts/shortcodes/bookmark-month.html b/layouts/shortcodes/bookmark-month.html index 499f538..480f6e8 100644 --- a/layouts/shortcodes/bookmark-month.html +++ b/layouts/shortcodes/bookmark-month.html @@ -12,6 +12,10 @@ {{ .title }} ({{ .host }}) + {{ if .source_url }} + (via {{ .source_host }}) + {{ end }} + {{ end }} {{ end }} diff --git a/layouts/shortcodes/bookmarks-all.html b/layouts/shortcodes/bookmarks-all.html index 92a2d55..b1fd562 100644 --- a/layouts/shortcodes/bookmarks-all.html +++ b/layouts/shortcodes/bookmarks-all.html @@ -9,6 +9,9 @@ - {{ .title }} ({{ .host }}) + {{ if .source_url }} + (via {{ .source_host }}) + {{ end }} {{ end }} -- cgit v1.2.3