Browse Source

Update homepage and footer

Track3 1 year ago
parent
commit
99f6b10f74
2 changed files with 4 additions and 4 deletions
  1. 2 2
      hugo.toml
  2. 2 2
      layouts/_default/baseof.html

+ 2 - 2
hugo.toml

@@ -24,8 +24,8 @@ copyright = "This work is licensed under a Creative Commons Attribution-NonComme
     guessSyntax = false
     noClasses = false
 
-# [taxonomies]
-#   tag = "tags"
+[taxonomies]
+  tag = "tags"
 
 [params]
   images = ["apple-touch-icon.png"]

+ 2 - 2
layouts/_default/baseof.html

@@ -39,7 +39,7 @@
 		<ul class="lsc">
 			{{- range .Site.Menus.main -}}
 			<li>
-				<a href="{{ .URL }}">{{ .Name }}</a>
+				<a href="{{ .URL }}" title="{{ .Params.description }}">{{ .Name }}</a>
 			</li>
 			{{- end }}
 		</ul>
@@ -48,7 +48,7 @@
 		<h2>About / 关于</h2>
 		<ul class="lsn dim site-footer">
 			<li>&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>. Content licensed under <a href="https://creativecommons.org/licenses/by-nc/4.0/deed.zh" target="_blank" rel="noopener">CC BY-NC 4.0</a>.</li>
-			<li>View the "<a href="/about/">About</a>" page to learn more. Keep track via <a href="{{ "writing/index.xml" | absURL }}" target="_blank" title="RSS">RSS</a>.</li>
+			<li>Check "<a href="/about/" title="关于">About</a>" to learn more. Keep track via <a href="{{ "writing/index.xml" | absURL }}" target="_blank">RSS</a>.</li>
 			<li class="tdln"><a href="https://xn--sr8hvo.ws/%F0%9F%90%A3%F0%9F%8E%91%F0%9F%8D%A5/previous">←</a> An <a href="https://xn--sr8hvo.ws/">IndieWeb Webring</a> 🕸💍 <a href="https://xn--sr8hvo.ws/%F0%9F%90%A3%F0%9F%8E%91%F0%9F%8D%A5/next">→</a></li>
 		</ul>
 	</footer>