Compare commits

..

3 commits

Author SHA1 Message Date
grassblock
5ef4dda34e chore(docs): update roadmap 2025-05-23 22:36:17 +08:00
grassblock
ea3d8accc3 feat: better style when printing the article 2025-05-23 22:35:14 +08:00
grassblock
85fceee138 chore(docs): update roadmap 2025-05-23 22:11:21 +08:00
3 changed files with 12 additions and 4 deletions

View file

@ -59,12 +59,12 @@ All commands are run from the root of the project, from a terminal:
- [x] Initial project setup - [x] Initial project setup
- [x] Basic theme implementation - [x] Basic theme implementation
- [x] Better full-text search without `Fuse.js` - [x] Better full-text search without `Fuse.js`
- [ ] A mode to make the site 0 javascript - [x] A mode to make the site 0 javascript
- [ ] Multiple authors via YAML - [x] Multiple authors via YAML
- [ ] i18n support - [ ] i18n support
- [ ] Integrate with Fediverse w/ activityPub - [ ] Integrate with Fediverse w/ activityPub
- [ ] Plain text version when visiting the site via `curl` - [ ] Plain text version when visiting the site via `curl`
- [ ] Better support for printing version - [x] Better support for printing version
- [ ] Add support for more comment engines - [ ] Add support for more comment engines
- [ ] Add support for umami statics - [ ] Add support for umami statics
- [ ] Improve documentation - [ ] Improve documentation

View file

@ -52,7 +52,7 @@ const cover = customFeaturedImage || matchedImage_src?.src || `/post/${slug}/fea
<Content /> <Content />
</div> </div>
<div style="margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 1rem;"> <div class="extra-post" style="margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 1rem;">
<ReplyViaEmail title={entry.data.title} email={authorInfo.email} /> <ReplyViaEmail title={entry.data.title} email={authorInfo.email} />
<br> <br>
<a href="/blog">&larr; Back to posts</a> <a href="/blog">&larr; Back to posts</a>

View file

@ -291,3 +291,11 @@ div.content {
padding: 1rem; padding: 1rem;
} }
} }
/* Printing */
@media print {
/* Hide elements not needed for print */
nav.nav,.search-container,footer,div.extra-post {
display: none;
}
}