From 27cb2f10474a5bb6d5894e45a811c30e9e4b07f9 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 20 Sep 2021 22:32:55 +0700 Subject: Make comic description explicit Alt text is limited for such long text. --- layouts/_default/comic.html | 15 ++++++++++----- layouts/section/comics.rss.xml | 3 +-- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/comic.html b/layouts/_default/comic.html index d13b76e..ef86c7c 100644 --- a/layouts/_default/comic.html +++ b/layouts/_default/comic.html @@ -15,18 +15,23 @@ {{ end}} -
+
{{ partial "comicNav.html" . }} {{ {{ partial "comicNav.html" . }} - {{ .Content }} -
-
+ +
+ + Transcription and extras + + {{ .Content }} +
+ {{ partial "postInfo.html" . }} diff --git a/layouts/section/comics.rss.xml b/layouts/section/comics.rss.xml index 9b44c1c..f9804b7 100644 --- a/layouts/section/comics.rss.xml +++ b/layouts/section/comics.rss.xml @@ -29,11 +29,10 @@ {{ .Permalink }} <img title="{{ .Params.TitleText }}" - alt={{ readFile (delimit (slice "/static/comics/" .Params.ComicId "/transcript.txt") "")}} src="/comics/{{ .Params.ComicId }}/{{ .Params.ComicTitle }}.png" srcset="/comics/{{ .Params.ComicId }}/{{ .Params.ComicTitle }}_full.png 2x" > - See also:<br> {{ .Content | html }} + Transcriptions:<br> {{ .Content | html }} {{ end }} -- cgit 1.4.1