diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/bookmark-month.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/bookmarks-all.html | 3 |
2 files changed, 7 insertions, 0 deletions
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 @@ <a href="{{ .url }}">{{ .title }}</a> ({{ .host }}) + {{ if .source_url }} + (<a href="{{ .source_url }}">via {{ .source_host }}</a>) + {{ end }} + {{ end }} {{ end }} </ul> 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 @@ - <a href="{{ .url }}">{{ .title }}</a> ({{ .host }}) + {{ if .source_url }} + (<a href="{{ .source_url }}">via {{ .source_host }}</a>) + {{ end }} {{ end }} </ul> |