46 lines
2.0 KiB
HTML
46 lines
2.0 KiB
HTML
<div class="col-xs-12 col-sm-8 col-md-9 content-column">
|
|
{{ partial "mobile_nav_toggle.html" . }}
|
|
|
|
{{ .Content }}
|
|
|
|
<div class="grid">
|
|
<div class="row">
|
|
{{ range .Data.Pages }}
|
|
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 masonry-item">
|
|
<div class="box-masonry">
|
|
{{ if and (isset .Params "image") .Params.image }}
|
|
{{ if eq .Params.showonlyimage true }}
|
|
<a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay">
|
|
{{ else }}
|
|
<a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay with-hover-icon">
|
|
{{ end }}
|
|
<img src="{{.Site.BaseURL}}{{ .Params.image }}" alt="" class="img-responsive img-inactive">
|
|
{{ if .Params.imageActive }}
|
|
<img src="{{.Site.BaseURL}}{{ .Params.imageActive }}" alt="" class="img-responsive img-active">
|
|
{{ end }}
|
|
</a>
|
|
{{ end }}
|
|
{{ if eq .Params.showonlyimage true }}
|
|
<div class="box-masonry-hover-text-header">
|
|
{{ else }}
|
|
<div class="box-masonry-text">
|
|
{{ end }}
|
|
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
|
<div class="box-masonry-description">
|
|
<p>
|
|
{{ if .Description }}
|
|
{{ .Description }}
|
|
{{ else }}
|
|
{{ .Summary }}
|
|
{{ end }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|