diff --git a/hugo.toml b/hugo.toml index 3a91c59..bae5352 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,246 +1,197 @@ -baseURL = 'https://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' -theme = 'papermod' -# 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 -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: '' - # text: "Home" - # icon: icon.png - # iconHeight: 35 - - # analytics: - # google: - # SiteVerificationTag: "XYZabc" - - assets: - disableHLJS: true - # favicon: "" - # favicon16x16: "" - # favicon32x32: "" - # apple_touch_icon: "" - # safari_pinned_tab: "" - - # 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 +baseURL = "https://adityatelange.github.io/hugo-PaperMod/" +title = "PaperMod" +paginate = 5 +theme = [ "hugo-PaperMod" ] +enableInlineShortcodes = true +enableRobotsTXT = true +buildDrafts = false +buildFuture = false +buildExpired = false +enableEmoji = true +pygmentsUseClasses = true +mainsections = [ "posts", "papermod" ] + +[minify] +disableXML = true + +[languages.en] +languageName = "English" +weight = 1 + + [languages.en.taxonomies] + category = "categories" + tag = "tags" + series = "series" + +[[languages.en.menu.main]] +name = "Archive" +url = "archives" +weight = 5 + +[[languages.en.menu.main]] +name = "Search" +url = "search/" +weight = 10 + +[[languages.en.menu.main]] +name = "Tags" +url = "tags/" +weight = 10 + +[[languages.en.menu.main]] +name = "WiKi" +url = "https://github.com/adityatelange/hugo-PaperMod/wiki/" + +[languages.fr] +languageName = ":fr:" +weight = 2 +title = "PaperModL2" + + [languages.fr.taxonomies] + category = "FRcategories" + tag = "FRtags" + series = "FRseries" + +[[languages.fr.menu.main]] +name = "Archive" +url = "archives/" +weight = 5 + +[[languages.fr.menu.main]] +name = "FRTags" +url = "frtags" +weight = 10 + +[[languages.fr.menu.main]] +name = "FRCategories" +url = "frcategories" +weight = 10 + +[[languages.fr.menu.main]] +name = "FRSeries" +url = "frseries" +weight = 10 + +[[languages.fr.menu.main]] +name = "NullLink" +url = "#" + + [languages.fr.params] + languageAltTitle = "French" + + [languages.fr.params.profileMode] + enabled = true + title = "PaperMod" + imageUrl = "https://raw.githubusercontent.com/googlefonts/noto-emoji/master/svg/emoji_u1f9d1_1f3fb_200d_1f4bb.svg" + imageTitle = "ProfileMode image" + subtitle = "☄️ Fast | ☁️ Fluent | 🌙 Smooth | 📱 Responsive" + + [[languages.fr.params.profileMode.buttons]] + name = "Blog" + url = "posts" + + [[languages.fr.params.profileMode.buttons]] + name = "Profile Mode" + url = "https://github.com/adityatelange/hugo-PaperMod/wiki/Features#profile-mode" + +[languages.fa] +languagedirection = "rtl" +weight = 3 +title = "PaperMod RTL" + + [languages.fa.taxonomies] + category = "FAcategories" + tag = "FAtags" + series = "FAseries" + +[[languages.fa.menu.main]] +name = "FATags" +url = "fatags" +weight = 10 + +[languages.fa.params.homeInfoParams] +Title = "Hi there 👋" +Content = "Welcome to RTL layout" + +[outputs] +home = [ "HTML", "RSS", "JSON" ] + +[params] +env = "production" +description = "Theme PaperMod - https://github.com/adityatelange/hugo-PaperMod" +author = "Theme PaperMod" +defaultTheme = "auto" +ShowShareButtons = true +ShowReadingTime = true +displayFullLangName = true +ShowPostNavLinks = true +ShowBreadCrumbs = true +ShowCodeCopyButtons = true +ShowRssButtonInSectionTermList = true +ShowAllPagesInArchive = true +ShowPageNums = true +ShowToc = true +images = [ "images/papermod-cover.png" ] + + [params.profileMode] + enabled = false + title = "PaperMod" + imageUrl = "#" + imageTitle = "my image" + + [[params.profileMode.buttons]] + name = "Archives" + url = "archives" + + [[params.profileMode.buttons]] + name = "Tags" + url = "tags" + + [params.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). +""" + + [[params.socialIcons]] + name = "github" + title = "View Source on Github" + url = "https://github.com/adityatelange/hugo-PaperMod" + + [[params.socialIcons]] + name = "Discord" + title = "Join discord community" + url = "https://discord.gg/ahpmTvhVmp" + + [[params.socialIcons]] + 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" + + [[params.socialIcons]] + name = "KoFi" + title = "Buy me a Ko-Fi :)" + url = "https://ko-fi.com/adityatelange" + + [params.editPost] + URL = "https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/content" + Text = "Suggest Changes" + appendFilePath = true + + [params.assets] + disableHLJS = true + +[markup.goldmark.renderer] +unsafe = true + +[markup.highlight] +noClasses = false + +[services.instagram] +disableInlineCSS = true + +[services.twitter] +disableInlineCSS = true