diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 16:32:35 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-08-21 16:32:35 +0200 |
| commit | 1f824e6ae5ac39d0cefe0244ea9223c1783494f3 (patch) | |
| tree | b898d60dabde26ace368e1482a6189d5009ae95f /themes/flog/layouts/partials/listing.html | |
| download | pragblog-1f824e6ae5ac39d0cefe0244ea9223c1783494f3.tar.gz pragblog-1f824e6ae5ac39d0cefe0244ea9223c1783494f3.zip | |
first commit, dummies
Diffstat (limited to 'themes/flog/layouts/partials/listing.html')
| -rw-r--r-- | themes/flog/layouts/partials/listing.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/themes/flog/layouts/partials/listing.html b/themes/flog/layouts/partials/listing.html new file mode 100644 index 0000000..bc97b30 --- /dev/null +++ b/themes/flog/layouts/partials/listing.html @@ -0,0 +1,28 @@ +<main role="main"> + <h1>{{ .Title }}</h1> + <div class="row grid"> + <div class="grid-sizer col s1"></div> + {{ range .Data.Pages }} + {{ if .Params.image }} + <article itemscope itemtype="http://schema.org/BlogPosting" class="col s12 m6 grid-item grid--width6"> + {{ else }} + <article itemscope itemtype="http://schema.org/BlogPosting" class="col s12 m4 grid-item grid--width4"> + {{ end }} + <div class="card"> + {{ if .Params.image }} + <div class="card-image"> + <img src="/images/{{ .Params.image }}"> + </div> + {{ end }} + <section class="card-content" itemprop="text"> + <span class="card-title" itemprop="headline">{{ .Title }}</span> + <p>{{ .Summary }}</p> + </section> + <div class="card-action"> + <a href="{{ .RelPermalink }}">Weiterlesen…</a> + </div> + </div> + </article> + {{ end }} + </div> +</main> |
