diff options
author | Anupam <11939280+aanupam23@users.noreply.github.com> | 2020-05-11 12:56:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 12:56:05 +0300 |
commit | e126a4705a26b31edbc95b72d9fb3f7c8ca54a58 (patch) | |
tree | 3850ef53b04ae4c02d57047f37aa2c97946f157a | |
parent | 85cc5de0c7fb46e79f50cfea89f6f643213f49ff (diff) | |
parent | fb50bb13954f2abb04672a33a80b95dc0cfbefbf (diff) |
Merge pull request #2 from aanupam23/fixes-836a
Updated hugo-sugoi based on 836a
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | exampleSite/config.toml | 7 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -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 = "© {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}} · {{ end }}
+ {{ with .Site.Copyright | default "©" }} {{ . | 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 |