Sunday, December 31, 2023

sort by date reverse order

in the food template in beorg this is how you query date in reverse order.

(it’s a 3.99$ iap to save search that’s why i’m making a blog post.)

f food > h

this searches in file food sorting headings with oldest (lowest) at the top

high to low = descending
low to high = ascending

< = desc
> = asc

^ * i encoded this post to prevent blogger from deleting the greater than signs but that makes it a little harder to read.

  • TODO look into a plug-in that can decode escaped html entities
  • hopefully something slick already exists like highlight js but for writing html in blogger posts

No comments:

Post a Comment