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

github.com/ertuil/erblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutong Chen <ertuil98@foxmail.com>2020-04-17 06:19:34 +0300
committerLutong Chen <ertuil98@foxmail.com>2020-04-17 06:19:34 +0300
commit2582a9b2d8d1eb889ccc95da2ababc048628a3fe (patch)
treeb39eae0bd2726d390df11d89bb148fa51200208a
parente90862125b681557ef644618fc71d36f9bd21326 (diff)
fixed #12 and #13
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/info.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 5a590cb..4867189 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -15,7 +15,7 @@ footnoteReturnLinkContents = "^"
<br />
<p>Also all html tags such as <a href="https://github.com/ertuil/erblog">link</a> are a good here.</p>
"""
- copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved."
+ # copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved."
[[menu.main]]
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 72d9eea..6967213 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -18,6 +18,6 @@
{{end}}
<div class="layui-container">
- <p class="copyright">{{ .Site.Params.copyright | default "&copy; All rights reserved. Powered by [Hugo](https://gohugo.io) and [Erblog](https://github.com/ertuil/erblog)." | safeHTML }}</p>
+ <p class="copyright">{{ .Site.Params.copyright | default "&copy; All rights reserved. Powered by <a href='https://gohugo.io' style='color:#FFFFFF'>Hugo</a> and <a href='https://github.com/ertuil/erblog' style='color:#FFFFFF'>Erblog</a>." | safeHTML }}</p>
</div>
</footer> \ No newline at end of file
diff --git a/layouts/partials/info.html b/layouts/partials/info.html
index ff06573..3082d96 100644
--- a/layouts/partials/info.html
+++ b/layouts/partials/info.html
@@ -8,7 +8,7 @@
-->
<i class="layui-icon layui-icon-tabs" style="font-size: 22px; vertical-align: 0px;"></i>
{{ range .Params.tags }}
- <a href="{{ "tags/" | relLangURL }}{{ . | urlize | lower }}">
+ <a href="{{ "tags/" | relLangURL }}{{ . | urlize | lower }}/">
<span class="layui-badge" style="vertical-align: 2px;">{{ . }}</span>
</a>
{{ end }}