Przeglądaj źródła

Fix links to posts

Apis Necros 2 lat temu
rodzic
commit
1dd603612f
1 zmienionych plików z 1 dodań i 1 usunięć
  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" />