Skip to content

Commit

Permalink
Update list.html
Browse files Browse the repository at this point in the history
  • Loading branch information
vachan-maker authored Feb 1, 2024
1 parent acae4d4 commit 361e615
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,19 @@ <h1>{{ .Title }}</h1>
<div>
{{ range .Pages }}

<a href="{{ .Permalink }}">
<!-- [html-validate-disable-next prefer-native-element] -->
<div class="postListItem" role="listitem">
<div class="postHeader">
<span class="postTitle">{{ .Title }}</span>
<article class="postListItem" role="listitem">
<header class="postHeader">
<a href="{{ .Permalink }}"><span class="postTitle">{{ .Title }}</span></a>
{{ $formattedDate := .Date.Format "2006-01-02" }}
<time class="postDate" datetime="{{ $formattedDate }}">{{ .Date | time.Format ":date_long" }}</time>
</div>
<div class="postExcerpt">
<p>{{ .Summary }}</p>
</div>
</div>
</a>
</header>
<p class = "postExcerpt">{{ .Summary }}</p>
</article>


{{end}}
</div>
</div>

{{ end }}
{{ end }}

0 comments on commit 361e615

Please sign in to comment.