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

github.com/aanupam23/hugo-sugoi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraanupam23 <11939280+aanupam23@users.noreply.github.com>2020-05-11 12:53:56 +0300
committeraanupam23 <11939280+aanupam23@users.noreply.github.com>2020-05-11 12:53:56 +0300
commitfb50bb13954f2abb04672a33a80b95dc0cfbefbf (patch)
tree3850ef53b04ae4c02d57047f37aa2c97946f157a
parent85cc5de0c7fb46e79f50cfea89f6f643213f49ff (diff)
Updated hugo-sugoi based on 836a
-rw-r--r--README.md3
-rw-r--r--exampleSite/config.toml7
-rw-r--r--layouts/partials/footer.html2
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 43df5f5..96b485b 100644
--- a/README.md
+++ b/README.md
@@ -39,4 +39,5 @@ $ git submodule add https://github.com/aanupam23/hugo-sugoi.git themes/hugo-sugo
### Acknowledgements
- [Skeleton](https://github.com/dhg/Skeleton/)
- [Hugo Templates](https://gohugo.io/templates)
-- [Lorem Markdownum](https://jaspervdj.be/lorem-markdownum/) \ No newline at end of file
+- [Lorem Markdownum](https://jaspervdj.be/lorem-markdownum/)
+- [Hugo Ananke](https://github.com/budparr/gohugo-theme-ananke) \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index cc4e3e8..8b569f9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -2,7 +2,6 @@ theme = "hugo-sugoi"
baseURL = "https://example.com"
languageCode = "en-us"
title = "Sugoi"
-copyright = "&copy; {currentYear} Your Site"
summaryLength = 20
paginate = 5
# Google Analytics ID, Uncomment below line to enable
@@ -24,15 +23,15 @@ contact = "Send me a message and I will get back as soon as possible."
[[menu.nav]]
name = "about"
pre = "<i class='fas fa-home'></i>"
- url = "/about/"
+ url = "/about"
weight = -1
[[menu.nav]]
name = "blog"
pre = "<i class='fas fa-list'></i>"
- url = "/post/"
+ url = "/post"
weight = -2
[[menu.nav]]
name = "contact"
pre = "<i class='fas fa-envelope'></i>"
- url = "/contact/"
+ url = "/contact"
weight = -3 \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d88af0d..bddf7f1 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,6 +1,6 @@
<footer>
<span class="copyright">
- {{ with replace .Site.Copyright "{currentYear}" now.Year }}{{ . | markdownify}} &middot; {{ end }}
+ {{ with .Site.Copyright | default "&copy;" }} {{ . | safeHTML }} {{ now.Format "2006"}} {{ end }}
<a href="https://github.com/aanupam23/hugo-sugoi" title="hugo-sugoi" alt="hugo-sugoi" target="_blank">Hugo-Sugoi</a>
</span>
</footer> \ No newline at end of file