+
+{{- $authors := .Params.authors -}}
+{{- $editors := .Params.editors -}}
+{{- $isPatent := eq .Params.item_type "patent" -}}
+{{- if or $authors $editors -}} {{- /* no empty
if neither */ -}}
+
+ {{- if $authors -}}
+ {{- if reflect.IsSlice $authors -}}
+ {{- if $isPatent }}
+ Inventors:
+ {{ end }}
+ {{ delimit $authors "; " "; and " }}
+ {{- else -}}
+ {{- if $isPatent }}
+ Inventor:
+ {{ end }}
+ {{ $authors }}
+ {{- end -}}
+ {{- else -}}
+ Edited by:
+ {{ if reflect.IsSlice $editors }}
+ {{ delimit $editors "; " "; and " }}
+ {{- else }}
+ {{ $editors }}
+ {{- end -}}
+ {{- end -}}
+
+{{- end -}}
+
+
+ {{- $d := .Date -}}
+ {{- with .Params.date -}}
+ {{- $datestr := trim . " " -}}
+ {{- if and (ne $datestr "") (findRE `^\d{4}-\d{2}-\d{2}` $datestr) -}}
+ {{- $d = time $datestr -}}
+ {{- end -}}
+ {{- end }}
+ {{- $d = $d.Format "2006-01-02" -}}
+ {{- /* Don't display bogus date */ -}}
+ {{- if (ne $d "0001-01-01") }}
+
+ {{ end -}}
+
+
+ View document: {{ with .Params.url_source }}
+ {{ . }}
+ {{ else }}
+ No URL to the document is available.
+ {{ end }}
+
+ Cite: placeholder for link to retrieve citation from Zotero
+
+
+ Abstract
+
+ {{ with .Params.abstract }}
+ {{ . | markdownify }}
+ {{ else }}
+ No abstract available.
+ {{ end }}
+
+
+
+
+ {{ if eq .Params.item_type "book" }}
+ {{ with .Params.publisher }}
+
Publisher: {{ . }}
+ {{ end }}
+ {{ with .Params.place }}
+
{{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "paper-conference" }}
+ {{ with .Params.proceedings_title }}
+
Proceedings: {{ . }}
+ {{ end }}
+ {{ with .Params.publisher }}
+
Journal: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "article" }}
+ {{ with .Params.publisher }}
+
Publisher: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "article-journal" }}
+ {{ with .Params.publication_title }}
+
Journal: {{ . }}
+ {{ end }}
+ {{ with .Params.volume }}
+
Volume: {{ . }}
+ {{ end }}
+ {{ with .Params.issue }}
+ Issue: {{ . }}
+ {{ end }}
+ {{ with .Params.pages }}
+ Pages: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "report" }}
+ {{ with .Params.publication_title }}
+
Publisher: {{ . }}
+ {{ end }}
+ {{ with .Params.reportType }}
+
Report Type: {{ . }}
+ {{ end }}
+ {{ with .Params.reportNumber }}
+
Report Number: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "thesis" }}
+ {{ with .Params.university }}
+
University: {{ . }}
+ {{ end }}
+ {{ with .Params.place }}
+
Place: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "patent" }}
+ {{ with .Params.assignee }}
+
Assignee: {{ . }}
+ {{ end }}
+ {{ with .Params.application_number }}
+
Application Number: {{ . }}
+ {{ end }}
+ {{ with .Params.filing_date }}
+
Filing Date: {{ . }}
+ {{ end }}
+ {{ with .Params.issuing_authority }}
+
Issuing Authority: {{ . }}
+ {{ end }}
+ {{ with .Params.patent_number }}
+
Patent Number: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "post-weblog" }}
+ {{ with .Params.blog_title }}
+
Blog Title: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "article-magazine" }}
+ {{ with .Params.publication_title }}
+
Magazine: {{ . }}
+ {{ end }}
+ {{ with .Params.volume }}
+
Volume: {{ . }}
+ {{ end }}
+ {{ with .Params.issue }}
+ Issue: {{ . }}
+ {{ end }}
+ {{ with .Params.pages }}
+ Pages: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "motion_picture" }}
+ {{ with .Params.studio }}
+
Studio: {{ . }}
+ {{ end }}
+ {{ with .Params.video_recording_format }}
+
Video Recording Format: {{ . }}
+ {{ end }}
+ {{ with .Params.series_title }}
+
Series Title: {{ . }}
+ {{ end }}
+ {{ with .Params.volume }}
+
Volume: {{ . }}
+ {{ end }}
+ {{ with .Params.number_of_volumes }}
+
Number of Volumes: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "chapter" }}
+ {{ with .Params.book_title }}
+
Book Title: {{ . }}
+ {{ end }}
+ {{ with .Params.publisher }}
+
Publisher: {{ . }}
+ {{ end }}
+ {{ with .Params.series }}
+
Series: {{ . }}
+ {{ end }}
+ {{ with .Params.series_number }}
+
Series Number: {{ . }}
+ {{ end }}
+ {{ with .Params.pages }}
+
Pages: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "personal_communication" }}
+ {{ with .Params.communication_type }}
+
Item Type: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "webpage" }}
+ {{ with .Params.website_title }}
+
Website Title: {{ . }}
+ {{ end }}
+ {{ with .Params.website_type }}
+
Website Type: {{ . }}
+ {{ end }}
+ {{ end }}
+ {{ if eq .Params.item_type "entry-encyclopedia" }}
+ {{ with .Params.encyclopedia_title }}
+
Encyclopedia Title: {{ . }}
+ {{ end }}
+ {{ end }}
+
+
+ {{- if .Params.zotero_url }}
+ View on Zotero
+ {{- end -}}
+
+
+
+ {{ .Content }}
+
+
+{{ end }}
diff --git a/layouts/partials/taxonomy_terms_cloud.html b/layouts/partials/taxonomy_terms_cloud.html
new file mode 100644
index 000000000..6a333c433
--- /dev/null
+++ b/layouts/partials/taxonomy_terms_cloud.html
@@ -0,0 +1,21 @@
+{{ $context := .context -}}
+{{ $taxo := .taxo -}}
+{{ $title := .title -}}
+
+{{ if eq $context.Type "bibliography" }}
+ {{ if isset $context.Site.Taxonomies (lower $taxo) -}}
+ {{ $taxonomy := index $context.Site.Taxonomies (lower $taxo) -}}
+ {{ if (gt (len $taxonomy) 0) -}}
+
{{ if .url }}{{ .title }}{{ else }}{{ .title }}{{ end }}
- {{ if or .author .editor }}
{{ if not .author }}Edited by: {{ end }}{{ range $naE, $auEd := or .author .editor }}{{ if $naE }}; {{ end }}{{ if $auEd.literal }}{{ $auEd.literal }}{{ else if and $auEd.family $auEd.given }}{{ $auEd.family }}, {{ $auEd.given }}{{ else }}{{ $auEd.family }}{{ $auEd.given }}{{ end }}{{ end }}
-
{{ end }}
- {{ if .abstract }}{{ end }}
- {{ if and false .note }}
- {{ $notes := split (plainify .note) "\n" }}
-
Notes
-
- {{ range $nn, $note := $notes }}
- {{if strings.ContainsNonSpace $note }}
- {{ if $nn }} {{ end }}
- {{ print (safeJS (replace (replace (htmlUnescape $note) "-" $nonBreakingHyphen) " " " ")) }}
- {{ end }}
- {{ end }}