| title | date | author | tags | description | ||
|---|---|---|---|---|---|---|
KamiMod: An Incremental PaperMod Fork |
2024-11-04 |
8 Hobbies JavaScript Blog |
|
KamiMod is an incremental fork of PaperMod. |
end_insert -->
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.0means 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
timetag instead ofspanto express post dates.
- adityatelange/hugo-PaperMod#1533
.Descriptionis 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.showDescriptiontotrueto display descriptions, orfalseto hide descriptions. Default:false.
- Setting
params.excludeFromRSSto true in the frontmatter of a page to exclude it from the RSS feed.
- Content from
layouts/partials/extend_robots.txtis appended to the builtinrobots.txtfile.
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
.Descriptionin RSS leads to very little information for readers.
- The
utm_medium=sharingparam is added to the URLs shared by the share buttons. - The
utm_medium=rssparam 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-PaperModwithhttps://github.com/8hobbies/KamiMod. - Replace all other occurrences of
PaperModwithKamiMod.
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.