diff options
author | rmaguiar <rmaguiar@tuta.io> | 2020-07-18 23:07:20 +0300 |
---|---|---|
committer | rmaguiar <rmaguiar@tuta.io> | 2020-07-18 23:07:20 +0300 |
commit | 171e7b786253c2aa97c5c720e255cfaff1cec9e8 (patch) | |
tree | 8feabf851a83bd5937b8734b8c3f47100513f3fc /layouts | |
parent | 2bb302af15de5877cec0b113ddd46050bb4721cd (diff) |
Fix custom copyright and minor changes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/config.toml | 5 | ||||
-rw-r--r-- | layouts/partials/.katex.html.kate-swp | bin | 61 -> 0 bytes | |||
-rw-r--r-- | layouts/partials/footer.html | 4 | ||||
-rw-r--r-- | layouts/partials/katex.html | 2 |
4 files changed, 3 insertions, 8 deletions
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 Binary files differdeleted file mode 100644 index 77a0862..0000000 --- a/layouts/partials/.katex.html.kate-swp +++ /dev/null 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 }} <!-- Custom footer or default copyright --> -{{ 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 }} <p>{{ .Site.Copyright | markdownify | emojify }}</p> {{ 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) {
|