Skip to content

Commit 97c5361

Browse files
committed
chore: update for hugo 0.156.0
1 parent 2f43074 commit 97c5361

15 files changed

Lines changed: 119 additions & 53 deletions

File tree

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
2+
version: 2.1
3+
orbs:
4+
hugo: circleci/hugo@1.4.0
5+
26
jobs:
37
deploy:
48
docker:
@@ -31,9 +35,7 @@ jobs:
3135
3236
[skip ci]"
3337
git push origin docs
34-
orbs:
35-
hugo: circleci/hugo@0.2
36-
version: 2.1
38+
3739
workflows:
3840
main:
3941
jobs:

.github/workflows/gh-pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Set a branch to deploy
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-22.04
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: true # Fetch Hugo themes (true OR recursive)
17+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
18+
19+
- name: Setup Hugo
20+
uses: peaceiris/actions-hugo@v3
21+
with:
22+
hugo-version: '0.156.0'
23+
extended: true
24+
25+
- name: Build
26+
run: hugo --minify
27+
28+
- name: Deploy
29+
uses: peaceiris/actions-gh-pages@v3
30+
if: github.ref == 'refs/heads/main'
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./public

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "themes/zzo"]
22
path = themes/zzo
3-
url = https://github.com/zzossig/hugo-theme-zzo.git
3+
url = https://github.com/GerkinDev/hugo-theme-zzo.git

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ export $(cat .env | xargs);
99
hugo server -DEF
1010
```
1111

12+
Tested on
13+
```
14+
$ hugo version
15+
hugo v0.156.0-9d914726dee87b0e8e3d7890d660221bde372eec+extended linux/amd64 BuildDate=2026-02-18T16:39:55Z VendorInfo=snap:0.156.0
16+
```
17+
1218
## Third party
1319

1420
* [**GitHub corners**](https://github.com/tholman/github-corners): MIT
1521
* [**findAndReplaceDOMText**](https://github.com/padolsey/findAndReplaceDOMText): unlicense
1622

1723
## Continuous Deployment
1824

19-
CI is here: https://app.circleci.com/pipelines/github/GerkinDev/devblog
25+
CI is here: https://app.circleci.com/pipelines/github/GerkinDev/devblog

content/resume/gerkindev.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Resume of Alexandre GERMAIN (GerkinDev)
55
type: resume
66
enableToc: false
77
header:
8-
image:
8+
image:
99
src: assets/images/whoami/avatar.jpg
1010
alt: Image of Alexandre GERMAIN
1111
infos:
@@ -24,7 +24,7 @@ header:
2424
url: 'https://twitter.com/gerkindev'
2525
intro: |
2626
Enthusiast developer and [FOSS](https://en.wikipedia.org/wiki/Free_and_open-source_software) evangelist, I always try to stay open to new processes to improve.
27-
27+
2828
> It's not about being serious, but doing things seriously.
2929
items:
3030
- title: Professional Experiences
@@ -37,7 +37,7 @@ items:
3737
Development of a media platform aiming to facilitate access to science by the general public.
3838
3939
Choice of technologies & software implementation. Creation of a scrapper to retrieve scientific papers & popularization metadata. Deployment, tests, proxies & database configuration & setup.
40-
40+
4141
In progress.
4242
4343
> Angular 13, Angular Material, Nest.JS, TypeORM, Express, MongoDB, Kubernetes, Podman/Docker
@@ -76,16 +76,16 @@ items:
7676
startDate: 2014-06-01T00:00:00
7777
endDate: 2017-02-01T00:00:00
7878
contents: |
79-
80-
81-
- title: Studies & Formations
79+
Various
80+
81+
- title: "Studies & Formations"
8282
sections:
8383
- title: 42 School Paris
8484
startDate: 2014-06-01T00:00:00
85-
contents: |
85+
contents: |
8686
C formation, rewrite of stdlib functions. Unix & Systems specialization.
8787
- title: Bac STI2D Mention Très Bien
8888
startDate: 2013-06-01T00:00:00
89-
contents: |
89+
contents: |
9090
Year-end project : Programmation & realization of an autonomous oriented solar panel.
91-
---
91+
---

content/test/include-code-file/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ image:
1818
---
1919

2020
{{<includeCodeFile "./foo.yaml">}}
21-
{{<includeCodeFile "./bar.conf" "fallback">}}
21+
{{<includeCodeFile "./bar.conf" "fallback">}}
22+
{{<linkToPage "./index">}}

content/walkthroughs/kubernetes/00-vpn/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717
* <https://blog.container-solutions.com/running-docker-containers-with-systemd>
1818
{{</expand>}}
1919

20-
Because we are installing our cluster bare metal on servers exposed on the Internet, we'll need a way to secure all of our network traffic around the critical parts of *kubernetes*. To do so, we'll use OpenVPN to create a virtual secured network where all of our nodes will work. Moreover, this network will also contains *MetalLB* services when {{<linkToPage "/walkthroughs/kubernetes/02-cluster#initialize-metallb" "configuring our bare metal load balancer">}}.
20+
Because we are installing our cluster bare metal on servers exposed on the Internet, we'll need a way to secure all of our network traffic around the critical parts of *kubernetes*. To do so, we'll use OpenVPN to create a virtual secured network where all of our nodes will work. Moreover, this network will also contains *MetalLB* services when {{<linkToPage "../02-cluster#initialize-metallb" "configuring our bare metal load balancer">}}.
2121

2222
{{<alert theme="info">}}
2323
You **may** need to edit your `/etc/hosts` files to associate `vpn.{{cluster.baseHostName}}` to your future *OpenVPN* server on **each of the devices that will join the cluster** (if `vpn.{{cluster.baseHostName}}` is not a real *DNS* name).
@@ -211,4 +211,4 @@ done
211211
sudo install -o root -m 400 $(hostname).ovpn /etc/openvpn/client/$(hostname).conf
212212
sudo systemctl restart openvpn-client@$(hostname)
213213
scp kube-worker-1.ovpn gerkin@192.168.1.26:~
214-
```
214+
```

content/walkthroughs/kubernetes/02-cluster/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@ ip link delete flannel.1
227227
```sh
228228
( sudo kubeadm reset -f && sudo rm -rf /etc/cni/net.d || 1 ) && \
229229
sudo kubeadm init --config cluster-config.yaml
230-
```
230+
```

content/walkthroughs/kubernetes/04-reverse-proxy/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ kubectl --namespace traefik get svc
4545

4646
## 3. Setup the bare metal proxy
4747

48-
We'll use *nginx* as our bare reverse proxy. It will simply redirect every requests on the specified ports to traefik, that was {{<linkToPage "./03-router" "previously installed in kubernetes">}}. In the case of an SSL connection, it won't be unwrapped.
48+
We'll use *nginx* as our bare reverse proxy. It will simply redirect every requests on the specified ports to traefik, that was {{<linkToPage "../03-router" "previously installed in kubernetes">}}. In the case of an SSL connection, it won't be unwrapped.
4949

5050
```sh
5151
# Install nginx

content/walkthroughs/kubernetes/10-scaling-up/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Hopefully, here comes the real huge advantage of *kubernetes*: it is meant to sc
1818

1919
## Join the cluster's VPN
2020

21-
In the step {{<linkToPage "/walkthroughs/kubernetes/00-vpn">}}, we have set up a VPN so that each of our nodes can communicate safely with each others, on their own virtual network across the internet. This comes with the great power of being able to have servers spread all around the globe.
21+
In the step {{<linkToPage "../00-vpn">}}, we have set up a VPN so that each of our nodes can communicate safely with each others, on their own virtual network across the internet. This comes with the great power of being able to have servers spread all around the globe.
2222

2323
### From the *OpenVPN server node*
2424

@@ -118,4 +118,4 @@ This node has joined the cluster:
118118
119119
Run 'kubectl get nodes' on the control-plane to see this node join the cluster.
120120
```
121-
{{</expand>}}
121+
{{</expand>}}

0 commit comments

Comments
 (0)