mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-12-08 16:20:24 +00:00
More switches to RelPermalink
This commit is contained in:
parent
fb67108120
commit
e253bf878d
10 changed files with 13 additions and 13 deletions
|
|
@ -29,14 +29,14 @@
|
|||
<p class="bloglist-date">{{ .Key }}</p>
|
||||
{{ range .Pages }}
|
||||
<div class="bloglist-item">
|
||||
<p><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
<p><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
|
||||
<p class="bloglist-item-tag">
|
||||
{{ $tag_count := 0 }}
|
||||
{{ range .Params.tags }}
|
||||
{{ if lt $tag_count 2 }}
|
||||
{{ $name := . }}
|
||||
{{ with $.Site.GetPage (printf "/tags/%s" (. | urlize)) }}
|
||||
<span><a href="{{ .Permalink }}">#{{ $name }}</a> </span>
|
||||
<span><a href="{{ .RelPermalink }}">#{{ $name }}</a> </span>
|
||||
{{ end }}
|
||||
{{ $tag_count = add $tag_count 1 }}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue