Skip to content

Commit

Permalink
Replace Page.URL with Page.Permalink (#50)
Browse files Browse the repository at this point in the history
This is necessary to build the site in newer versions of Hugo,
tested on v0.108.0
  • Loading branch information
twizmwazin authored Dec 7, 2022
1 parent 5080e88 commit 2afa304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ partial "header.html" . }}
{{ range .Data.Pages }}
<a href="{{ .URL }}" class="post" >
<a href="{{ .Permalink }}" class="post" >
<div class="bar-appears">
<div class="list-main">
<span class="list-title">{{ .Title }}</span>
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/taxonomy.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ partial "header.html" . }}
<h1 style="display: inline">{{ .Data.Singular }}: {{ replace .Data.Term "_" " " }}</h1><br>
{{ range .Data.Pages }}
<a href="{{ .URL }}" class="post" >
<a href="{{ .Permalink }}" class="post" >
<div class="bar-appears">
<div class="list-main">
<span class="list-title">{{ .Title }}</span>
Expand Down

0 comments on commit 2afa304

Please sign in to comment.