diff --git a/config.yml b/config.yml index 18060b3f..9415451b 100644 --- a/config.yml +++ b/config.yml @@ -120,7 +120,7 @@ params: url: tags homeInfoParams: - Title: "PaperMod v3.0" + Title: "PaperMod" Content: > Welcome to demo of hugo's theme PaperMod. diff --git a/content/posts/papermod/papermod-features/index.md b/content/posts/papermod/papermod-features/index.md index f94446fc..e14e7bdd 100644 --- a/content/posts/papermod/papermod-features/index.md +++ b/content/posts/papermod/papermod-features/index.md @@ -204,6 +204,7 @@ cover: # ex. https://i.ibb.co/K0HVPBd/paper-mod-profilemode.png alt: "" caption: "" + relative: false # To use relative path for cover image, used in hugo Page-bundles ``` When you include images in the [Page Bundle](https://gohugo.io/content-management/page-bundles/), multiple sizes of the image will automatically be provided using the HTML5 `srcset` field. diff --git a/content/posts/papermod/papermod-variables.md b/content/posts/papermod/papermod-variables.md index fa6cdf8e..3b4e8a8d 100644 --- a/content/posts/papermod/papermod-variables.md +++ b/content/posts/papermod/papermod-variables.md @@ -15,25 +15,29 @@ draft: true ### Site Variables -| name | type | example | Description | -| ---------------------- | ------------ | ------------------------ | ------------------------------------------------------- | -| env | string | 'production' | To set env to production | -| title | string | 'My Blog' | To set title | -| description | string | 'This is a blog of mine' | To set site description | -| author | ["Me","You"] | list | To show multiple Authors | -| images | string | 'myimage.png' | Link or path of image for opengraph, twitter-cards | -| ShowReadingTime | boolean | true \| false | To show read time in post meta | -| ShowShareButtons | boolean | true \| false | To show/hide share buttons under post | -| defaultTheme | string | light \| dark \| auto | To set default theme | -| disableThemeToggle | boolean | true \| false | To disable theme toggle icon shown besides label | -| disableSpecial1stPost | boolean | true \| false | To disable no-card special appearance of 1st post | -| | | | | -| label.text | string | 'Home' | To display different label text other than title | -| label.icon | string | '/apple-touch-icon.png' | To display a logo image in label | -| label.iconHeight | integer | 35 | To set size of label logo image | -| assets.favicon | string | 'icon.ico' | To set favicon, can be path or external link | -| cover.linkFullImages | boolean | true \| false | To open full size cover images on click on cover | -| cover.responsiveImages | boolean | true \| false | To enable/disable generation of responsive cover images | +| name | type | example | Description | +| ---------------------- | ------------ | ------------------------ | ----------------------------------------------------------------------------------- | +| env | string | 'production' | To set env to production | +| title | string | 'My Blog' | To set title | +| description | string | 'This is a blog of mine' | To set site description | +| author | ["Me","You"] | list | To show multiple Authors | +| images | string | 'myimage.png' | Link or path of image for opengraph, twitter-cards | +| ShowReadingTime | boolean | true \| false | To show read time in post meta | +| ShowShareButtons | boolean | true \| false | To show/hide share buttons under post | +| defaultTheme | string | light \| dark \| auto | To set default theme | +| disableThemeToggle | boolean | true \| false | To disable theme toggle icon shown besides label | +| disableSpecial1stPost | boolean | true \| false | To disable no-card special appearance of 1st post | +| hidemeta | boolean | true \| false | To Hide meta elements : date, read-time, author and available-translations for page | +| showtoc | boolean | true \| false | To show/hide Table of Contents | +| tocopen | boolean | true \| false | To keep open ToC by default on page load | +| comments | boolean | true \| false | To show/hide comments | +| | | | | +| label.text | string | 'Home' | To display different label text other than title | +| label.icon | string | '/apple-touch-icon.png' | To display a logo image in label | +| label.iconHeight | integer | 35 | To set size of label logo image | +| assets.favicon | string | 'icon.ico' | To set favicon, can be path or external link | +| cover.linkFullImages | boolean | true \| false | To open full size cover images on click on cover | +| cover.responsiveImages | boolean | true \| false | To enable/disable generation of responsive cover images | ---