Explorar o código

Fix links to posts

Apis Necros %!s(int64=2) %!d(string=hai) anos
pai
achega
1dd603612f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      layouts/_default/list.html

+ 1 - 1
layouts/_default/list.html

@@ -2,7 +2,7 @@
 	<h1>{{ .Title }}</h1>
 	{{ range .Pages.ByPublishDate.Reverse }}
 	<div id="blog-{{ .Slug }}" class="panel my-2">
-		<h2><a href="{{ .Slug }}">{{ .Title }}</a></h2>
+		<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
 		<div class="flex flex-row flex-wrap md:flex-nowrap mt-2">
 			<span class="image-wrapper w-full h-32 md:w-32 md:h-32">
 				<img srcset="/imgs/no-image-new.webp" src="/imgs/no-image-new.png" alt="Filler" />