1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-13 07:26:18 +02:00

Update epub3/ templates

This commit is contained in:
Lise Henry 2023-08-09 20:01:32 +02:00
parent 6e211925e8
commit 5c03c6d3d7
3 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@
</head>
<body>
<div id="cover">
<img src="{{{cover}}}" alt="{{{loc_cover}}}" />
<img src="{{cover}}" alt="{{loc_cover}}" />
</div>
</body>
</html>

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops" xml:lang = "{{{lang}}}" lang="{{{lang}}}">
xmlns:epub="http://www.idpf.org/2007/ops" xml:lang = "{{lang}}" lang="{{lang}}">
<head>
<meta charset = "utf-8" />
<meta name="generator" content="crowbook" />
<title>{{chapter_title_raw}}</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body xml:lang="{{{lang}}}" lang="{{{lang}}}">
<body xml:lang="{{lang}}" lang="{{lang}}">
<section class = "level1">
{{{content}}}
{{content}}
</section>
</body>
</html>

View File

@ -10,12 +10,12 @@
</head>
<body>
<section epub:type = "titlepage">
<h2 class="author">{{{author}}}</h2>
<h1 class="title">{{{title}}}</h1>
{{#has_subtitle}}<h2 class="subtitle">{{{subtitle}}}</h2>{{/has_subtitle}}
<h2 class="author">{{author}}</h2>
<h1 class="title">{{title}}</h1>
{{#has_subtitle}}<h2 class="subtitle">{{subtitle}}</h2>{{/has_subtitle}}
{{#has_autograph}}
<div id = "autograph">
{{{autograph}}}
{{autograph}}
</div>
{{/has_autograph}}
</section>