56 lines
2.2 KiB
HTML
56 lines
2.2 KiB
HTML
<div class="col-xs-12 col-sm-8 col-md-9 content-column">
|
|
{{ partial "mobile_nav_toggle.html" . }}
|
|
|
|
<div class="col-lg-8">
|
|
<img src="/img/logo.png"/>
|
|
{{ if eq .Paginator.PageNumber 1 }}
|
|
<div class="content-column-content">
|
|
{{ .Content }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<h3>Featured Codex Articles
|
|
<span class='pages'>({{ .Paginator.PageNumber }}/{{ .Paginator.TotalPages }})</span> »
|
|
</h3>
|
|
|
|
{{ range (.Paginate .Pages).Pages }}
|
|
<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">
|
|
<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>
|
|
</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 -->
|
|
{{ end }}
|
|
|
|
<div style="text-align: center;">
|
|
{{- template "_internal/pagination.html" . }}
|
|
</div>
|
|
|
|
<hr/>
|
|
</div>
|
|
</div>
|
|
|