Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrmaguiar <rmaguiar@tuta.io>2020-07-18 23:07:20 +0300
committerrmaguiar <rmaguiar@tuta.io>2020-07-18 23:07:20 +0300
commit171e7b786253c2aa97c5c720e255cfaff1cec9e8 (patch)
tree8feabf851a83bd5937b8734b8c3f47100513f3fc
parent2bb302af15de5877cec0b113ddd46050bb4721cd (diff)
Fix custom copyright and minor changes
-rw-r--r--layouts/_default/config.toml5
-rw-r--r--layouts/partials/.katex.html.kate-swpbin61 -> 0 bytes
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/katex.html2
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
deleted file mode 100644
index 77a0862..0000000
--- a/layouts/partials/.katex.html.kate-swp
+++ /dev/null
Binary files 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 }}
<!-- 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) {