Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
Use p tag for subtitle, author, date in epub, revealjs, slidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Sep 25, 2016
1 parent f2b84d0 commit 8db1c36
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions default.epub
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions default.epub3
Expand Up @@ -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>
Expand Down
6 changes: 3 additions & 3 deletions default.revealjs
Expand Up @@ -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$
Expand Down
2 changes: 1 addition & 1 deletion default.slidy
Expand Up @@ -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">
Expand Down

0 comments on commit 8db1c36

Please sign in to comment.