update theme
This commit is contained in:
parent
43ddb22f80
commit
a35946ae92
19 changed files with 1418 additions and 223 deletions
|
@ -1,3 +1,7 @@
|
|||
{{- if ( not ( .Get "longdesc" ) ) -}}
|
||||
{{- erroridf "a11y-chart-longdesc" "No longdesc found for chart '%q' (%q)" ( .Get "chart-id" ) .Page.File.Path -}}
|
||||
{{- end -}}
|
||||
|
||||
<figure class="article__figure figure{{ with .Get "class" }} {{ . }}{{ end }}" role="group">
|
||||
{{- with .Get "chart-id" -}}
|
||||
<canvas class="figure__chart" id="{{ . }}">
|
||||
|
|
|
@ -1 +1,11 @@
|
|||
{{- /**/ -}}{{- partial "cite.html" . -}}{{- /**/ -}}
|
||||
{{- if .Params.title -}}
|
||||
{{- if not $.Params.cite -}}
|
||||
{{- erroridf "missing-cite" "No cite found for citation '%q' (%q)" .Params.title .Page.File.Path -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- errorf "No title found for citation (%q)" .Page.File.Path -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $citeID := cond ( .Params.cite | not | not ) .Params.cite .Params.title -}}
|
||||
|
||||
{{- /**/ -}}{{- partialCached "cite.html" . $citeID -}}{{- /**/ -}}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
{{- .RelPermalink -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- warnf "No poster defined for resource %q (%q)" $src.RelPermalink .Page.File.Path -}}
|
||||
{{- erroridf "a11y-video-poster" "No poster defined for resource %q (%q)" $src.RelPermalink .Page.File.Path -}}
|
||||
{{- end -}}
|
||||
"
|
||||
itemprop="video">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue