diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index e022972..4149b83 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -37,7 +37,7 @@ jobs: - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + && sudo dpkg -i ${{ runner.temp }}/hugo.deb - name: Install Dart Sass run: sudo snap install dart-sass - name: Checkout @@ -55,12 +55,11 @@ jobs: # For maximum backward compatibility with Hugo modules HUGO_ENVIRONMENT: production HUGO_ENV: production - TZ: America/Los_Angeles run: | hugo \ --gc \ --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" + --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: @@ -77,4 +76,3 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 - diff --git a/hugo.toml b/hugo.toml index 9d1a699..12e9e06 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,33 +2,23 @@ baseURL = 'https://jasonbirchall.github.io' languageCode = 'en-uk' title = 'Jason Birchall' theme = 'risotto' -[params] +enableEmoji = true +enableRobotsTXT = true +DefaultContentLanguage = "en" +enableInlineShortcodes = true +[params] +noindex = false +rss = true [params.theme] -mode = "dark-mode" +palette = "base16-dark" # Sidebar: about/bio -[params.about] -#title = "danielunderwood.dev" -#description = "My personal website" - [[params.socialLinks]] icon = "fab fa-github" title = "GitHub" url = "https://github.com/jasonbirchall" - -[markup] - [markup.highlight] - codeFences = true - noClasses = true - style = "monokai" - [markup.goldmark] - [markup.goldmark.renderer] - # This is needed for tags in markdown unless I can - # figure out how to use shortcodes there - unsafe = true - [menu] [[menu.main]] name = "Get Faster"