Enables users to place other *.bib files in the folder, to be used for other purposes such as Blogdown bibliographies. Close #1157
@@ -29,7 +29,7 @@
{{ i18n "btn_pdf" }}
</a>
{{ end }}
-{{ $resource := $page.Resources.GetMatch "*.bib" }}
+{{ $resource := $page.Resources.GetMatch "cite.bib" }}
{{ with $resource }}
<button type="button" class="btn btn-outline-primary my-1 mr-1{{ if $is_list }} btn-sm{{end}} js-cite-modal"
data-filename="{{ .RelPermalink }}">
@@ -10,7 +10,7 @@
{{ $pdf_link = true }}
{{ $cite_link = true }}