about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/comic.html15
-rw-r--r--layouts/section/comics.rss.xml3
2 files changed, 11 insertions, 7 deletions
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 @@
     </center>
     {{ end}}
   </header>
-  <div class="content e-content">
+  <section class="content e-content">
     <center>
     {{ partial "comicNav.html" . }}
     <img title="{{ .Params.TitleText }}"
-         alt={{ readFile (delimit (slice "/static/comics/" .Params.ComicId "/transcript.txt") "")}}
+         alt="Comic panels. See transcription below."
          src="/comics/{{ .Params.ComicId }}/{{ .Params.ComicTitle }}.png"
          srcset="/comics/{{ .Params.ComicId }}/{{ .Params.ComicTitle }}_full.png 2x"
          >
     {{ partial "comicNav.html" . }}
-    {{ .Content }}
-    <center>
-  </div>
+    </center>
+    <details>
+      <summary>
+        Transcription and extras
+      </summary>
+      {{ .Content }}
+    </details>
+  </section>
   {{ partial "postInfo.html" . }}
 </article>
 
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 @@
       <guid>{{ .Permalink }}</guid>
       <description>
          &lt;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"
          &gt;
-        See also:&lt;br&gt; {{ .Content | html }}
+        Transcriptions:&lt;br&gt; {{ .Content | html }}
       </description>
     </item>
     {{ end }}