2020-12-03 16:07:08 +01:00
|
|
|
<div class="row box-masonry" style="margin-right: 10px">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<a href="{{ .Permalink }}" title="" class="box-masonry-image with-hover-overlay with-hover-icon">
|
2021-03-18 10:49:57 +01:00
|
|
|
<img loading="lazy" src="{{.Site.BaseURL}}{{ .Params.image }}" alt="thumbnail of {{ .Title }}" class="img-responsive img-inactive">
|
2020-12-03 16:07:08 +01:00
|
|
|
{{ if .Params.imageActive }}
|
2021-03-18 10:49:57 +01:00
|
|
|
<img loading="lazy" src="{{.Site.BaseURL}}{{ .Params.imageActive }}" alt="hover thumbnail of {{ .Title }}" class="img-responsive img-active">
|
2020-12-03 16:07:08 +01:00
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="box-masonry-text">
|
|
|
|
<h4 style="margin: 0; float: left;"><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
|
|
|
{{ .Date.Format (.Site.Params.dateFormat | default "01/2006") | $.Scratch.Set "subtitle" }}
|
|
|
|
<span class="sidebar-date" style="float: right;">
|
|
|
|
<i class='fa fa-calendar'></i>
|
|
|
|
{{ $.Scratch.Get "subtitle" }}
|
|
|
|
</span>
|
|
|
|
<div class="box-masonry-description" style="clear: both;">
|
|
|
|
<p>
|
|
|
|
{{ if .Description }}
|
|
|
|
{{ .Description }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Summary }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div> <!-- box-masonry-text -->
|
|
|
|
</div>
|
|
|
|
</div><!-- row -->
|