summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-05-21 21:41:35 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-05-21 21:41:35 +0200
commit555e95319513c7c8289ffe9d188ca1899e5cf70d (patch)
tree261d25f66986f42ae7f8ac6455011191cd14c423 /layouts/index.html
downloadblog-555e95319513c7c8289ffe9d188ca1899e5cf70d.tar.gz
blog-555e95319513c7c8289ffe9d188ca1899e5cf70d.zip
migrate to hugo
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..673ab35
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,12 @@
+{{ partial "header.html" . }}
+
+ <main role="main">
+{{ range (where .Data.Pages ".Params.hidefromhome" "!=" "true") }}
+ <article itemscope itemtype="http://schema.org/Blog">
+ <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
+ <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
+ </article>
+{{ end }}
+ </main>
+
+{{ partial "footer.html" . }}