~huyngo/xrvs.net

xrvs.net/layouts/_default/comic.html -rw-r--r-- 1.2 KiB
0430d01eNgô Ngọc Đức Huy Update theme a day ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{{ define "main" }}
{{ if .Menus }}
<nav class="post-navigation">
  {{ range .Menus }}
  <a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
  {{ end }}
</nav>
{{ end }}

<article class="post h-entry">
  <header class="post-header">
    <center>
      <h1 class="p-name post-title{{ if .Params.draft }} draft{{end}}">{{ trim .Title  " " }}</h1>
    {{ if in .Params.categories "comics" }}
    </center>
    {{ end}}
  </header>
  <section class="content e-content">
    <center>
    {{ partial "comicNav.html" . }}
    <img title="{{ .Params.TitleText }}"
         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" . }}
    </center>
    <details>
      <summary>
        Transcription and extras
      </summary>
      {{ .Content }}
    </details>
  </section>
  {{ partial "post-info.html" . }}
</article>

{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }}
  {{ partial "paginationPost.html" . }}
{{ end }}


{{ partial "custom-webring.html" }}

{{ end }}