Assets (js/css)
The following is enabled by default
- minification - makes the assets size smallest as possible.
- bundling - bundles all the styles in one single asset
- fingerprint/intergity check.
Default Theme light/dark/auto
params:
+ minification - makes the assets size smallest as possible. bundling - bundles all the styles in one single asset fingerprint/intergity check. Default Theme light/dark/auto params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme Theme Switch Toggle (enabled by default) Shows icon besides title of page to change theme">Papermod - Features
Assets (js/css)
The following is enabled by default
- minification - makes the assets size smallest as possible.
- bundling - bundles all the styles in one single asset
- fingerprint/intergity check.
Default Theme light/dark/auto
params:
# defaultTheme: light
# defaultTheme: dark
defaultTheme: auto # to switch between dark or light according to browser theme
@@ -44,7 +44,7 @@ Add vars below to its page-variablescaption: '<text>'
When you include images in the Page Bundle, multiple sizes of the image will automatically be provided using the HTML5 srcset
field.
To reduce generation time and size of the site, you can disable this feature using
params:
cover:
- responsiveImages: false
+ responsiveImages: false
To enable hyperlinks to the full image size on post pages, use
params:
cover:
linkFullImages: true
@@ -54,6 +54,11 @@ Add vars below to its page-variablesShowReadingTime: true
Show Table of Contents (Toc) on blog post
Displays ToC on blog-pages
To show ToC add following to page-variables
ShowToc: true
To keep Toc Open by default on a post add following to page-variables:
TocOpen: true
+
Multiple Authors
To Use multiple authors for a post, in post-variables:
---
+author: ["Me", "You"]
+---
+
To use Multiple Authors Site-wide, in config.yml
:
params:
+ author: ["Me", "You"]
Comments
to add comments, create a html file
layouts/partials/comments.html
and paste code provided by your comments provider
also in config add this
params:
comments: true
read more about this here
Misc
Scroll-Bar themed (by default)
Smooth Scroll between in-page links (by default)
Scroll-to-Top Button (by default)
Displays a Scroll-to-Top button in right-bottom corner
Google Analytics integration
Open-Graph support
Twitter Cards Support
Syntax highlighting
Twitter cards and opengraph tags support
RSS feeds
Multilingual Support