Skip to content

Commit

Permalink
增加分类和标签的聚合页链接
Browse files Browse the repository at this point in the history
  • Loading branch information
luodaoyi authored and flysnoworg committed Aug 20, 2020
1 parent d87fe45 commit 578e3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/categories.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h3 class="widget-title">分类</h3>
<h3 class="widget-title"><a href="/categories">分类</a></h3>
<ul class="widget-list">
{{ range .Site.Taxonomies.categories }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }} ({{ .Count }})</a></li>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/tags.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h3 class="widget-title">标签</h3>
<h3 class="widget-title"><a href="/tags">标签</a></h3>
<div class="tagcloud">
{{ range .Site.Taxonomies.tags }}
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
Expand Down

0 comments on commit 578e3e3

Please sign in to comment.