Olaf's Simple Photo Blog

Olaf's tiny tippy tips for better blogging

Published on Sunday, January 3, 2021
Olaf warming his belly by the radiator

First, you can set the post's publication-date by starting the folder's name with a date in the format yyyy-mm-dd (e.g. 2020-03-15 for the 15th of March, 2020). It might look a bit weird at first but it makes sense if we want our folders to be ordered chronologically.

Olaf lying on the bed

The second trick is that you can add hashtags at the end of title and they'll appear as such.Hashtags are single words starting with "#" (for example "#cool").

Olaf in the stairs rooms

In addition to the image ALT text you can also add a caption, by creating a text (or HTML or MD) with exactly the same name. for example for the photo "hunting.jpg" the caption would be "hunting.jpg.txt"

Olaf staring at a bird by the window
Thoughts on dinner

And lastly, by default the posts are ordered by default in an ascending order (meaning old posts appear at the top) but you can simply reverse the order by updating the "blog-configure.yaml" file setting "order" to "descending".