Skip to content

Commit ddc5bdc

Browse files
authored
Use .RelPermalink in events list
1 parent 64507ec commit ddc5bdc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

layouts/events/list.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2 class="inter-700 text-32 dark-900 mb-4 pb-2 border-bottom border-primary">Up
4444
<li class="list-group-item py-3 px-0 border-bottom">
4545
<div class="d-flex justify-content-between align-items-center">
4646
<div>
47-
<h4 class="inter-600 text-18 dark-900 mb-1"><a href="{{ .Permalink }}" class="text-decoration-none dark-900 hover-primary">{{ .Title }}</a></h4>
47+
<h4 class="inter-600 text-18 dark-900 mb-1"><a href="{{ .RelPermalink }}" class="text-decoration-none dark-900 hover-primary">{{ .Title }}</a></h4>
4848
<div class="d-flex flex-wrap gap-3">
4949
<p class="inter-400 text-14 dark-600 mb-0">
5050
<i class="fas fa-calendar-alt text-primary me-1"></i>
@@ -71,7 +71,7 @@ <h4 class="inter-600 text-18 dark-900 mb-1"><a href="{{ .Permalink }}" class="te
7171
{{ end }}
7272
</div>
7373
</div>
74-
<a href="{{ .Permalink }}" class="btn btn-outline-primary btn-sm">View Details</a>
74+
<a href="{{ .RelPermalink }}" class="btn btn-outline-primary btn-sm">View Details</a>
7575
</div>
7676
</li>
7777
{{ end }}
@@ -92,7 +92,7 @@ <h2 class="inter-700 text-32 dark-900 mb-4 pb-2 border-bottom border-primary">Pr
9292
<li class="list-group-item py-3 px-0 border-bottom">
9393
<div class="d-flex justify-content-between align-items-center">
9494
<div>
95-
<h4 class="inter-600 text-18 dark-900 mb-1"><a href="{{ .Permalink }}" class="text-decoration-none dark-900 hover-primary">{{ .Title }}</a></h4>
95+
<h4 class="inter-600 text-18 dark-900 mb-1"><a href="{{ .RelPermalink }}" class="text-decoration-none dark-900 hover-primary">{{ .Title }}</a></h4>
9696
<div class="d-flex flex-wrap gap-3">
9797
<p class="inter-400 text-14 dark-600 mb-0">
9898
<i class="fas fa-calendar-alt text-primary me-1"></i>
@@ -119,7 +119,7 @@ <h4 class="inter-600 text-18 dark-900 mb-1"><a href="{{ .Permalink }}" class="te
119119
{{ end }}
120120
</div>
121121
</div>
122-
<a href="{{ .Permalink }}" class="btn btn-outline-primary btn-sm">View Details</a>
122+
<a href="{{ .RelPermalink }}" class="btn btn-outline-primary btn-sm">View Details</a>
123123
</div>
124124
</li>
125125
{{ end }}

0 commit comments

Comments
 (0)