QoL changes for pinned posts, description in posts, code & text highlight
What's changed
-
Contents can show description in content list. This is toggleable by setting
descriptionInPosts = true
inhugo.toml
- Before
- After
-
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"
inhugo.toml
. 'Pinned Posts' can be set to anything. Ifpinned
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 addingpin: true
to page Frontmatter.
-
Inline code highlight is changed to increase contrast
- Before
- After
-
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 settinginitialPublish = "Initally Posted on: "
inhugo.toml
. As usual, "Initally Posted on: " can be changed as per your liking- Before
- After
-
Text selection highlight has been changed to better reflect hermit-V2's color scheme.
- Before
- After
-
Mathjax support has been simplified in accordance with hugo's LaTeX suggestions.
Full Changelog: v1.0.15...v1.1.0