RSS Amplifier

Plurrrr · Aug 7, 2026

More tumblelog fixes

0
Sign in to vote or save

John Bokma · plurrrr.com

Last monday I bumped into a bug regarding how the archive of tumblelog is rendered if the blog only has a date of which the year and ISO year differ, for example 2018-12-31. No link was generated to the 2019 calendar page while the page itself was generated.

The next day, while checking a calendar page on my phone I noticed that the months didn't fit on the small screen.

And today I fixed both issues and did some more finetuning. Note that because I changed _tumblelog.scss you have to regenerate the style sheet for your site using sass.

The changelog for 6.5.0 is as follows:

  • Use grid and flex instead of float in .tl-archive (styles/_tumblelog.scss)
  • Make month in calendar view smaller on small screens (styles/_tumblelog.scss)
  • Fix bug regarding year not showing in Archive for e.g. 2025-12-31
  • Use assert instead of raising RuntimeError (tumblelog.py)
  • Format year correctly in create_year_pages (tumblelog.py)
  • Catch yaml.YAMLError instead of yaml.parser.ParserError (tumblelog.py)
  • Simplify create_archive to make every year count

As usual the latest version is available on GitHub.

Read the original on plurrrr.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.