diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b8ee05..ee54d74 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: "github pages" +name: "GitHub pages" on: push: @@ -10,23 +10,29 @@ jobs: deploy: runs-on: "ubuntu-latest" steps: - - name: "Checkout sources" - uses: "actions/checkout@v3" + - id: "checkout" + name: "Checkout sources" + uses: "actions/checkout@v4" with: submodules: true + filter: "tree:0" fetch-depth: 0 - - name: "Setup Hugo" + - id: "setup-hugo" + name: "Setup Hugo" uses: "peaceiris/actions-hugo@v2" with: - hugo-version: "0.105.0" + hugo-version: "0.140.1" + extended: true - - name: "Build" + - id: "build" + name: "Build" run: |- hugo --minify - - name: "Deploy" - uses: "peaceiris/actions-gh-pages@v3" + - id: "deploy" + name: "Deploy" + uses: "peaceiris/actions-gh-pages@v4" if: "github.ref == 'refs/heads/master'" with: github_token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.gitmodules b/.gitmodules index e92c6d9..2559100 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "themes/tale"] path = themes/tale url = https://github.com/ZentriaMC/tale-hugo.git +[submodule "themes/plausible-hugo"] + path = themes/plausible-hugo + url = https://github.com/divinerites/plausible-hugo.git diff --git a/config.toml b/config.toml deleted file mode 100644 index b74eaf6..0000000 --- a/config.toml +++ /dev/null @@ -1,4 +0,0 @@ -baseURL = "https://blog.zentria.company/" -languageCode = "en-us" -title = "Zentria Blog" -theme = "tale" diff --git a/content/posts/container-bind-mount-pitfalls-dns.md b/content/posts/container-bind-mount-pitfalls-dns.md index b89e957..e2ec687 100644 --- a/content/posts/container-bind-mount-pitfalls-dns.md +++ b/content/posts/container-bind-mount-pitfalls-dns.md @@ -3,6 +3,7 @@ title: "Container bind mount pitfalls: DNS" author: Mark V. date: 2021-06-06T19:56:22+03:00 draft: false +summary: "_It's not DNS. There's no way it's DNS. It was DNS._" --- {{< figure src="/img/dns-haiku.png" alt="DNS Haiku" title="It's not DNS. There's no way it's DNS. It was DNS." >}} diff --git a/flake.lock b/flake.lock index 561b0c1..477036c 100644 --- a/flake.lock +++ b/flake.lock @@ -1,12 +1,15 @@ { "nodes": { "flake-utils": { + "inputs": { + "systems": "systems" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -17,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1668415355, - "narHash": "sha256-F52qWYvLFJV1jibZiuNzeca8+UgZ7NZrr44J2ednmpE=", + "lastModified": 1736241350, + "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "69f8e94c46904a3194afcc8b232402287c7f91c9", + "rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f", "type": "github" }, "original": { @@ -36,6 +39,21 @@ "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } } }, "root": "root", diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..80e6812 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,17 @@ +baseURL = "https://blog.zentria.company/" +languageCode = "en-us" +title = "Zentria Blog" +theme = ["tale", "plausible-hugo"] +summaryLength = 32 + +[params] +author = { name = "Zentria OÜ", homepage = "https://zentria.company" } + +[params.plausible] +enable = true +domain = "zentria.company" +selfhosted_domain = "plausible.zentria.ee" +hash_based_routing = false +gitstar = false +outbound_link = true +file_downloads = true diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..90446da --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,37 @@ +
+ + {{ template "_internal/google_analytics.html" . }} + + {{ partial "plausible_head.html" . }} + + {{ template "_internal/opengraph.html" . }} + + + + {{ template "_internal/opengraph.html" . }} + {{- if .IsHome }} + + {{- else if .Description }} + + {{- end }} + +