update meta and nav

This commit is contained in:
Celogeek 2023-04-10 14:59:07 +02:00
parent 333124d4e5
commit 0d74d60b3d
Signed by: celogeek
SSH Key Fingerprint: SHA256:njNJLzoLQdbV9PC6ehcruRb0QnEgxABoCYZ+0+aUIYc
2 changed files with 2 additions and 3 deletions

View File

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

View File

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