diff --git a/themes/v2/layouts/index.html b/themes/v2/layouts/index.html index 3b75b55..a12b3e9 100644 --- a/themes/v2/layouts/index.html +++ b/themes/v2/layouts/index.html @@ -71,5 +71,5 @@ - {{- partial "pinboard.html" . -}} + {{- partial "marky.html" . -}} {{ end }} diff --git a/themes/v2/layouts/partials/marky.html b/themes/v2/layouts/partials/marky.html new file mode 100644 index 0000000..7a73dec --- /dev/null +++ b/themes/v2/layouts/partials/marky.html @@ -0,0 +1,21 @@ + + + + Links (from Marky) + + {{ with resources.GetRemote "https://bookmarks.davideisinger.com/u:dce.json" | transform.Unmarshal }} + + {{ range . | first 10 }} + + + {{ .title }} + {{ if .referrer }} (via){{ end }} + ({{ dateFormat "2006-01-02" .updated_at }}) + + + {{ .description }} + + {{ end }} + + {{ end }} +
+ {{ .title }} + {{ if .referrer }} (via){{ end }} + ({{ dateFormat "2006-01-02" .updated_at }}) +
{{ .description }}