Cusdis Comments
Add enableComments: true
to posts to enable comments.
[Cusdis comment block]
Frontmatter
Display Header
Show or hide the header on any page via the header
property:
1title: "Dummy Title"
2date: 2006-01-04
3authors:
4 - "john"
5 - "doe"
6header: false # default = true
Page Subtitles
Add subtitles to any page via the subtitle
property
title: "My Cool Title"
subtitle: "and an equally cool subtitle"
date: 2006-01-04
Custom Fonts
Set custom page font with the font
property.
Available values include Baskervville
, Jost
, RougeScript
, SplineSansMono
and Pretendard
(default):
Baskervville
This is some text in Baskervville. Apparently this is said to be best for poetry or something. I’on know.
Jost
Jost looks classy. Use this when you’re feeling spicy in your posts.
RougeScript
Nice font, but base size is a little too small. We can fix that by increasing the font size!
SplineSansMono
A very nice looking monospace font. Very demure, very mindful.
Cover and Fullwidth Images
Add a cover and full-width image at the start of any page.
1---
2title: "Dummy Title"
3date: 2006-01-04
4cover:
5 src: "/path/to/cover.jpg"
6 alt: "description"
7 width: "<int>" # default = 1500
8 height: "<int>" # default = 750
9---
10
11{{< fullwidth src="/path/to/image.jpg" alt="description" [optional] width="width" [optional] height="height" >}}
Params:
src
: Image pathalt
: Image descriptionwidth
: [optional] Image width (defaults to 1920px)height
: [optional] Image height (defaults to 768px)
src
allows local (awesome-post/cover-image.jpg)
and external images (https://example.com/image.jpg)
Reply By Email
Readers can now reply post authors directly via email. The to
field takes the first author’s email and cc
’s all other authors.
+amtesblog
alias, making it easier for authors to create reply filters.Markdown Attributes
Enabled markdown attributes. (Also supports TailwindCSS classes.)
For example, the font on this paragraph is different from
this
Automatic last modified date
showUpdatedDate
property set to true
now automatically updates the post’s last modified date.