diff options
Diffstat (limited to 'layouts/shortcodes/bookmarks-all.html')
-rw-r--r-- | layouts/shortcodes/bookmarks-all.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/shortcodes/bookmarks-all.html b/layouts/shortcodes/bookmarks-all.html new file mode 100644 index 0000000..92a2d55 --- /dev/null +++ b/layouts/shortcodes/bookmarks-all.html @@ -0,0 +1,16 @@ +{{- $caption := .Inner }} +{{ $lastLetter := "Dupa" }} +{{ with resources.Get "more/bookmarks.yml"}} +{{ with . | transform.Unmarshal }} +<ul> + {{ range (sort .bookmarks ".date" "desc") }} + <li> + {{ .date }} + - + <a href="{{ .url }}">{{ .title }}</a> + ({{ .host }}) + + {{ end }} +</ul> +{{ end }} +{{ end }} |