hugo-theme-wondermod/index.json

1 line
42 KiB
JSON
Raw Normal View History

[{"content":"Intro We\u0026rsquo;ll be using yml/yaml format for all examples down below, I recommend using yml over toml as it is easier to read. You can find any YML to TOML converters if necessary. Guide Follow Quick Start guide to setup and create a new site.\n Note: Use -f to select yml format\nhugo new site \u0026lt;name of site\u0026gt; -f yml\n Make sure you install latest version of hugo(\u0026gt;=0.83.0).\nAfter you have created a new site, at Step 3 follow the steps:\nMethod 1 Inside the folder of your Hugo site, run:\ngit clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 Note: You may use --branch v5.0 to end of above command if you want to stick to specific release.\n Updating theme :\ncd themes/PaperMod git pull Method 2 you can use as submodule with\ngit submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically) Note: You may use --branch v5.0 to end of above command if you want to stick to specific release.\n Updating theme :\ngit submodule update --remote --merge Method 3 Or you can Download as Zip from Github Page and extract in your themes directory\nDirect Links:\n Master Branch (Latest) v6.0 v5.0 v4.0 v3.0 v2.0 v1.0 Finally \u0026hellip; Add in config.yml:\ntheme:\u0026#34;PaperMod\u0026#34;Method 4 Install Go programming language in your operating system.\n Intialize your own hugo mod\n hugo mod init YOUR_OWN_GIT_REPOSITORY Add PaperMod in your config.yml file module: imports: - path: github.com/adityatelange/hugo-PaperMod Update theme hugo mod get -u Quick Links Papermod - Features Papermod - FAQs Papermod - Variables Papermod - Icons ChangeLog Sample config.yml Example Site Structure is present here: exampleSite\n Use appropriately\nbaseURL:\u0026#34;https://examplesite.com/\u0026#34;title:ExampleSitepaginate:5theme:PaperModenableRobotsTXT:truebuildDrafts:falsebuildFuture:falsebuildExpired:falsegoogleAnalytics:UA-123-45minify:disableXML:trueminifyOutput:trueparams:env:production# to enable google analytics, opengraph, twitter-cards and schema.title:ExampleSitedescription:\u0026#34;ExampleSite description\u0026#34;keywords:[Blog, Portfolio, PaperMod]author:Me# author: [\u0026#34;Me\u0026#34;, \u0026#34;You\u0026#34;] # multiple authorsimages:[\u0026#34;\u0026lt;link or path of image for opengraph, twitter-cards\u0026gt;\u0026#34;]DateFormat:\u0026#34;January 2, 2006\u0026#34;defaultTheme:auto# dark, lightdisableThemeToggle:falseShowReadingTime:trueShowShareButtons:trueShowPostNavLinks:trueShowBreadCrumbs:trueShowCodeCopyButtons:falseShowWordCount:trueShowRssButtonInSectionTermList:trueUseHugoToc:truedisableSpecial1stPost:falsedisableScrollToTop:falsecomments:falsehidemeta:falsehideSummary:falseshowtoc:falsetocopen:falseassets:# disableHLJS: true # to disable highlight.js# disableFingerprinting: truefavicon:\u0026#34;\u0026lt;link / abs url\u0026gt;\u0026#34;favicon16x16:\u0026#34;\u0026lt;link / abs url\u0026gt;\u0026#34;favicon32x32:\u0026#34;\u0026lt;link / abs url\u0026gt;\u0026#34;apple_touch_icon:\u0026#34;\u0026lt;link / abs url\u0026gt;\u0026#34;safari_pinned_tab:\u0026#34;\u0026lt;link / abs url\u0026gt;\u0026#34;label:text:\u0026#34;Home\u0026#34;icon:/apple-touch-icon.pngiconHeight:35# profile-modeprofileMode:enabled:false# needs to be explicitly settitle:ExampleSitesubtitle:\u0026#34;This is subtitle\u0026#34;imageUrl:\u0026#34;\u0026lt;img location\u0026gt;\u0026#34;imageWidth:120imageHeight:120imageTitle:my imagebuttons:- name:Postsurl:posts- name:Tagsurl:tags# home-info modehomeInfoParams:Title:\u0026#34;Hi there \\U0001F44B\u0026#34;Content:Welcome to my blogsocialIcons:- name:twitterurl:\u0026#34;https://twitter.com/\u0026#34;- name:stackoverflowurl:\u0026#34;https://stackoverflow.com\u0026#34;- name:githuburl:\u0026#34;https://github.com/\u0026#34;analytics:google:SiteVerificationTag:\u0026#34;XYZabc\u0026#34;bing:SiteVerificationTag:\u0026#34;XYZabc\u0026#34;yandex:Site