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.
Fix index display and clean up head formatting
- Loading branch information
Alex Ezell
committed
Apr 24, 2022
1 parent
b28f033
commit 38f82d9
Showing
4 changed files
with
40 additions
and
14 deletions.
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,2 @@ | ||
# Ignore all HTML files: | ||
*.html |
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,23 @@ | ||
{{ define "main" }} | ||
<div class="posts h-feed"> | ||
|
||
{{ range ( .Paginate (where .Site.RegularPages "Type" "post")).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 // 15:04" }} | ||
</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
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.1", | ||
"version": "1.0.2", | ||
"title": "Vapor1994 theme", | ||
"description": "Changes your blog to use the Vapor1994 theme." | ||
} |