Skip to content

Commit

Permalink
🔧 Remove language settings from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonBirchall committed Jul 2, 2024
1 parent bb74ef5 commit 611a0fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -77,4 +76,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

26 changes: 8 additions & 18 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <i> tags in markdown unless I can
# figure out how to use shortcodes there
unsafe = true

[menu]
[[menu.main]]
name = "Get Faster"
Expand Down

0 comments on commit 611a0fb

Please sign in to comment.