+ Adding proper index page building
+ Favicon to head section of pages * Fixed date formatting in multiple places + Skeleton for posts which I don't think is being used but I could be wrong
This commit is contained in:
13
themes/shockrah.xyz/layouts/partials/posts.html
Normal file
13
themes/shockrah.xyz/layouts/partials/posts.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<p>
|
||||
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{ partial "metadata.html" }}
|
||||
<a class="summary" href="{{ .RelPermalink }}">
|
||||
<p>{{ .Summary }}</p>
|
||||
</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user