mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 08:12:36 +02:00
update meta and nav
This commit is contained in:
parent
333124d4e5
commit
0d74d60b3d
@ -10,10 +10,10 @@
|
|||||||
<dc:date>{{ $info.UpdatedAt }}</dc:date>
|
<dc:date>{{ $info.UpdatedAt }}</dc:date>
|
||||||
<dc:creator>{{ $info.Author }}</dc:creator>
|
<dc:creator>{{ $info.Author }}</dc:creator>
|
||||||
<meta property="dcterms:modified">{{ $info.UpdatedAt }}</meta>
|
<meta property="dcterms:modified">{{ $info.UpdatedAt }}</meta>
|
||||||
<meta name="fixed-layout" content="true"/>
|
|
||||||
<meta name="original-resolution" content="{{ $info.ViewWidth }}x{{ $info.ViewHeight }}"/>
|
<meta name="original-resolution" content="{{ $info.ViewWidth }}x{{ $info.ViewHeight }}"/>
|
||||||
<meta name="book-type" content="comic"/>
|
<meta name="book-type" content="comic"/>
|
||||||
<meta name="primary-writing-mode" content="horizontal-{{ if $info.Manga }}rl{{ else }}lr{{ end }}"/>
|
<meta name="primary-writing-mode" content="horizontal-{{ if $info.Manga }}rl{{ else }}lr{{ end }}"/>
|
||||||
|
<meta property="rendition:layout">pre-paginated</meta>
|
||||||
<meta property="rendition:orientation">portrait</meta>
|
<meta property="rendition:orientation">portrait</meta>
|
||||||
<meta name="orientation-lock" content="portrait"/>
|
<meta name="orientation-lock" content="portrait"/>
|
||||||
{{ if eq $info.AddPanelView true }}
|
{{ if eq $info.AddPanelView true }}
|
||||||
|
@ -3,11 +3,10 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
|
||||||
<head>
|
<head>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<meta charset="utf-8"/>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav epub:type="toc" id="toc">
|
<nav epub:type="toc" id="toc">
|
||||||
<h1>Table of content</h1>
|
<h2>Table of content</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li><a href="Text/part.xhtml">{{ .Title }}</a></li>
|
<li><a href="Text/part.xhtml">{{ .Title }}</a></li>
|
||||||
{{ .TOC }}
|
{{ .TOC }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user