forked from microdotblog/theme-hyde
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Duplicate list as index to see if it will work
- Loading branch information
Alex Ezell
committed
Apr 24, 2022
1 parent
abb88d6
commit b28f033
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{ define "main" }} | ||
<div class="posts h-feed"> | ||
|
||
{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") (index .Site.Params "archive-paginate" | default 25) }} | ||
{{ range $paginator.Pages }} | ||
|
||
<div class="post"> | ||
<a href="{{ .Permalink }}" class="post-date u-url"><time class="dt-published" datetime="{{ .Date.Format "2006-01-02 15:04:05 -0700" }}">{{ .Date.Format "2 Jan 2006" }}</time></a> | ||
{{ if .Title }} | ||
<h1 class="page-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1> | ||
{{ end }} | ||
<div class="e-content"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
|
||
{{ end }} | ||
|
||
</div> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "1.0", | ||
"version": "1.0.1", | ||
"title": "Vapor1994 theme", | ||
"description": "Changes your blog to use the Vapor1994 theme." | ||
} |