docs/layouts/partials/cite_book.html

29 lines
625 B
HTML

{{/* See layouts/shortcodes/cite_book.html */}}
<div style="display: inline">
{{/* Authors */}}
{{ with .author }}<b>{{ . }}</b>{{ end }}{{ with .author2 }}; <b>{{ . }}</b>{{ end }}
{{/* Date */}}
{{ with .date }}({{ . }}).{{ end }}
{{/* Chapter */}}
{{ with .chapter }}"{{ . }}"{{ end }}
{{/* Title and edition */}}
{{ with .title }}in <i>{{ . }}</i>{{ end }}
{{ with .edition }}({{ . }} ed.){{ end }}.
{{/* Publisher */}}
{{ with .publisher }}{{ . }}.{{ end }}
{{/* Pages */}}
{{ with .page }}p. {{ . }}.{{ end }}
{{ with .pages }}pp. {{ . }}.{{ end }}
{{/* ISBN */}}
{{ with .isbn }}ISBN {{ . }}.{{ end }}
</div>