refactor: tweaking how titles are generated

This commit is contained in:
D. Moonfire 2020-01-01 23:28:30 -06:00
parent 9c542a4dd4
commit 4211e97744
5 changed files with 10 additions and 17 deletions

View File

@ -1,9 +0,0 @@
---
title: title
---
<div class="title">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Blood</div>
</div>

View File

@ -3,9 +3,11 @@ title: Title
---
<div class="title">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Blood</div>
<div class="title-area">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Blood</div>
</div>
<div class="author">D. Moonfire</div>

6
package-lock.json generated
View File

@ -540,9 +540,9 @@
}
},
"@fedran/writing-theme": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@fedran/writing-theme/-/writing-theme-3.0.2.tgz",
"integrity": "sha512-tEZjvprRc+ryLgP0JueCGB+LBGUx/EBZyQj6fWL3w0SrJk1oxDLxSJjdR9xQNVyxf2IYYe3HCR0ZpLCVL3bang==",
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/@fedran/writing-theme/-/writing-theme-3.0.4.tgz",
"integrity": "sha512-7BV9hjWY6NGtTCY870xlvF2K9SEolTq+Vlhf82wc6RnIbFtQnqH1288/qP9M9TRFaJb37XWnMgDTR3WUAxnUpQ==",
"requires": {
"@mfgames-writing/contracts": "^3.1.5",
"@mfgames-writing/liquid": "^1.0.6"

View File

@ -30,7 +30,7 @@
},
"dependencies": {
"@fedran/writing-hyphen": "^1.0.0",
"@fedran/writing-theme": "^3.0.2",
"@fedran/writing-theme": "^3.0.4",
"@mfgames-writing/epub2": "^1.1.3",
"@mfgames-writing/format": "^2.0.0",
"@mfgames-writing/guillemet": "^1.0.0",

View File

@ -41,7 +41,7 @@ contents:
editions: [pdf]
toc: true
- element: bastard
source: frontmatter/bastard.html
source: frontmatter/title.html
linear: false
exclude:
editions: [epub]