1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-10 12:46:17 +02:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Elisabeth Henry 4586cac2d7 Update Changelog 2023-08-22 04:10:04 +02:00
Elisabeth Henry 272239c41d Merge branch 'main' of github.com:lise-henry/crowbook 2023-08-22 04:07:02 +02:00
Elisabeth Henry 8916d43d4d Fix epub2's titlepage.xhtml template 2023-08-22 04:06:44 +02:00
github-actions[bot] 1de899bfc4
docs(contributor): contrib-readme-action has updated readme 2023-08-22 02:04:06 +00:00
Elisabeth Henry 543c30826b Fix error when common metadata such as title, author... is empty 2023-08-22 04:03:45 +02:00
5 changed files with 16 additions and 20 deletions

8
Cargo.lock generated
View File

@ -188,9 +188,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "cc"
version = "1.0.82"
version = "1.0.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "305fe645edc1442a0fa8b6726ba61d422798d37a52e12eaecf4b022ebbb88f01"
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
dependencies = [
"libc",
]
@ -1774,9 +1774,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
[[package]]
name = "unicase"
version = "2.6.0"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
dependencies = [
"version_check",
]

View File

@ -6,6 +6,8 @@ ChangeLog
* Try to get rid of technical debt, including removing features that were half baked and not really useful.
* Remove proofread options.
* Remove ODT renderer.
* Replace mustache for templates by [upon](https://crates.io/crates/upon)
* Use rust-i18n for internationalization instead of hackish (and unmaintained) crowbook-intl
0.16.1 (2023-08-04)

View File

@ -158,13 +158,6 @@ See the
<sub><b>Élisabeth Henry</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Crowdagger">
<img src="https://avatars.githubusercontent.com/u/1954779?v=4" width="100;" alt="Crowdagger"/>
<br />
<sub><b>Lizzie Crowdagger</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/stefan0xC">
<img src="https://avatars.githubusercontent.com/u/509385?v=4" width="100;" alt="stefan0xC"/>
@ -192,15 +185,15 @@ See the
<br />
<sub><b>Johannes Rappen</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/taophp">
<img src="https://avatars.githubusercontent.com/u/5610065?v=4" width="100;" alt="taophp"/>
<br />
<sub><b>Stéphane Mourey</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/dkotrada">
<img src="https://avatars.githubusercontent.com/u/698296?v=4" width="100;" alt="dkotrada"/>
@ -235,15 +228,15 @@ See the
<br />
<sub><b>Frank Steffahn</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/cuviper">
<img src="https://avatars.githubusercontent.com/u/36186?v=4" width="100;" alt="cuviper"/>
<br />
<sub><b>Josh Stone</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/mgeisler">
<img src="https://avatars.githubusercontent.com/u/89623?v=4" width="100;" alt="mgeisler"/>

View File

@ -1273,6 +1273,7 @@ impl<'a> Book<'a> {
m.insert(format!("has_{key}"), true.into());
} else {
m.insert(format!("{key}_raw"), "".into());
m.insert(key.clone(), "".into());
m.insert(format!("has_{key}"), false.into());
}

View File

@ -11,11 +11,11 @@
<body>
<h2 class="author">{{author}}</h2>
<h1 class="title">{{title}}</h1>
{{#has_subtitle}}<h2 class="subtitle">{{subtitle}}</h2>{{/has_subtitle}}
{{#has_autograph}}
{% if has_subtitle%}<h2 class="subtitle">{{subtitle}}</h2>{% endif %}
{% if has_autograph %}
<div id = "autograph">
{{autograph}}
</div>
{{/has_autograph}}
{% endif %}
</body>
</html>