+ 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:
@@ -3,10 +3,19 @@
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="main">
|
||||
<div id="content">
|
||||
<!-- This is where we grab all the posts with their heaers and shit -->
|
||||
<!-- Title | date | description is all we want from each post -->
|
||||
<div id="layout">
|
||||
<div id="main">
|
||||
<div class="content">
|
||||
<!-- Title | date | description is all we want from each post -->
|
||||
{{ $articles := where .Site.Pages "Params.Category" "article" }}
|
||||
{{ range $articles }}
|
||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||
<blockquote><p>{{.Date.Format "January 2, 2006"}}</p></blockquote>
|
||||
{{ if isset .Params "description" }}
|
||||
<blockquote><p>{{ .Description }}</p></blockquote>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user