diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 269a42b..9148680 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,19 +15,19 @@ jobs: environment: prod steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: fetch-depth: 1 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.1 with: - node-version: 16 + node-version: 20 - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: - hugo-version: '0.110.0' + hugo-version: "0.111.3" extended: true - name: Setup Env diff --git a/.github/workflows/seo.yml b/.github/workflows/seo.yml index cc7a4bb..6a3bb27 100644 --- a/.github/workflows/seo.yml +++ b/.github/workflows/seo.yml @@ -13,10 +13,10 @@ jobs: linkChecker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 - name: Link Checker id: lychee - uses: lycheeverse/lychee-action@v1.8.0 + uses: lycheeverse/lychee-action@v1.9.2 with: fail: true args: --timeout 60 --max-redirects 10 -a 403,500,502,503,504 . @@ -26,19 +26,19 @@ jobs: name: Check orphan pages steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: true - name: Checkout SEO Spy - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: repository: 3mdeb/seo-spy path: seo-spy - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - name: Install Dependencies run: | @@ -46,7 +46,7 @@ jobs: pip install -r seo-spy/requirements.txt - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: extended: true @@ -59,26 +59,26 @@ jobs: - name: Check orphan pages uses: 3mdeb/seo-spy-action@main with: - domain: 'http://localhost:1313' + domain: "http://localhost:1313" seo_spy_canonical_links: runs-on: ubuntu-latest name: Check canonical links steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: submodules: true - name: Checkout SEO Spy - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: repository: 3mdeb/seo-spy path: seo-spy - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: "3.9" - name: Install Dependencies run: | @@ -86,7 +86,7 @@ jobs: pip install -r seo-spy/requirements.txt - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v2.6.0 with: extended: true diff --git a/.markdown.yaml b/.markdown.yaml index 21946f2..a13f4d9 100644 --- a/.markdown.yaml +++ b/.markdown.yaml @@ -4,6 +4,10 @@ MD013: # Number of characters for code blocks code_block_line_length: 400 tables: false +MD024: + # If the parameter siblings_only is set to true, duplication is allowed for + # headings with different parents (as is common in changelogs) + siblings_only: true # MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading MD041: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 669b69e..63c974d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: args: [-c=.yamllint] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.38.0 + rev: v0.39.0 hooks: - id: markdownlint args: [-c.markdown.yaml] diff --git a/CHANGELOG.md b/CHANGELOG.md index ea388a7..1afb1f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,34 @@ All notable changes to this project will be documented in this file. +## [0.9.0] - 2024-01-29 + +070c095...070c095 + +### CHANGELOG.md + +- Add v0.9.0 (070c095) + +### CI/CD + +- Update versions of all actions used (c77f2fc) + +### Content + +- Fix pre-commit issues (ce7df01) + +### Pre-commit + +- Autoupdate hooks (49e7fe7) + +### README + +- Update development workflow (6b3aeb1) + +### Scripts + +- Update version of container used to match CI/CD (dfad18f) + ## [0.8.0] - 2024-01-28 ### About Us diff --git a/content/elements.md b/content/elements.md index cca059b..e8a371e 100755 --- a/content/elements.md +++ b/content/elements.md @@ -69,11 +69,11 @@ Some example text here. ### Unordered List -* List item -* List item -* List item -* List item -* List item +- List item +- List item +- List item +- List item +- List item ### Tab @@ -135,24 +135,24 @@ echo "Hello World!" {{< collapse "Why should you need to do this?" >}} -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur -{{< /collapse >}} +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + {{< /collapse >}} {{< collapse "How can I adjust Horizontal centering" >}} -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur -{{< /collapse >}} +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + {{< /collapse >}} {{< collapse "Should you use Negative margin?" >}} -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur adipisicing elit. -* Lorem ipsum dolor sit amet consectetur -{{< /collapse >}} +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur adipisicing elit. +- Lorem ipsum dolor sit amet consectetur + {{< /collapse >}} ### Code and Syntax Highlighting @@ -180,20 +180,20 @@ Avoid using inline html. Colons can be used to align columns. -| Tables | Are | Cool | -| ------------- |:-------------:| -----:| +| Tables | Are | Cool | +| ------------- | :-----------: | ----: | | col 3 is | right-aligned | $1600 | -| col 2 is | centered | $12 | -| zebra stripes | are neat | $1 | +| col 2 is | centered | $12 | +| zebra stripes | are neat | $1 | There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. -Markdown | Less | Pretty ---- | --- | --- -_Still_ | `renders` | **nicely** -1 | 2 | 3 +| Markdown | Less | Pretty | +| -------- | --------- | ---------- | +| _Still_ | `renders` | **nicely** | +| 1 | 2 | 3 | ### Image diff --git a/scripts/local-preview.sh b/scripts/local-preview.sh index e17e030..0c8e2d3 100755 --- a/scripts/local-preview.sh +++ b/scripts/local-preview.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --rm -it -v $PWD:/src -p 1313:1313 -u $(id -u) klakegg/hugo:0.105.0-ext-alpine serve -b $1 +docker run --rm -it -v $PWD:/src -p 1313:1313 -u $(id -u) klakegg/hugo:0.111.3-ext-alpine serve -b $1