diff --git a/templates/epub/cover.xhtml b/templates/epub/cover.xhtml index a7e84d4..0b29671 100644 --- a/templates/epub/cover.xhtml +++ b/templates/epub/cover.xhtml @@ -1,6 +1,6 @@ - + @@ -10,7 +10,7 @@
-{{{loc_cover}}} +{{loc_cover}}
diff --git a/templates/epub/stylesheet.css b/templates/epub/stylesheet.css index 26f49d3..8eb03c9 100644 --- a/templates/epub/stylesheet.css +++ b/templates/epub/stylesheet.css @@ -188,13 +188,13 @@ table.notes tr td p { font-variant: small-caps; } -{{#lang_fr}} +{% if lang_fr %} /* Make list displays '–' instead of bullets */ ul li { list-style-type: '–'; padding-left: .5em; } -{{/lang_fr}} +{% endif %} span.initial { float: left; @@ -217,4 +217,4 @@ p.first-para { padding: 0; } -{{{additional_code}}} \ No newline at end of file +{{additional_code}} \ No newline at end of file diff --git a/templates/epub/template.xhtml b/templates/epub/template.xhtml index b604e7c..c86db0b 100644 --- a/templates/epub/template.xhtml +++ b/templates/epub/template.xhtml @@ -1,6 +1,6 @@ - + @@ -8,9 +8,9 @@ {{chapter_title_raw}} - +
- {{{content}}} + {{content}}
diff --git a/templates/epub/titlepage.xhtml b/templates/epub/titlepage.xhtml index 89a8b8a..539d5dd 100644 --- a/templates/epub/titlepage.xhtml +++ b/templates/epub/titlepage.xhtml @@ -9,12 +9,12 @@ -

{{{author}}}

-

{{{title}}}

- {{#has_subtitle}}

{{{subtitle}}}

{{/has_subtitle}} +

{{author}}

+

{{title}}

+ {{#has_subtitle}}

{{subtitle}}

{{/has_subtitle}} {{#has_autograph}}
- {{{autograph}}} + {{autograph}}
{{/has_autograph}}