diff --git a/layouts/partials/archive.html b/layouts/partials/archive.html new file mode 100644 index 00000000000..152a280e7e4 --- /dev/null +++ b/layouts/partials/archive.html @@ -0,0 +1,6 @@ +
+ {{ if $input.flexible }} + {{ $authors }}{{ with (index $journal "name") }} {{ . }},{{ end }}{{ with (index $journal "volume") }} Volume {{ . }},{{ end }}{{ with (index $journal "publisher") }} {{ . }},{{ end }} {{ $year }}{{ if and $input.show_doi_in_body $doi }}, doi:{{ $doi }}{{ end }}. + {{ else if (index $journal "issue") }} + {{ $authors }}, + {{ index $journal "name" }}, + {{ $year }}, + {{ index $journal "volume" }}:{{ index $journal "issue" }}{{ if and $input.show_doi_in_body $doi }}, doi:{{ $doi }}{{ end }}. + {{ else }} + {{ $authors }}, + {{ index $journal "name" }}{{ with (index $journal "volume") }}, + Volume {{ . }}{{ end }}{{ with (index $journal "publisher") }}, + {{ . }}{{ end }}, + {{ $year }}{{ if and $input.show_doi_in_body $doi }}, doi:{{ $doi }}{{ end }}. + {{ end }} +
+ {{ if and $input.flexible $input.require_pub_url }} + {{ with (index $pubParams "pub-url") }}Publisher's site {{ end }} + {{ else }} + {{ with $publisherURL }}Publisher's site {{ end }} + {{ end }} + {{ with (index $pubParams "bibtex") }}Download BibTeX {{ end }} +The following pages and posts are tagged with
+| Title | Type | Excerpt |
|---|---|---|
| {{ .Title }} | +{{ .Type | title }} | +{{ with .Params.summary }}{{ . | plainify | truncate 160 }}{{ else }}{{ .Summary | plainify | truncate 160 }}{{ end }} | +