Post metadata toggle, category feeds, shortcuts and other Website updates

contents (5)

This post covers recent website updates (post metadata, category feeds, keyboard shortcuts, /paste/ QR codes and /sacred/ settings).

Post metadata#

Added a new default post metadata layout for /home/, /posts/, /posts/archive/ and post headers

  • Shows the category, author, post dates (in <category> - posted X days ago by <author> - updated X days ago)
  • Added a meta: new|legacy toggle to switch between the new and previous layout (clv_post_meta cookie)
  • Replaced the pinned badge with a pin icon
  • Removed the newest badge

Category feeds#

Categories now have their own RSS and JSON feeds

  • /posts/category/<slug>/feed.xml (RSS 2.0) and /posts/category/<slug>/feed.json (JSON Feed 1.1)
  • The RSS and JSON buttons on /posts/ and /posts/archive/ now link to the chosen category's feeds when filtering by category
  • Post footers now include rss (<category>) and json (<category>) links together with the other global feeds

Keyboard shortcuts#

Added the remaining site navigation shortcuts to g+<key> and a ? shortcut to open the keyboard shortcuts dialog (also available under ACTIONS and in the command palette)

key scope do
? * open keyboard shortcuts dialog
g+r * navigate to /redirect/
g+x * navigate to /paste/
g+n * navigate to /nip/
g+s * navigate to /sacred/
g+i * navigate to /api/
g+d * navigate to /api/v1/docs/
g+b * navigate to /api/bug-reporting/
g+c * navigate to /contact/

Paste QR codes#

Added client side QR code gen and download to /paste/

  • Added qr, hide qr button(s) on both creation results and the viewer bar
  • The QR includes the URL with the key for encrypted ones (it can be scanned and opened directly on a phone w/o having to introduce the key manually, for example)
  • The quick paste modal now shows the direct URL and has the show|hide QR button

Sacred#

Added client (vanilla / SacredNL|PureHD) and lobby (hostname / ipv4) toggles above the Settings.cfg block on /sacred/