50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
{{ partial "header.html" . }}
|
|
{{ partial "navbar.html" . }}
|
|
|
|
{{ partial "header_image.html" . }}
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<h1>{{ .Title | default (i18n "publications") }}</h1>
|
|
|
|
{{ with .Content }}
|
|
<div class="article-style" itemprop="articleBody">{{ . }}</div>
|
|
{{ end }}
|
|
|
|
<p>
|
|
{{ i18n "filter_by_type" }}:
|
|
<select class="pub-filters-select">
|
|
<option value="*">{{ i18n "filter_all" }}</option>
|
|
{{ range $index, $taxonomy := .Site.Taxonomies.publication_types }}
|
|
<option value=".pubtype-{{ (int $index) }}">
|
|
{{ index $.Site.Params.publication_types (int $index) }}
|
|
</option>
|
|
{{ end }}
|
|
</select>
|
|
</p>
|
|
|
|
<div id="container-publications">
|
|
{{ range .Pages.ByDate.Reverse }}
|
|
|
|
{{ if .Params.publication_types }}
|
|
{{ $.Scratch.Set "pubtype" (index .Params.publication_types 0) }}
|
|
{{ else }}
|
|
{{ $.Scratch.Set "pubtype" 0 }}
|
|
{{ end }}
|
|
|
|
<div class="grid-sizer col-md-12 isotope-item pubtype-{{ $.Scratch.Get "pubtype" }}">
|
|
<i class="fa fa-file-text-o" aria-hidden="true"
|
|
style="color:#03396c;font-size:80%;padding-top:6px; padding-right: 10px;"></i>{{ .Title }}
|
|
<p>{{ partial "publication_links" (dict "content" . "is_list" 1) }}</p>
|
|
</div>
|
|
|
|
{{ end }}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ partial "footer_container.html" . }}
|
|
{{ partial "footer.html" . }}
|