initial commit
This commit is contained in:
commit
5c664be9a8
55 changed files with 8825 additions and 0 deletions
23
layouts/partials/books/rows/title.html
Normal file
23
layouts/partials/books/rows/title.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{{-
|
||||
$cite_options := ( dict
|
||||
"c" .c
|
||||
"g" .g
|
||||
"section" "books"
|
||||
"schemaType" "Book"
|
||||
"title" ( cond ( isset .c "subtitle" ) (
|
||||
printf "%s: %s" .c.title .c.subtitle
|
||||
) (
|
||||
.c.title
|
||||
)
|
||||
)
|
||||
"edition" (
|
||||
default .c.edition_name .c.Edition
|
||||
)
|
||||
)
|
||||
-}}
|
||||
|
||||
{{- if .c.work.original_language -}}
|
||||
{{- $cite_options = merge $cite_options ( dict "titleLang" .c.work.original_language "titleTrans" .c.work.title ) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- partial "cite" $cite_options -}}
|
Loading…
Add table
Add a link
Reference in a new issue