[skip ci] Added url
, original_url
and archive_date
to the cite_book
shortcode
This commit is contained in:
@ -9,11 +9,10 @@
|
||||
{{ with .date }}({{ . }}).{{ end }}
|
||||
|
||||
{{/* Chapter */}}
|
||||
{{ with .chapter }}"{{ . }}"{{ end }}
|
||||
{{ with .chapter }}"{{ . }}" in{{ end }}
|
||||
|
||||
{{/* Title and edition */}}
|
||||
{{ with .title }}in <i>{{ . }}</i>{{ end }}
|
||||
{{ with .edition }}({{ . }} ed.){{ end }}.
|
||||
{{/* Title, edition and URL */}}
|
||||
{{ with .url }}<a href="{{ . }}">{{ end }}{{ with .title }}<i>{{ . }}</i>{{ end }}{{ with .edition }}({{ . }} ed.){{ end }}{{ if .url }}</a>{{ end }}.
|
||||
|
||||
{{/* Publisher */}}
|
||||
{{ with .publisher }}{{ . }}.{{ end }}
|
||||
@ -25,4 +24,7 @@
|
||||
{{/* ISBN */}}
|
||||
{{ with .isbn }}ISBN <a target="_blank" href="https://en.wikipedia.org/wiki/Special:BookSources/{{ . }}">{{ . }}</a>.{{ end }}
|
||||
|
||||
{{/* Archive info */}}
|
||||
{{ with .original_url }}Archived from <a href="{{ . }}">the original</a>{{ end }}{{ with .archive_date }} on {{ . }}{{ end }}.
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user