Commit graph

71 commits

Author SHA1 Message Date
AKP
d78944762b Only include the last 10 posts in feeds 2025-05-06 18:12:20 +01:00
AKP
b5a9570e31 Allow posts to be hidden from feeds or from listings 2025-05-06 10:41:32 +01:00
AKP
2b69b61641 Change sorting on the blog tags page 2025-04-30 18:29:29 +01:00
AKP
8e442f1007 Convert small projects to being loaded from YAML 2025-04-09 12:07:00 +01:00
AKP
39dc99cf00 Merge branch 'dataloader' 2025-04-09 11:18:45 +01:00
AKP
365d709c42
Migrate to inotify and use newer Python version 2025-03-19 00:13:40 +00:00
AKP
2ddbacf133
Remove unused frontmatter templating 2025-03-18 23:18:02 +00:00
AKP
f17de69a61 Alter 3 files
Update __main__.py
Update process.py
Update util.py
2025-03-18 12:02:21 +00:00
AKP
d7fdd44866
Remove g and w shorthands 2025-03-18 11:32:03 +00:00
AKP
0f67650c1a
Remove counts 2025-03-18 11:30:21 +00:00
AKP
2d845ed5cd
Code formatting 2025-03-17 12:31:09 +00:00
AKP
5979a752b1
Move template includes to their own source directory 2025-03-12 16:55:06 +00:00
AKP
4018e0fe87
Strip EXIF data from images during generation
Ideally this would be done somewhere before things are committed to Git but eh
2025-02-16 23:15:04 +00:00
AKP
3dfb1e3c94
what 2025-02-15 14:51:00 +00:00
AKP
03e3551280
Fix some feed validation issues 2025-02-14 17:43:21 +00:00
AKP
362938bbcd
Initial implementation of dataloader
The intention of this is to allow access to static data stored in
YAML files from within templates without having to do too much weird
scaffolding inside of the generator
2025-02-12 19:20:06 +00:00
AKP
d3ce9e072b
Do not show empty ToC boxes 2025-01-19 00:17:58 +00:00
AKP
971e67b084
Logging! More of it!! 2025-01-14 22:45:56 +00:00
AKP
c85d0e88cc
Support isTemplate for HTML files 2025-01-14 22:45:33 +00:00
AKP
f591bd4b45
Minity Sass output 2025-01-12 14:19:12 +00:00
AKP
132edd9241
Add tables of contents 2025-01-02 23:45:10 +00:00
AKP
83e07b1e6c
Remove debugging statement 2025-01-02 19:08:44 +00:00
AKP
10ca179bdf
Allow templating Markdown pages 2025-01-02 17:21:08 +00:00
AKP
606e38fe94
Remove photos.py 2025-01-02 17:07:49 +00:00
AKP
6a02f3214a
Fonts. 2024-12-31 01:14:24 +00:00
AKP
a2305c1b19
Force pygments to wrap highlighted code in a <code> thing 2024-12-30 21:58:06 +00:00
AKP
55fc68b944
Invert showAside toggle and turn it into hideAside 2024-12-30 21:13:55 +00:00
AKP
ad769b9773
Allow main aside to be toggled 2024-12-30 20:47:41 +00:00
AKP
c47334ab11
Code formatting 2024-12-29 23:55:23 +00:00
AKP
5e21ab7a53
Generate Sass at compile time 2024-12-29 23:54:20 +00:00
AKP
704b714b48
Add redirect path transformations 2024-10-29 22:06:37 +00:00
AKP
c70b161b66
Enable Markdown autolinks 2024-10-19 14:47:21 +01:00
AKP
1ba60ecde3
Switch to using yaml.FullLoader instead of deprecated yaml.CFullLoader 2024-10-12 23:42:48 +01:00
AKP
37a7efb12d
Convert tabs in code blocks to 4 spaces 2024-10-12 23:22:07 +01:00
AKP
0760a9a8a8
Remove remnants of photo page experiments 2024-10-05 16:18:15 +01:00
AKP
82b7bc9ab9
Treat files that should be templated but without valid frontmatter as static files 2024-10-05 16:17:04 +01:00
AKP
ba999656ae
Add basics of photo galleries 2024-07-04 20:34:14 +01:00
AKP
e6370fce2c Now we can have proper canonical URLs everywhere! 2024-06-12 00:23:29 +01:00
AKP
22fcaab1d3
Add automatic canonical URL generation 2024-06-12 00:04:04 +01:00
AKP
b4a8b9de14
Add table of contents support 2024-06-11 23:39:40 +01:00
AKP
554a9c74d7
Enable figure support in Mistune and add figcaption styling 2024-06-04 23:56:57 +01:00
AKP
b030b6d4d6
Formatting 2024-04-10 00:36:47 +01:00
AKP
59a7ffea0b
Compress PNGs with pngcrush when building in production if possible 2024-04-10 00:36:02 +01:00
AKP
a4fbbfa90c
Fix date formatting and rendering
A change made in 768de93 caused the rendering of the copyright year
to break since I was trying to call `.year` on a `str`.

In the spirit of reproducible builds, we're still using the commit
date, but it's now received as a proper `datetime.datetime` and
rendered nicely instead of just taking a preformatted string out of
Git.
2024-03-30 23:53:07 +00:00
AKP
768de93214
Add commit date to builds 2024-03-24 01:57:48 +00:00
AKP
d1040e011f
Sort tags with descriptions higher in listings 2024-03-24 01:41:31 +00:00
AKP
3571efb63b
Add watch command shorthand 2024-02-29 23:44:07 +00:00
AKP
ae0013071a
Fix counts never being reset in watcher mode 2024-02-29 17:58:28 +00:00
AKP
168a7cf012
Ensure debounced run is used in the watcher 2024-02-27 18:27:06 +00:00
AKP
7c760b57e5
Make site directory optional 2024-02-27 18:25:44 +00:00