1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Make transcript headings more unique

This commit is contained in:
Rohan Kumar 2022-05-12 18:56:16 -07:00
parent 72a8e7a932
commit 8a2154e5ab
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 2 deletions

View file

@ -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 }}

View file

@ -1,4 +1,4 @@
{{- $type := "picture" -}}
{{- $type := "image" -}}
{{- with .Get "type" -}}
{{- $type = . -}}
{{- end -}}