Initial commit: Add telonma homepage
This commit is contained in:
20
themes/hugo-arcana/layouts/partials/postlist.html
Normal file
20
themes/hugo-arcana/layouts/partials/postlist.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="row">
|
||||
{{ range . }}
|
||||
<section class="col-6 col-12-narrower">
|
||||
<div class="box post">
|
||||
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ .Params.image | relURL }}" alt="{{ .Params.image_alt }}" /></a>
|
||||
<div class="inner">
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
{{ with .Date }}<p class="date">{{ . | time.Format ":date_medium" }}</p>{{ end }}
|
||||
<p>
|
||||
{{ with .Description }}
|
||||
{{ . }}
|
||||
{{ else }}
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user