mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Make transcript headings more unique
This commit is contained in:
parent
72a8e7a932
commit
8a2154e5ab
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
<summary>Toggle transcript</summary>
|
||||
{{ with .Parent -}}
|
||||
<section id="transcript-{{ .Get "id" }}">
|
||||
<h5>Image transcript.</h5>
|
||||
<h5>{{ .Get "type" | humanize}} transcript.</h5>
|
||||
{{- end -}}
|
||||
<div itemprop="embeddedTextCaption">
|
||||
{{ .Inner | markdownify | safeHTML }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{- $type := "picture" -}}
|
||||
{{- $type := "image" -}}
|
||||
{{- with .Get "type" -}}
|
||||
{{- $type = . -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue