consistency and look
This commit is contained in:
parent
0982f4361d
commit
07e4d56f7e
2 changed files with 9 additions and 9 deletions
|
@ -1,9 +1,9 @@
|
||||||
<a href="{{ .Get 0 }}" class="link-preview">
|
<section class="listing" {{if .Get 3}} style="background-image:url({{.Site.BaseURL}}{{.Get 3}}" {{end}}>
|
||||||
{{if .Get 3}}
|
|
||||||
<img src='{{.Get 3}}'>
|
|
||||||
{{end}}
|
<div class="listing-text">
|
||||||
<div>
|
<a href="{{.Get 0}}" ><h2>{{.Get 1}}</h2><i>{{.Get 2}}</i></a>
|
||||||
<h3>{{ .Get 1 }}</h3>
|
|
||||||
<p>{{.Get 2 }}</p>
|
<span></span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</section>
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
<div class="gallery">
|
<div class="gallery">
|
||||||
{{ $tag := .Get 0 }}
|
{{ $tag := .Get 0 }}
|
||||||
{{range .Site.RegularPages.RelatedTo (keyVals "tags" $tag) }}
|
{{range first 5 ( .Site.RegularPages.RelatedTo (keyVals "tags" $tag))}}
|
||||||
{{partial "item" .}}
|
{{partial "item" .}}
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue