diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-05-21 21:41:35 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-05-21 21:41:35 +0200 |
| commit | 555e95319513c7c8289ffe9d188ca1899e5cf70d (patch) | |
| tree | 261d25f66986f42ae7f8ac6455011191cd14c423 /layouts/index.html | |
| download | blog-555e95319513c7c8289ffe9d188ca1899e5cf70d.tar.gz blog-555e95319513c7c8289ffe9d188ca1899e5cf70d.zip | |
migrate to hugo
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 12 |
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" . }} |
