aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-11-02 19:51:13 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-11-02 19:51:13 -0700
commit2e0841bf8e4aeb7710fe1d8519f69c224354a1f4 (patch)
treebb21c156b9a43aec88cf9977a247b53fdde1fae1
parentd99073f1be28449709d965cda2f051a8705367c5 (diff)
downloadpandoc-2e0841bf8e4aeb7710fe1d8519f69c224354a1f4.tar.gz
Use pagetitle in title element for epub templates.
-rw-r--r--epub-coverimage.html2
-rw-r--r--epub-page.html1
-rw-r--r--epub-titlepage.html2
3 files changed, 3 insertions, 2 deletions
diff --git a/epub-coverimage.html b/epub-coverimage.html
index cd778a145..4449f8054 100644
--- a/epub-coverimage.html
+++ b/epub-coverimage.html
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>$title$</title>
+<title>$pagetitle$</title>
<style type="text/css">img{ max-width: 100%; }</style>
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
</head>
diff --git a/epub-page.html b/epub-page.html
index b7df53afe..b811e1859 100644
--- a/epub-page.html
+++ b/epub-page.html
@@ -2,6 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
+<title>$pagetitle$</title>
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
</head>
<body>
diff --git a/epub-titlepage.html b/epub-titlepage.html
index 790431bb7..a3c5bc503 100644
--- a/epub-titlepage.html
+++ b/epub-titlepage.html
@@ -2,7 +2,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>$title$</title>
+<title>$pagetitle$</title>
<link href="stylesheet.css" type="text/css" rel="stylesheet" />
</head>
<body>