Commit Graph

24 Commits

Author SHA1 Message Date
8ebc4de1a7 Re-attempt migration with modernize 2023-11-22 14:48:24 -05:00
idk
8080799be5 remove print call from the blog renderer 2023-05-24 18:11:08 +00:00
idk
84d35a67c7 never ever ever leave a {% trans %}{% endtrans %} block empty, or it will break like half the languages for some mysterious reason 2023-05-04 04:25:47 +00:00
idk
1d40ab7d28 rename date-fix functions 2022-08-24 14:48:18 -04:00
idk
ab2c0d3856 delete superflous comment 2022-08-24 13:49:40 -04:00
idk
19e33a92be force 1 and 2 digit date units to compare as if they were always 2-digit date units when sorting blog posts. Serve 2-digit date-units before 1-digit date units when rendering blog posts. 2022-08-24 13:49:05 -04:00
b761e26add Extract metadata extraction method 2015-11-06 21:09:54 +00:00
2132887405 Add author to Atom feed entries 2015-09-09 01:19:14 +00:00
f0c27338a7 New draft extension part 2 2015-01-20 10:14:19 +00:00
bcdedcde43 .rst.draft -> .draft.rst so draft blog post still get syntax highlighting 2015-01-20 10:11:47 +00:00
4100b808d4 Remove BLOG_DIR from blog errors without breaking the blog 2014-11-15 23:54:06 +00:00
1a02306080 Style tweak 2014-10-22 21:00:44 +00:00
814b537775 Don't leak info in blog errors, make them less scary 2014-10-22 20:53:54 +00:00
7c018e3418 Allow drafts to be viewed live (but not shown on index) 2014-02-08 22:20:21 +00:00
55af9d11b3 Add category support to the Atom feed 2013-02-03 02:53:58 +00:00
f32b6e3c14 Refactor blog category post selection 2013-02-03 02:24:05 +00:00
3b01e1956d Use the title from the post as meta['title'] instead of the slug, so it can be translated 2013-01-16 04:07:36 +00:00
7569201b1d Don't try and split a list metatag if it doesn't exist 2013-01-16 02:05:27 +00:00
786e37f524 Enable some metatags to be comma-separated lists 2013-01-16 02:03:21 +00:00
ca8717e172 Pre-render the blog posts with Jinja2 so that URLs etc. can be properly handled 2013-01-16 01:52:31 +00:00
8e09d84d09 Reworked meta dict usage to make blog templates easier to understand
Displayed dates in the blog templates are now all taken from meta['date'],
which can be set by the 'date' metatag in the blog post but defaults to the
date obtained from the post's slug (i.e. what subfolder the post is in).
2013-01-16 01:41:24 +00:00
2acc8bc433 Blog entries -> Blog posts 2013-01-09 00:32:32 +00:00
9a81261190 Rework of blog
- Added support for metadata in blog entries
- Modified blog/index.html and blog/entry.html templates to use metadata
- Migrated the most recent post over to just a .rst file and added metadata
2013-01-08 01:33:22 +00:00
785f627d7a Reorganized site and blog views and helpers to use LazyView
This increases the speed of the site by not requiring the site and blog code to
be imported on every request - just those that are relevant. It also splits the
code into modules which are easier to work with.
2012-12-19 06:53:59 +00:00