Skip to content

QoL changes for pinned posts, description in posts, code & text highlight

Compare
Choose a tag to compare
@1bl4z3r 1bl4z3r released this 03 Mar 07:25
· 186 commits to main since this release

What's changed

  • Contents can show description in content list. This is toggleable by setting descriptionInPosts = true in hugo.toml

    • Before

    Screenshot from 2024-03-03 11-48-49

    • After

    Screenshot from 2024-03-03 11-49-37

  • Content can be now pinned in content list. Content pinned will not be shown in content list. This is toggleable by setting pinned = "Pinned Posts" in hugo.toml. 'Pinned Posts' can be set to anything. If pinned is not set and atleast one content is not set as pinned content, pinned posts section will not be shown. A content can be set as pinned by adding pin: true to page Frontmatter.

Screenshot from 2024-03-03 11-55-48

  • Inline code highlight is changed to increase contrast

    • Before

    Screenshot from 2024-03-03 11-59-11

    • After

    Screenshot from 2024-03-03 11-59-23

  • Lastmod has been changed, where Date will always show the latest date. This allows for the content which is updated to have latest date. Initial publish date has been shifted inside [] for record keeping. The section for initial publish can be customized by setting initialPublish = "Initally Posted on: " in hugo.toml. As usual, "Initally Posted on: " can be changed as per your liking

    • Before

    Screenshot from 2024-03-03 12-01-32

    • After

    Screenshot from 2024-03-03 12-16-39

  • Text selection highlight has been changed to better reflect hermit-V2's color scheme.

    • Before

    Screenshot from 2024-03-03 12-19-00

    • After

    Screenshot from 2024-03-03 12-20-23

  • Mathjax support has been simplified in accordance with hugo's LaTeX suggestions.

Full Changelog: v1.0.15...v1.1.0