Skip to content

Commit

Permalink
Merge pull request #111 from 3mdeb/rel_v0.9.0
Browse files Browse the repository at this point in the history
Rel v0.9.0
  • Loading branch information
pietrushnic authored Jan 29, 2024
2 parents c8e5d1e + 55e7a89 commit dd27012
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 45 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/seo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -26,27 +26,27 @@ 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: |
python -m pip install --upgrade pip
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

Expand All @@ -59,34 +59,34 @@ 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: |
python -m pip install --upgrade pip
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

Expand Down
4 changes: 4 additions & 0 deletions .markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
50 changes: 25 additions & 25 deletions content/elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion scripts/local-preview.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dd27012

Please sign in to comment.