diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 35a076f..33ae268 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,9 +15,9 @@ {{ end }} + {{ block "footer" . }} - {{ end }} diff --git a/layouts/_default/index.json b/layouts/_default/index.json deleted file mode 100644 index 1979cab..0000000 --- a/layouts/_default/index.json +++ /dev/null @@ -1,15 +0,0 @@ -{{/* layouts/_default/index.json */}} -{{- $index := slice -}} -{{- range where .Site.RegularPages.ByDate.Reverse "Type" "not in" (slice "page" "json") -}} - {{ if .Params.dateCreated }} - {{ $.Scratch.Set "date" (.Params.dateCreated) }} - {{ else }} - {{- if isset site.Params "date_format" -}} - {{- $.Scratch.Set "date" (.Date.Format site.Params.date_format) -}} - {{- else -}} - {{- $.Scratch.Set "date" (.Date.Format "2006-01-02") -}} - {{- end -}} - {{ end }} - {{- $index = $index | append (dict "title" ( .Title | plainify ) "permalink" .Permalink "section" (i18n (.Section | title)) "tags" (apply .Params.tags "i18n" "." ) "categories" (apply .Params.categories "i18n" "." ) "summary" (.Params.summary | markdownify | htmlUnescape | plainify) "date" ($.Scratch.Get "date") ) -}} -{{- end -}} -{{- $index | jsonify -}} diff --git a/layouts/index.html b/layouts/index.html index 655b222..f9cea5d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -43,6 +43,7 @@

View all posts

View all categories

View all tags

+ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 186d51a..8cc7640 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,4 @@ diff --git a/static/css/style.css b/static/css/style.css index 7f3fcff..79014cd 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -51,9 +51,6 @@ white-space: pre-wrap; .taglist { -border: solid; -border-weight: 2pt; -padding: 4pt; }