diff --git a/layouts/observations/list.html b/layouts/observations/list.html index 1ad40d9..63dbb82 100644 --- a/layouts/observations/list.html +++ b/layouts/observations/list.html @@ -16,7 +16,7 @@ {{ .Scratch.Set "obs" $dataJ }} {{ .Scratch.Set "obs_url" .Permalink }} - {{ partial "inat.html" . }} + {{ partial "external/inat.html" . }} {{ end }} {{ end }} diff --git a/layouts/partials/gpxstudio.html b/layouts/partials/external/gpxstudio.html similarity index 100% rename from layouts/partials/gpxstudio.html rename to layouts/partials/external/gpxstudio.html diff --git a/layouts/partials/inat.html b/layouts/partials/external/inat.html similarity index 100% rename from layouts/partials/inat.html rename to layouts/partials/external/inat.html diff --git a/layouts/partials/toot.html b/layouts/partials/external/toot.html similarity index 100% rename from layouts/partials/toot.html rename to layouts/partials/external/toot.html diff --git a/layouts/partials/twitter_cards.html b/layouts/partials/external/twitter_cards.html similarity index 100% rename from layouts/partials/twitter_cards.html rename to layouts/partials/external/twitter_cards.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7d89c83..5438c10 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -62,7 +62,7 @@ {{- template "_internal/opengraph.html" . -}} {{- template "_internal/schema.html" . -}} - {{- partial "twitter_cards.html" . -}} + {{- partial "external/twitter_cards.html" . -}} diff --git a/layouts/shortcodes/displayGPX.html b/layouts/shortcodes/displayGPX.html index dff024a..06e295d 100644 --- a/layouts/shortcodes/displayGPX.html +++ b/layouts/shortcodes/displayGPX.html @@ -1,2 +1,2 @@ {{ .Scratch.Set "gpxFile" (.Get 0) }} -{{ partial "gpxstudio.html" . }} +{{ partial "external/gpxstudio.html" . }} diff --git a/layouts/shortcodes/displayOnlineToot.html b/layouts/shortcodes/displayOnlineToot.html index 7e1a426..345918b 100644 --- a/layouts/shortcodes/displayOnlineToot.html +++ b/layouts/shortcodes/displayOnlineToot.html @@ -4,4 +4,4 @@ {{ $dataJ := getJSON $api_url }} {{ .Scratch.Set "toot" $dataJ }} -{{ partial "toot.html" . }} +{{ partial "external/toot.html" . }} diff --git a/layouts/shortcodes/displayToot.html b/layouts/shortcodes/displayToot.html index 2acd29b..dac1b79 100644 --- a/layouts/shortcodes/displayToot.html +++ b/layouts/shortcodes/displayToot.html @@ -3,4 +3,4 @@ {{ $dataJ := getJSON $url }} {{ .Scratch.Set "toot" $dataJ }} -{{ partial "toot.html" . }} +{{ partial "external/toot.html" . }} diff --git a/layouts/tags/baseof.html b/layouts/tags/baseof.html deleted file mode 100644 index 12c4904..0000000 --- a/layouts/tags/baseof.html +++ /dev/null @@ -1,7 +0,0 @@ - - - {{- partial "head.html" . -}} - - {{- block "main" . -}}{{- end -}} - - diff --git a/layouts/tags/list.json b/layouts/tags/list.json deleted file mode 100644 index dc748c1..0000000 --- a/layouts/tags/list.json +++ /dev/null @@ -1,10 +0,0 @@ -[{{ range $index, $page := .Pages }}{{ if ne $index 0 }},{{ end }} - { - "ref": "{{ $page.Permalink }}", - "title": {{ $page.Title | jsonify }}, - "section": "{{ $page.Section }}", - "tags": {{ $page.Params.tags | jsonify }}, - "date" : {{ $page.Date.Format "2006.01.02" | jsonify }}, - "body": {{ $page.Plain | jsonify }} - } -{{ end }}] diff --git a/layouts/tags/single.html b/layouts/tags/single.html deleted file mode 100644 index 038c706..0000000 --- a/layouts/tags/single.html +++ /dev/null @@ -1,25 +0,0 @@ -{{ define "main"}} -

{{ .Title }}

- {{ partial "header.html" . }} - - {{ if not .Date.IsZero }} - {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}} -

{{ .Date.Format $singlePageDateFormat }}

- {{ end }} - -
- -
- -
- {{ .Content }} -
- {{ partial "footer.html" . }} -{{ end }} diff --git a/layouts/tags/terms.html b/layouts/tags/terms.html deleted file mode 100644 index 7eee434..0000000 --- a/layouts/tags/terms.html +++ /dev/null @@ -1,26 +0,0 @@ -{{ define "main"}} - {{ partial "header.html" . }} -
- {{ $posts := where site.RegularPages "Type" "blog" }} - {{ $postCount := len $posts }} - {{ range last 1 $posts }} - {{ $tags := .Site.Taxonomies.tags }} -
- Here you'll find {{ $postCount | lang.NumFmt 0 }} posts - written spanning {{ len $tags }} topics. -
- {{ end }} -
-
- -
-
- {{ .Content }} -
-
- {{ partial "footer.html" . }} -{{ end }} diff --git a/layouts/toots/list.html b/layouts/toots/list.html index 07d6424..82f7df8 100644 --- a/layouts/toots/list.html +++ b/layouts/toots/list.html @@ -21,7 +21,7 @@ }} {{ .Scratch.Set "toot" $dataJ }} - {{ partial "toot.html" . }} + {{ partial "external/toot.html" . }} {{ end }} {{ end }} diff --git a/layouts/toots/single.html b/layouts/toots/single.html index b8d635f..b6497a2 100644 --- a/layouts/toots/single.html +++ b/layouts/toots/single.html @@ -18,7 +18,7 @@ }} {{ .Scratch.Set "toot" $dataJ }} - {{ partial "toot.html" . }} + {{ partial "external/toot.html" . }} diff --git a/layouts/tracks/single.html b/layouts/tracks/single.html index 91f987b..8e4de5f 100644 --- a/layouts/tracks/single.html +++ b/layouts/tracks/single.html @@ -18,7 +18,7 @@
{{ .Scratch.Set "gpxFile" .Params.gpx }} - {{ partial "gpxstudio.html" . }} + {{ partial "external/gpxstudio.html" . }} {{ .Content }}