|
@@ -25,10 +25,9 @@
|
|
|
<div class="col-auto">
|
|
|
<select class="pub-filters pubtype-select form-control form-control-sm" data-filter-group="pubtype">
|
|
|
<option value="*">{{ i18n "publication_type" }}</option>
|
|
|
- {{ partial "pub_types.html" $ }}
|
|
|
+ {{ $pub_types := partial "functions/get_pub_types" $ }}
|
|
|
{{ range $index, $taxonomy := site.Taxonomies.publication_types }}
|
|
|
<option value=".pubtype-{{ (int $index) }}">
|
|
|
- {{ $pub_types := $.Scratch.Get "pub_types" }}
|
|
|
{{ index $pub_types (int $index) }}
|
|
|
</option>
|
|
|
{{ end }}
|