mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-25 22:45:53 -05:00
244 lines
6.5 KiB
YAML
244 lines
6.5 KiB
YAML
# If your site is in 'https', then make sure your base url isn't written using 'http' otherwise your sitemap would
|
|
# contain http (as opposeed to https) URLs. This would affect Google indexing of your URLs.
|
|
baseURL: "https://adityatelange.github.io/hugo-PaperMod/"
|
|
title: PaperMod
|
|
copyright: "© [PaperMod](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE)"
|
|
paginate: 5
|
|
theme: [hugo-PaperMod]
|
|
|
|
enableInlineShortcodes: true
|
|
enableRobotsTXT: true
|
|
buildDrafts: false
|
|
buildFuture: false
|
|
buildExpired: false
|
|
enableEmoji: true
|
|
pygmentsUseClasses: true
|
|
mainsections: ["posts", "papermod"]
|
|
# googleAnalytics: UA-123-45
|
|
|
|
minify:
|
|
disableXML: true
|
|
# minifyOutput: true
|
|
|
|
languages:
|
|
en:
|
|
languageName: "English"
|
|
weight: 1
|
|
taxonomies:
|
|
category: categories
|
|
tag: tags
|
|
series: series
|
|
menu:
|
|
main:
|
|
- name: Archive
|
|
url: archives
|
|
weight: 5
|
|
- name: Search
|
|
url: search/
|
|
weight: 10
|
|
- name: Tags
|
|
url: tags/
|
|
weight: 10
|
|
- name: WiKi
|
|
url: https://github.com/adityatelange/hugo-PaperMod/wiki/
|
|
|
|
fr:
|
|
languageName: ":fr:"
|
|
weight: 2
|
|
title: PaperModL2
|
|
taxonomies:
|
|
category: FRcategories
|
|
tag: FRtags
|
|
series: FRseries
|
|
menu:
|
|
main:
|
|
- name: Archive
|
|
url: archives/
|
|
weight: 5
|
|
- name: FRTags
|
|
url: frtags
|
|
weight: 10
|
|
- name: FRCategories
|
|
url: frcategories
|
|
weight: 10
|
|
- name: FRSeries
|
|
url: frseries
|
|
weight: 10
|
|
- name: NullLink
|
|
url: "#"
|
|
|
|
# custom params for each language should be under [langcode].parms - hugo v0.120.0
|
|
params:
|
|
languageAltTitle: French
|
|
profileMode:
|
|
enabled: true
|
|
title: PaperMod
|
|
imageUrl: "https://raw.githubusercontent.com/googlefonts/noto-emoji/master/svg/emoji_u1f9d1_1f3fb_200d_1f4bb.svg"
|
|
imageTitle: ProfileMode image
|
|
# imageWidth: 120
|
|
# imageHeight: 120
|
|
subtitle: "☄️ Fast | ☁️ Fluent | 🌙 Smooth | 📱 Responsive"
|
|
buttons:
|
|
- name: Blog
|
|
url: posts
|
|
- name: Profile Mode
|
|
url: https://github.com/adityatelange/hugo-PaperMod/wiki/Features#profile-mode
|
|
|
|
fa:
|
|
languagedirection: rtl
|
|
weight: 3
|
|
title: PaperMod RTL
|
|
taxonomies:
|
|
category: FAcategories
|
|
tag: FAtags
|
|
series: FAseries
|
|
menu:
|
|
main:
|
|
- name: FATags
|
|
url: fatags
|
|
weight: 10
|
|
# custom params for each language should be under [langcode].parms - hugo v0.120.0
|
|
params:
|
|
homeInfoParams:
|
|
Title: "Hi there \U0001F44B"
|
|
Content: Welcome to RTL layout
|
|
|
|
outputs:
|
|
home:
|
|
- HTML
|
|
- RSS
|
|
- JSON
|
|
|
|
params:
|
|
env: production # to enable google analytics, opengraph, twitter-cards and schema.
|
|
description: "Theme PaperMod - https://github.com/adityatelange/hugo-PaperMod"
|
|
author: Theme PaperMod
|
|
# author: ["Me", "You"] # multiple authors
|
|
|
|
defaultTheme: auto
|
|
# disableThemeToggle: true
|
|
ShowShareButtons: true
|
|
ShowReadingTime: true
|
|
# disableSpecial1stPost: true
|
|
displayFullLangName: true
|
|
ShowPostNavLinks: true
|
|
ShowBreadCrumbs: true
|
|
ShowCodeCopyButtons: true
|
|
ShowRssButtonInSectionTermList: true
|
|
ShowAllPagesInArchive: true
|
|
ShowPageNums: true
|
|
ShowToc: true
|
|
# comments: false
|
|
images: ["images/papermod-cover.png"]
|
|
|
|
profileMode:
|
|
enabled: false
|
|
title: PaperMod
|
|
imageUrl: "#"
|
|
imageTitle: my image
|
|
# imageWidth: 120
|
|
# imageHeight: 120
|
|
buttons:
|
|
- name: Archives
|
|
url: archives
|
|
- name: Tags
|
|
url: tags
|
|
|
|
homeInfoParams:
|
|
Title: "PaperMod's Demo"
|
|
Content: >
|
|
👋 Welcome to demo page of Hugo's theme PaperMod!
|
|
|
|
- **PaperMod** is designed to be clean and simple but fast and responsive theme with useful feature-set that enhances UX.
|
|
|
|
- Feel free to show your support by giving us a star 🌟 on GitHub and sharing with your friends and social media .
|
|
|
|
- PaperMod is based on theme [Paper](https://github.com/nanxiaobei/hugo-paper/tree/4330c8b12aa48bfdecbcad6ad66145f679a430b3).
|
|
|
|
socialIcons:
|
|
- name: github
|
|
title: View Source on Github
|
|
url: "https://github.com/adityatelange/hugo-PaperMod"
|
|
- name: Discord
|
|
title: Join discord community
|
|
url: "https://discord.gg/ahpmTvhVmp"
|
|
- name: X
|
|
title: Share PaperMod on X/Twitter
|
|
url: "https://x.com/intent/tweet/?text=Checkout%20Hugo%20PaperMod%20%E2%9C%A8%0AA%20fast,%20clean,%20responsive%20Hugo%20theme.&url=https://github.com/adityatelange/hugo-PaperMod&hashtags=Hugo,PaperMod"
|
|
- name: KoFi
|
|
title: Buy me a Ko-Fi :)
|
|
url: "https://ko-fi.com/adityatelange"
|
|
|
|
editPost:
|
|
URL: "https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/content"
|
|
Text: "Suggest Changes" # edit text
|
|
appendFilePath: true # to append file path to Edit link
|
|
|
|
# label:
|
|
# iconSVG: '<svg xmlns="http://www.w3.org/2000/svg" height="25" viewBox="0 -960 960 960" fill="currentColor"><path d="M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"/></svg>'
|
|
# text: "Home"
|
|
# icon: icon.png
|
|
# iconHeight: 35
|
|
|
|
# analytics:
|
|
# google:
|
|
# SiteVerificationTag: "XYZabc"
|
|
|
|
assets:
|
|
disableHLJS: true
|
|
# favicon: "<link / abs url>"
|
|
# favicon16x16: "<link / abs url>"
|
|
# favicon32x32: "<link / abs url>"
|
|
# apple_touch_icon: "<link / abs url>"
|
|
# safari_pinned_tab: "<link / abs url>"
|
|
|
|
# cover:
|
|
# hidden: true # hide everywhere but not in structured data
|
|
# hiddenInList: true # hide on list pages and home
|
|
# hiddenInSingle: true # hide on single page
|
|
|
|
# fuseOpts:
|
|
# isCaseSensitive: false
|
|
# shouldSort: true
|
|
# location: 0
|
|
# distance: 1000
|
|
# threshold: 0.4
|
|
# minMatchCharLength: 0
|
|
# keys: ["title", "permalink", "summary", "content"]
|
|
|
|
markup:
|
|
goldmark:
|
|
renderer:
|
|
unsafe: true
|
|
highlight:
|
|
noClasses: false
|
|
# anchorLineNos: true
|
|
# codeFences: true
|
|
# guessSyntax: true
|
|
# lineNos: true
|
|
# style: monokai
|
|
|
|
# privacy:
|
|
# vimeo:
|
|
# disabled: false
|
|
# simple: true
|
|
|
|
# twitter:
|
|
# disabled: false
|
|
# enableDNT: true
|
|
# simple: true
|
|
|
|
# instagram:
|
|
# disabled: false
|
|
# simple: true
|
|
|
|
# youtube:
|
|
# disabled: false
|
|
# privacyEnhanced: true
|
|
|
|
services:
|
|
instagram:
|
|
disableInlineCSS: true
|
|
twitter:
|
|
disableInlineCSS: true
|