hugo-theme-wondermod/content/posts/papermod/papermod-features.md
2020-09-17 14:28:09 +05:30

3.1 KiB

title date showToc hidemeta TocOpen weight aliases tags author
Papermod - Features 2020-09-16T11:30:03+05:30 true true true 2
/papermod-features
PaperMod
Aditya Telange

Assets (js/css)

The following is enabled by default


Default Theme light/dark

params:
    defaultTheme: light

or

params:
    defaultTheme: dark

Archives Layout

Add vars below to page-variables

layout: "archives"

ex: here


Home-Info Mode

Use 1st entry as some Information

add following to config file

params:
    homeInfoParams:
        Title: Hi there wave
        Content: Can be Info, links, about...

    socialIcons: # optional
        - name: "<platform>"
            url: "<link>"
        - name: "<platform 2>"
            url: "<link2>"

ex. here


Profile Mode

Shows Index/Home page as Full Page with Social Links and Image

add following to config file

params:
    profileMode:
        enabled: true
        title: "<Title>" # optional default will be site title
        imageUrl: "<image link>" # optional
        imageTitle: "<title of image as alt>" # optional
        buttons:
            - name: Archive
            url: "/archive"
            - name: Github
            url: "https://github.com/"

    socialIcons: # optional
        - name: "<platform>"
            url: "<link>"
        - name: "<platform 2>"
            url: "<link2>"


Draft Page indication

adds [draft] mark to indicate draft pages.


Scroll-to-Top Button

Displays a Scroll-to-Top button in right-bottom corner

Share Buttons on post

Displays Share Buttons at Bottom of each post

to show share buttons add

params:
    ShowShareButtons: true


Show post reading time

Displays Reading Time (the estimated time, in minutes, it takes to read the content.)

To show reading time add

Params:
    ShowReadingTime: true

Show Table of Contents on blog post

Displays ToC on blog-pages

To show ToC add following to page-variables

ShowToc: true

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

more : read this


Scroll-Bar themed