rename .html.tmpl
files to .html
This commit is contained in:
parent
438fdbe22d
commit
37da8acf5a
27 changed files with 29 additions and 29 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
For works cited (optional):
|
||||
@params ibid Whether to use ibidem as the source. Optional.
|
||||
@see partials/cite.html.tmpl for full list of args.
|
||||
@see partials/cite.html for full list of args.
|
||||
|
||||
For works cited that form part of a series (optional):
|
||||
@params schemaTypeSeries The Schema.org `itemtype` value for the work series. Default 'CreativeWork'. Optional.
|
||||
|
@ -63,14 +63,14 @@
|
|||
<abbr lang="la" title="ibīdem [in the same place]">Ibid.</abbr>
|
||||
{{- else if $source -}}
|
||||
<span temprop="spokenByCharacter">{{- $source | safeHTML -}}</span>
|
||||
{{- if $hasCitedWork -}}, <span itemprop="isBasedOn">{{- partial "cite.html.tmpl" . -}}
|
||||
{{- if $hasCitedWork -}}, <span itemprop="isBasedOn">{{- partial "cite.html" . -}}
|
||||
{{- if $hasCitedSeries }} (
|
||||
{{- .Scratch.Set "cite" .Params.citeSeries -}}
|
||||
{{- .Scratch.Set "title" .Params.titleSeries -}}
|
||||
{{- .Scratch.Set "titleLang" .Params.titleSeriesLang -}}
|
||||
{{- .Scratch.Set "titleTr" .Params.titleSeriesTr -}}
|
||||
{{- .Scratch.Set "schemaType" .Params.schemaTypeSeries -}}
|
||||
{{- partial "cite.html.tmpl" . -}}
|
||||
{{- partial "cite.html" . -}}
|
||||
{{- with .Params.numberSeries }}, {{ . | safeHTML -}}{{- end -}}
|
||||
){{- end -}}</span>
|
||||
{{- end -}}
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
|
||||
{{- $citationId := printf "%s%s" ( cond ( isset .Params "cite" ) .Params.cite .Params.title ) ( default "" .Params.shortTitle ) -}}
|
||||
|
||||
{{- partialCached "cite.html.tmpl" . $citationId -}}
|
||||
{{- partialCached "cite.html" . $citationId -}}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{{- $src := $.Page.Resources.GetMatch ( .Get "src" ) -}}
|
||||
{{- $linkedResource := $.Page.Resources.GetMatch ( .Get "link" ) -}}
|
||||
{{- $valid_rel_values := partialCached "util/get_valid_rel_values.html.tmpl" . -}}
|
||||
{{- $valid_rel_values := partialCached "util/get_valid_rel_values.html" . -}}
|
||||
|
||||
<!-- Validation -->
|
||||
|
||||
|
@ -40,14 +40,14 @@
|
|||
{{- end -}}
|
||||
|
||||
{{- if eq $src.ResourceType "image" -}}
|
||||
{{- partial "media/picture.html.tmpl" $src -}}
|
||||
{{- partial "media/picture.html" $src -}}
|
||||
|
||||
{{- else if eq $src.ResourceType "video" -}}
|
||||
{{- if eq $src.MediaType "video/ogg" -}}
|
||||
{{- partial "media/audio.html.tmpl" $src -}}
|
||||
{{- partial "media/audio.html" $src -}}
|
||||
|
||||
{{- else -}}
|
||||
{{- partial "media/video.html.tmpl" ( dict "src" $src "page_file_path" .Page.File.Path ) -}}
|
||||
{{- partial "media/video.html" ( dict "src" $src "page_file_path" .Page.File.Path ) -}}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{{- $src := $.Page.Resources.GetMatch ( .Get "src" ) -}}
|
||||
{{- $linkedResource := $.Page.Resources.GetMatch ( .Get "link" ) -}}
|
||||
{{- $valid_rel_values := partialCached "util/get_valid_rel_values.html.tmpl" . -}}
|
||||
{{- $valid_rel_values := partialCached "util/get_valid_rel_values.html" . -}}
|
||||
|
||||
<!-- Validation -->
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
|||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- partial "media/picture.html.tmpl" $src -}}
|
||||
{{- partial "media/picture.html" $src -}}
|
||||
|
||||
{{- if .Get "link" -}}
|
||||
</a>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
{{- $src := $.Page.Resources.GetMatch ( .Get "src" ) -}}
|
||||
{{- $linkedResource := $.Page.Resources.GetMatch ( .Get "link" ) -}}
|
||||
{{- $valid_rel_values := partialCached "util/get_valid_rel_values.html.tmpl" . -}}
|
||||
{{- $valid_rel_values := partialCached "util/get_valid_rel_values.html" . -}}
|
||||
|
||||
<!-- Validation -->
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
|||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- partial "media/video.html.tmpl" ( dict "src" $src "page_file_path" .Page.File.Path ) -}}
|
||||
{{- partial "media/video.html" ( dict "src" $src "page_file_path" .Page.File.Path ) -}}
|
||||
|
||||
{{- if .Get "link" -}}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue