Use p tag for subtitle, author, date in epub, revealjs, slidy.

This commit is contained in:
John MacFarlane 2016-09-25 21:43:19 +02:00
parent f2b84d021d
commit 8db1c36001
4 changed files with 10 additions and 10 deletions

View file

@ -28,13 +28,13 @@ $else$
$endif$
$endfor$
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<h2 class="author">$author$</h2>
<p class="author">$author$</p>
$endfor$
$for(creator)$
<h2 class="$creator.role$">$creator.text$</h2>
<p class="$creator.role$">$creator.text$</p>
$endfor$
$if(publisher)$
<p class="publisher">$publisher$</p>

View file

@ -33,13 +33,13 @@ $else$
$endif$
$endfor$
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<h2 class="author">$author$</h2>
<p class="author">$author$</p>
$endfor$
$for(creator)$
<h2 class="$creator.role$">$creator.text$</h2>
<p class="$creator.role$">$creator.text$</p>
$endfor$
$if(publisher)$
<p class="publisher">$publisher$</p>

View file

@ -63,13 +63,13 @@ $if(title)$
<section>
<h1 class="title">$title$</h1>
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<h2 class="author">$author$</h2>
<p class="author">$author$</p>
$endfor$
$if(date)$
<h3 class="date">$date$</h3>
<p class="date">$date$</p>
$endif$
</section>
$endif$

View file

@ -51,7 +51,7 @@ $if(title)$
<div class="slide titlepage">
<h1 class="title">$title$</h1>
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
<p class="subtitle">$subtitle$</p>
$endif$
$if(author)$
<p class="author">