long time no update :o
This commit is contained in:
parent
33fb7cb34c
commit
c974ac8f1a
29 changed files with 280 additions and 147 deletions
14
layouts/shortcodes/verticalposts.html
Normal file
14
layouts/shortcodes/verticalposts.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
<section class="verticalposts">
|
||||
{{ with .Get "header" }}<h2>{{ i18n . }} <a href="blog/"class="more">{{ i18n "verticalposts-more" }}</a></h2>{{ end }}
|
||||
<div class="verticalposts-wrapper">
|
||||
{{ range first 3 (where .Site.RegularPages "Section" "blog") }}
|
||||
<a href="{{ .Permalink }}" class="post-group">
|
||||
<p class="title">{{ .Title }}</p>
|
||||
<aside class="meta" title="{{ .Date | time.Format "2 Jan 2006, 15:04 MST" }}">
|
||||
<span class="date">{{ .Date | time.Format "2. January 2006" }}</span>
|
||||
<span class="author">{{ with .Params.author }}by {{ end }}{{ .Params.author }}</span>
|
||||
</aside>
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue