Skip to content

Commit

Permalink
docs: fix section link
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Feb 13, 2024
1 parent 8f2b7ef commit 46865d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/docs/post.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
{{.Content}}
{{end}}
{{range .Sections}}
<h2><a href="/blog/{{.URL}}">{{.Title}}</a> </h2>
<h2><a href="/blog/{{.URL}}" class="permalink">#</a>{{.Title}} </h2>
<ul>
{{range .Posts}}
<li><a href="/blog/{{.URL}}"><i>{{.Date}}</i> - {{.Title}}</a> </li>
{{end}}
</ul>
{{end}}
{{with .Section}}
<h2><a href="/blog/{{.URL}}">{{.Title}}</a> </h2>
<h2><a href="/blog/{{.URL}}" class="permalink">#</a>{{.Title}} </h2>
<ul>
{{range .Posts}}
<li><a href="/blog/{{.URL}}"><i>{{.Date}}</i> - {{.Title}}</a> </li>
Expand Down

0 comments on commit 46865d0

Please sign in to comment.