ソースを参照

Remove id from list entry divs

Apis Necros 2 年 前
コミット
3270d32d73
1 ファイル変更1 行追加1 行削除
  1. 1 1
      layouts/_default/list.html

+ 1 - 1
layouts/_default/list.html

@@ -1,7 +1,7 @@
 {{ define "main" }}
 	<h1>{{ .Title }}</h1>
 	{{ range .Pages.ByPublishDate.Reverse }}
-	<div id="blog-{{ .Slug }}" class="panel my-2">
+	<div class="panel my-2">
 		<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">