Skip to content

Commit

Permalink
Remove latest posts from home page
Browse files Browse the repository at this point in the history
peymanslh committed Feb 5, 2024
1 parent bd63d92 commit 3549dc6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions themes/blueberry/layouts/index.html
Original file line number Diff line number Diff line change
@@ -40,16 +40,6 @@ <h2>Query and Filtering Data<span class="dot"></span></h2>
{{ end }}
</ul>

<h2>Latest Posts<span class="dot"></span></h2>
<ul class="home-posts">
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "posts") }}
{{ range $paginator.Pages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
{{ template "_internal/pagination.html" . }}
</ul>


{{ end }}

{{ define "footer_js" }}

0 comments on commit 3549dc6

Please sign in to comment.