diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/bookmarks-all.html | 16 | ||||
-rw-r--r-- | layouts/shortcodes/links.html | 2 |
2 files changed, 17 insertions, 1 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 }} diff --git a/layouts/shortcodes/links.html b/layouts/shortcodes/links.html index 4c87b41..2707af2 100644 --- a/layouts/shortcodes/links.html +++ b/layouts/shortcodes/links.html @@ -15,7 +15,7 @@ <tr> <td colspan="2"> <hr> - <h2>{{ $letter}}</h2> + <h4>{{ $letter}}</h4> </td> </tr> {{ end }} |