KamiMod: An Incremental PaperMod Fork
KamiMod makes a few incremental changes to PaperMod. This fork regularly syncs up with PaperMod.
This theme adds the following features and quality improvements on top of PaperMod. They are features or improvements that have been left unmerged from PaperMod.
- Corresponding to adityatelange/hugo-PaperMod#1049, with different implementation.
- Configurable via
params.RelatedPostsCount
.0
means no related posts. A positive number indicates the maximum number of related posts appended to the end of each post. Default:0
. - See the Hugo doc for further configuration of the behavior of related posts.
- adityatelange/hugo-PaperMod#1337
- Use the
time
tag instead ofspan
to express post dates.
- adityatelange/hugo-PaperMod#1533
.Description
is meant to be used for metadata purpose:Conceptually different from a content summary, a page description is typically used in metadata about the page.
- Set
params.showDescription
totrue
to display descriptions, orfalse
to hide descriptions. Default:false
.
- Setting
params.excludeFromRSS
to true in the frontmatter of a page to exclude it from the RSS feed.
- Content from
layouts/partials/extend_robots.txt
is appended to the builtinrobots.txt
file.
Google relies the WebSite
structured data to find out the site name and homepage URL.
alternateName
is
used by Google to select a name of the site. In addition to title
, you can specify alternate
site names in params.alternateSiteNames
:
params:
alternateSiteNames: ["Name1", "Name2"]
- adityatelange/hugo-PaperMod#1494
- MDN advises not using accesskeys for general purpose websites for various reasons.
- WebAIM also recommends against using accesskeys generally.
- Hugo description is conceptually for metadata about a page. Using
.Description
in RSS leads to very little information for readers.
- The
utm_medium=sharing
param is added to the URLs shared by the share buttons. - The
utm_medium=rss
param is added to the RSS links.
- Many custom output formats don't need such a link element.
You may follow the installation instructions from PaperMod, with the following changes:
- Replace
https://github.com/adityatelange/hugo-PaperMod
withhttps://github.com/8hobbies/KamiMod
. - Replace all other occurrences of
PaperMod
withKamiMod
.
Except for the features listed above, please follow the PaperMod doc for configurations.
There is also a live demo, along with its source code.
If you would like to report a bug, please use the GitHub issue tracker. Since KamiMod is an incremental fork of PaperMod, it is highly recommended to report to PaperMod if applicable.
If you would like to make code contribution, please make a pull request to PaperMod first if applicable. If the pull request does not get merged in a reasonable amount of time, feel free to port the pull request here. To maintain the incremental nature of this project, we will not consider pull requests that are applicable to PaperMod if they haven't been submitted to PaperMod first.