Commit Graph

124 Commits

Author SHA1 Message Date
Cadey Ratio 06d4bf7d69 src/app/markdown: no-js xeblog-conv support
Thanks to the meddling of @fasterthanlime, I now use lol_html[0] to
parse the <xeblog-conv> elements on the server side instead of on the
client side as an HTML custom element. I will be using this strategy in
the future to expand my blog's functionality and make the christine dot
website cinematic universe stronger.

Signed-off-by: Xe Iaso <me@christine.website>
2022-05-07 14:32:04 +00:00
Cadey Ratio cd1ce7785a add support for pre-publication posts
Signed-off-by: Xe Iaso <me@christine.website>
2022-05-05 14:58:23 +00:00
Cadey Ratio e5ee825c0a signal boost: make links optional
Closes #326
Closes #209

Signed-off-by: Xe <me@christine.website>
2022-04-02 16:47:54 +00:00
Cadey Ratio 8b747c1c40
Rewrite the site routing with Axum (#441)
* broken state

Signed-off-by: Xe Iaso <me@christine.website>

* fix???

Signed-off-by: Xe Iaso <me@christine.website>

* Port everything else to axum

Signed-off-by: Xe <me@christine.website>

* headers

Signed-off-by: Xe Iaso <me@christine.website>

* site update post

Signed-off-by: Christine Dodrill <me@christine.website>

* fix headers

Signed-off-by: Xe Iaso <me@christine.website>

* remove warp example

Signed-off-by: Xe Iaso <me@christine.website>

* 80c wrap

Signed-off-by: Xe Iaso <me@christine.website>

* bump version

Signed-off-by: Xe Iaso <me@christine.website>
2022-03-21 20:14:14 -04:00
Cadey Ratio 8fc69d4978 nix flakes 2: fun with packages
Signed-off-by: Xe Iaso <me@christine.website>
2022-02-27 19:12:53 +00:00
Cadey Ratio bc17472184
Update blogindex.rs.html
Closes #433
2022-02-19 23:37:22 -05:00
Cadey Ratio f622ae7277 make logo better
Signed-off-by: Xe Iaso <me@christine.website>
2022-01-11 17:49:36 -05:00
Cadey Ratio 97e31d0e8b templates/header: add logo image that is responsive to theme preference
Thanks to many people on Twitter that helped with this:
https://twitter.com/theprincessxena/status/1480767115993010177

Signed-off-by: Xe <me@christine.website>
2022-01-11 09:29:33 -05:00
Cadey Ratio b46138c03d Xe Iaso
Signed-off-by: Xe Iaso <me@christine.website>
2022-01-10 18:09:31 -05:00
Cadey Ratio c7b2db9d54
Update footer.rs.html 2022-01-06 23:38:03 -05:00
Cadey Ratio 66fd857b56 fix CSS contrast ratio
Signed-off-by: Xe <me@christine.website>
2021-12-19 17:54:02 +00:00
Cadey Ratio 3937405b85 give up again a second time
Signed-off-by: Xe <me@christine.website>
2021-12-01 11:57:19 -05:00
Cadey Ratio 83d1fb8ad4 give up
Signed-off-by: Xe <me@christine.website>
2021-12-01 11:51:10 -05:00
Cadey Ratio d3a0498cc0 oops name lol
Signed-off-by: Xe <me@christine.website>
2021-11-06 05:48:16 -04:00
Asherah Connor 425de3f865
markdown: use comrak syntect (#393)
* markdown: use comrak syntect

* css: make the code samples look better

It ain't perfect, but it's probably good enough to start with:
https://media.discordapp.net/attachments/188796211543801856/885244826180808754/20210908_15h26m30s_grim.png

Signed-off-by: Christine Dodrill <me@christine.website>
Co-authored-by: Christine Dodrill <me@christine.website>
2021-09-08 17:00:11 -04:00
Cadey Ratio 1d48db940b Xe
Signed-off-by: Christine Dodrill <me@christine.website>
2021-08-07 12:22:05 -04:00
Cadey Ratio a716286f37 remove title from every post so I can add read time estimate
Signed-off-by: Christine Dodrill <me@christine.website>
2021-07-07 21:17:46 -04:00
Cadey Ratio 0019b0a4e9 mst3k -> pony.social
Signed-off-by: Christine Dodrill <me@christine.website>
2021-07-06 06:34:33 -04:00
Cadey Ratio c6444c7119 final chapter
Signed-off-by: Christine Dodrill <me@christine.website>
2021-05-20 11:34:00 -04:00
Cadey Ratio b7226624b8
blog: add morph tutorial (#363)
* blog: add morph tutorial

Signed-off-by: Christine Dodrill <me@christine.website>

* typos

Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-25 18:42:59 -04:00
Cadey Ratio f06819cff1 Revert "backpost a bunch of other articles, make linkposts work properly"
This reverts commit 4dde8b26b8.
2021-04-18 10:40:03 -04:00
Cadey Ratio 4dde8b26b8 backpost a bunch of other articles, make linkposts work properly 2021-04-18 10:17:04 -04:00
Cadey Ratio 7c9fba6bda forgot to remove this
Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-06 21:07:14 -04:00
Cadey Ratio 0b32b1da1c templates/mara.rs.html: make smol smoller
Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-02 22:28:18 -04:00
Cadey Ratio 8383914aa5
Unix domain socket http server (#352)
* enable ipv6 support

Signed-off-by: Christine Dodrill <me@christine.website>

* enable unix socket powers

Signed-off-by: Christine Dodrill <me@christine.website>

* unix domain socket post

Signed-off-by: Christine Dodrill <me@christine.website>

* bump rust

Signed-off-by: Christine Dodrill <me@christine.website>
2021-04-01 22:30:45 -04:00
Cadey Ratio c6482fe2fc blog: readaptation
Signed-off-by: Christine Dodrill <me@christine.website>
2021-02-21 08:13:52 -05:00
Cadey Ratio 41585dbbdd pgp key
Signed-off-by: Christine Dodrill <me@christine.website>
2021-02-11 11:35:02 -05:00
Cadey Ratio 23091a7936
Update footer.rs.html 2021-01-27 11:03:43 -05:00
Cadey Ratio 990cce7267
Use Tokio 1 (#306)
* upgrade all the things

Signed-off-by: Christine Dodrill <me@christine.website>

* build(deps): bump serde from 1.0.118 to 1.0.120

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.120)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix

Signed-off-by: Christine Dodrill <me@christine.website>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-22 21:11:48 -05:00
Cadey Ratio 49f4ba9847 orca
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-20 19:12:32 -05:00
Cadey Ratio 90332b323d dont fuck seo
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-19 20:42:09 -05:00
Cadey Ratio 444eee96b0 blog: add redirect posts, tailscale nixos post
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-19 20:35:13 -05:00
Eliot Partridge 8b2b647257
Fix Twitter/JSON-LD timestamps (remove time/tz info) (#298) 2021-01-18 20:43:03 -05:00
Cadey Ratio 17af42bc69 oops
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-15 14:11:32 -05:00
Cadey Ratio 1ffc4212d6 actually use google analytics
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-15 14:10:56 -05:00
Cadey Ratio 811995223c oops
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-15 13:58:17 -05:00
Cadey Ratio 585d39ea62 install google tag manager
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-15 13:53:20 -05:00
Cadey Ratio 66233bcd40
Update my GPG key
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-15 08:24:07 -05:00
Cadey Ratio d2455aa1c1
Cache better (#296)
* Many improvements around bandwidth use

- Use ETags for RSS/Atom feeds
- Use cache-control headers
- Update to rust nightly (for rust-analyzer and faster builds)
- Limit feeds to the last 20 posts:
  https://twitter.com/theprincessxena/status/1349891678857998339
- Use if-none-match to limit bandwidth further

Also does this:

- bump go_vanity to 0.3.0 and lets users customize the branch name
- fix formatting on jsonfeed
- remove last vestige of kubernetes/docker support

Signed-off-by: Christine Dodrill <me@christine.website>

* expire cache quicker for dynamic pages

Signed-off-by: Christine Dodrill <me@christine.website>

* add rss ttl

Signed-off-by: Christine Dodrill <me@christine.website>

* add blogpost

Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-14 22:36:34 -05:00
Cadey Ratio 1ae1cc2945 </kubernetes>
Signed-off-by: Christine Dodrill <me@christine.website>
2021-01-03 11:42:09 -05:00
Cadey Ratio 43057536ad blog: Kubernetes pondering post
Signed-off-by: Christine Dodrill <me@christine.website>
2020-12-31 12:10:37 -05:00
Cadey Ratio 233ea76204
add webmention support (#274)
* add webmention support

Signed-off-by: Christine Dodrill <me@christine.website>

* add webmention integration post

Signed-off-by: Christine Dodrill <me@christine.website>
2020-12-02 16:16:58 -05:00
Cadey Ratio 2dde44763d make blog/, gallery/, and talks/ work
Thanks benharri on Freenode for finding this
2020-11-18 15:01:37 -05:00
Cadey Ratio f643496416
various updates (#263)
* various updates

* fix glory shot

* fix mi url for updating my blog

* fix CI
2020-11-18 12:18:24 -05:00
Cadey Ratio 8af9835fad
Article bodies in rss (#243)
* add content of posts to the RSS feed

* make RSS pass
2020-10-25 16:29:02 -04:00
Cadey Ratio 5f16efd7d3
Remove Nim 2020-10-19 12:18:05 -04:00
Cadey Ratio 172f0fc6f5
Update index.rs.html 2020-10-08 09:30:02 -04:00
Cadey Ratio aee2904e74 avif and CSS 2020-09-27 20:09:48 -04:00
Cadey Ratio a5fba33197 fixes and CSS fixes 2020-09-27 18:50:18 -04:00
Cadey Ratio 8c00c4b8c6 syntax highlighting 2020-09-20 09:55:22 -04:00