diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 7dc6f1c392..1ab7b9a878 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -15,7 +15,7 @@ on: hugoVersion: description: "Hugo Version" required: false - default: "0.146.0" + default: "0.149.0" # Allow one concurrent deployment concurrency: @@ -38,7 +38,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.146.0' }} + HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.149.0' }} steps: - name: Install Hugo CLI run: | diff --git a/README.md b/README.md index c0a964f1a6..197c232c70 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,7 @@ Read Wiki => [hugo-PaperMod - Installation](https://github.com/adityatelange/hug ``` .(site root) -├── configTaxo.yml -├── config.yml +├── hugo.yml ├── content │ ├── archives.fr.md │ ├── archives.md diff --git a/content/posts/papermod/papermod-faq.md b/content/posts/papermod/papermod-faq.md index e1d0bab953..496a1e43fd 100644 --- a/content/posts/papermod/papermod-faq.md +++ b/content/posts/papermod/papermod-faq.md @@ -1,6 +1,6 @@ --- title: "FAQs / How To's Guide" -summary: We'll try to answer frequently asked qestions by users. +summary: We'll try to answer frequently asked questions by users. date: 2021-01-20 aliases: ["/papermod-how-to-guide"] tags: ["PaperMod", "Docs"] @@ -58,7 +58,7 @@ Why was the `asset` not loading ? : [How_browsers_handle_Subresource_Integrity]( **Solution:** -Set the following in `config.yml` +Set the following in `hugo.yml` ```yml {linenos=true} params: @@ -78,11 +78,11 @@ Linked Issues: - For adding custom css to be bundled inside one minimized css -Create folder in yout project directory as +Create folder in your project directory as ``` .(site root) -├── config.yml +├── hugo.yml ├── content/ ├── theme/hugo-PaperMod/ └── assets/ @@ -108,7 +108,7 @@ Custom css/js can be added by way mentioned below. ``` .(site root) -├── config.yml +├── hugo.yml ├── content/ ├── theme/hugo-PaperMod/ └── layouts @@ -131,7 +131,7 @@ and contents of `extend_footer.html` will be added to bottom of page. You can add menu entries which will appear in the header of every page. -To do so, add a `menu` section to your site's `config.yml`: +To do so, add a `menu` section to your site's `hugo.yml`: ```yml {linenos=true} menu: @@ -243,7 +243,7 @@ use `align=center` to center image with captions ## Using Hugo's Syntax highlighter "chroma" -1. Disable Highlight.js in site `config.yml` +1. Disable Highlight.js in site `hugo.yml` ```yml {linenos=true} params: @@ -251,7 +251,7 @@ use `align=center` to center image with captions disableHLJS: true ``` -2. Set hugo's markdown styling in site `config.yml` +2. Set hugo's markdown styling in site `hugo.yml` ```yml {linenos=true} markup: @@ -288,7 +288,7 @@ Why? Take a look at [fastsearch.js#L35](https://github.com/adityatelange/hugo-Pa We fetch the `index.json` (where the search function looks for the keywords typed) one level up of the website `search.min.js` is hosted on. -We have used this insted of assigning `baseURL` so as to work with multilingual websites ex. `example.com/fr/` and websites being placed under a subdirectory ex. `example.com/blog/`. +We have used this instead of assigning `baseURL` so as to work with multilingual websites ex. `example.com/fr/` and websites being placed under a subdirectory ex. `example.com/blog/`. To fix for _single_ language websites hosting assets from CDN, this you may [override](#override-theme-template) [fastsearch.js#L35](https://github.com/adityatelange/hugo-PaperMod/blob/fb4988cfb6d0d6e4e489f17d89f0fa618def3396/assets/js/fastsearch.js#L35) and placing appropriate URL as in diff --git a/content/posts/papermod/papermod-features/index.md b/content/posts/papermod/papermod-features/index.md index 1af804e9c0..e3b96e7842 100644 --- a/content/posts/papermod/papermod-features/index.md +++ b/content/posts/papermod/papermod-features/index.md @@ -70,7 +70,7 @@ Create a page with `archive.md` in `content` directory with following content ```shell . -├── config.yml +├── hugo.yml ├── content/ │ ├── archives.md <--- Create archive.md here │ └── posts/ @@ -162,7 +162,7 @@ params: PaperMod uses [Fuse.js Basic](https://fusejs.io/getting-started/different-builds.html#explanation-of-different-builds) for search functionality -Add the following to site config, `config.yml` +Add the following to site config, `hugo.yml` ```yml {linenos=true,hl_lines=[5]} outputs: @@ -315,7 +315,7 @@ params: ShowBreadCrumbs: true ``` -Can be diabled for particular page's front-matter +Can be disabled for particular page's front-matter ```yml --- @@ -397,7 +397,7 @@ author: ["Me", "You"] --- ``` -To use Multiple Authors Site-wide, in `config.yml`: +To use Multiple Authors Site-wide, in `hugo.yml`: ```yml params: diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index 2fb1250ce4..634f19b8f2 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -1,6 +1,6 @@ --- title: "Install / Update PaperMod" -summary: Read aboout Install and Update instructions and sampled configuration templates +summary: Read about Install and Update instructions and sampled configuration templates date: 2021-01-20 series: ["PaperMod"] weight: 1 @@ -59,7 +59,7 @@ git pull {{}} -> {{< collapse summary="**Expand Method 2 - Git Submodule (recomended)**" >}} +> {{< collapse summary="**Expand Method 2 - Git Submodule (recommended)**" >}} **INSTALL** : Inside the folder of your Hugo site `MyFreshWebsite`, run: @@ -102,13 +102,13 @@ Direct Links: - Install [Go programming language](https://go.dev/doc/install) in your operating system. -- Intialize your own hugo mod +- Initialize your own hugo mod ``` hugo mod init YOUR_OWN_GIT_REPOSITORY ``` -- Add PaperMod in your `config.yml` file +- Add PaperMod in your `hugo.yml` file ```go {linenos=true} module: @@ -128,7 +128,7 @@ Read more : [Hugo Docs's - HUGO MODULES](https://gohugo.io/hugo-modules/use-modu ### Finally set theme as PaperMod in your site config -In `config.yml` add: +In `hugo.yml` add: ```yml {linenos=true} theme: ["PaperMod"] @@ -173,7 +173,7 @@ You can go through few videos which are available on YouTube for getting to know --- -## Sample `config.yml` +## Sample `hugo.yml` > **Example Site Structure is present here**: [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/) diff --git a/config.yml b/hugo.yml similarity index 100% rename from config.yml rename to hugo.yml diff --git a/layouts/_shortcodes/gist.html b/layouts/_shortcodes/gist.html new file mode 100644 index 0000000000..3dec2a0dd2 --- /dev/null +++ b/layouts/_shortcodes/gist.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/hugo-PaperMod b/themes/hugo-PaperMod index 7cf752f864..5a4651783f 160000 --- a/themes/hugo-PaperMod +++ b/themes/hugo-PaperMod @@ -1 +1 @@ -Subproject commit 7cf752f8644fea1fc3dc7299352718d492c55182 +Subproject commit 5a4651783fa9159123d947bd3511b355146d4797