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="title">
<div class="large">Sand</div> <div class="title-area">
<div class="medium">and</div> <div class="large">Sand</div>
<div class="large">Blood</div> <div class="medium">and</div>
<div class="large">Blood</div>
</div>
<div class="author">D. Moonfire</div> <div class="author">D. Moonfire</div>

6
package-lock.json generated
View file

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

View file

@ -30,7 +30,7 @@
}, },
"dependencies": { "dependencies": {
"@fedran/writing-hyphen": "^1.0.0", "@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/epub2": "^1.1.3",
"@mfgames-writing/format": "^2.0.0", "@mfgames-writing/format": "^2.0.0",
"@mfgames-writing/guillemet": "^1.0.0", "@mfgames-writing/guillemet": "^1.0.0",

View file

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