diff --git a/layouts/_default/bookmarks.html b/layouts/_default/bookmarks.html index 36dba06..ceb04a3 100644 --- a/layouts/_default/bookmarks.html +++ b/layouts/_default/bookmarks.html @@ -7,8 +7,7 @@ Timestamp format: YYYY-MM-DD HH:MM, as per RFC 3339

    - {{ $bookmarks := getJSON "https://seirdy.one/data/bookmarks.json" -}} - {{ range sort $bookmarks "tags" "desc" -}} + {{ range sort (index .Site.Data "bookmarks") "tags" "desc" -}} {{ $bookmark := . -}} {{- $tags := split $bookmark.tags "," -}} {{- $firstTag := index $tags 0 }}