summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..68284ef
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,28 @@
+{{ define "main" }}
+ <main aria-role="main">
+ <div class="homepage-content is-normal">
+ {{.Content}}
+ </div>
+ <div>
+ {{ range where (where .Site.RegularPages "Type" "blog") "File.Dir" "archive/" }}
+ <article>
+ <div>
+ <h2><a class="title is-3" href="{{ .RelPermalink }}"><i class="fas fa-file"></i> {{ .Title }}</a></h2>
+ <p></p>
+ </div>
+ <p>&nbsp
+ </p>
+ <p>
+ {{ .Summary }}
+ </p>
+ {{ if .Truncated }}
+ <div>
+ <i class="fas fa fa-bookmark"></i><a class="is-italic" href="{{ .RelPermalink }}"> Read More…</a>
+ </p>
+ </div>
+ {{ end }}
+ </article>
+ {{ end }}
+ </div>
+ </main>
+{{ end }} \ No newline at end of file