Commit Graph

6 Commits

Author SHA1 Message Date
8f98e72e47 Lazy load blog post images by default
* Post.HTML() and PreviewHTML() both mogrify the resulting HTML code to
  ensure all <img> tags have loading="lazy" unless a loading attribute
  is already present.
2020-04-09 19:16:41 -07:00
211b7d8318 Multitag frontend update, bug fixes
* Checking the box to reset a post's UpdatedAt to CreatedAt now actually
  does so (removes the "updated at" label from front-end)
* Tagged Posts index now has better header formatting when multi-tags
  are in use.
  * No longer "Tagged as: hello,world,-mars"
  * Now is titled "Tagged Posts" and includes the lists of Tags and Not
    formatted nicely with clickable links.
* Fixes the "Read more..." link always appearing in HTML-type blog
  posts even when they didn't use the `<snip>` tag.
2020-02-26 12:51:51 -08:00
4d97fec246 ACE Code Editor and Blog Random-Page Endpoint 2020-02-17 21:21:09 -08:00
5b6712ea97 Blog Archive, RSS Feeds, and Model Cleanup
* Legacy-importer tool updates the DB primary key serial after migrating
  the posts, to be max(posts.id)+1 -- especially important for
  PostgreSQL and MySQL (SQLite3 correctly picked the next ID by
  default?)
* Add blog archive page and RSS, Atom and JSON feeds for the blog.
  URLs are /blog.rss, /blog.atom and /blog.json
2020-02-17 18:10:35 -08:00
fd1494cf75 Tags List page 2019-11-26 17:30:31 -08:00
117542b23c Basic Blog Functionality & Permissions 2019-11-26 16:54:02 -08:00