From 171e7b786253c2aa97c5c720e255cfaff1cec9e8 Mon Sep 17 00:00:00 2001 From: rmaguiar Date: Sat, 18 Jul 2020 17:07:20 -0300 Subject: Fix custom copyright and minor changes --- layouts/_default/config.toml | 5 ----- layouts/partials/.katex.html.kate-swp | Bin 61 -> 0 bytes layouts/partials/footer.html | 4 ++-- layouts/partials/katex.html | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 layouts/_default/config.toml delete mode 100644 layouts/partials/.katex.html.kate-swp diff --git a/layouts/_default/config.toml b/layouts/_default/config.toml deleted file mode 100644 index ffa7d3a..0000000 --- a/layouts/_default/config.toml +++ /dev/null @@ -1,5 +0,0 @@ - # For a simple 404 - [params.notFound] - title = "Page not found" - description = "This page was not found." - text = "Nothing to see here, buddy." diff --git a/layouts/partials/.katex.html.kate-swp b/layouts/partials/.katex.html.kate-swp deleted file mode 100644 index 77a0862..0000000 Binary files a/layouts/partials/.katex.html.kate-swp and /dev/null differ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d737550..5156707 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,8 +3,8 @@ {{ $lightAccent := .Site.Params.Style.lightAccent | default .Site.Data.default.style.lightAccent }} -{{ if or (templates.Exists "partials/custom/footer") (templates.Exists "partials/custom/footer.html") }} - {{ partial "custom/footer" . }} +{{ if or (templates.Exists "partials/custom/copyright") (templates.Exists "partials/custom/copyright.html") }} + {{ partial "custom/copyright" . }} {{ else }}

{{ .Site.Copyright | markdownify | emojify }}

{{ end }} diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html index 3e9f895..185d769 100644 --- a/layouts/partials/katex.html +++ b/layouts/partials/katex.html @@ -36,7 +36,7 @@ const $katexBlocks = getAll('span.katex-display'); - // While we are at it... Some a11y + // Some a11y const $katexLabel = {{ T "box_containing_expression" }}; $katexBlocks.forEach(function ($el) { -- cgit v1.2.3