From 09ffc4416cfc7f51656a5d9980dc4948fd69f5f1 Mon Sep 17 00:00:00 2001 From: Daniel Borek Date: Fri, 14 Jun 2024 01:57:19 +0200 Subject: [PATCH] chore: Enable buildFuture in yaml config --- .github/workflows/hugo.yaml | 1 + content/posts/2024/drafts/learning-hugo.md | 2 ++ public/sitemap.xml | 10 +++++----- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 34dff1d..6d7d738 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -59,6 +59,7 @@ jobs: --gc \ --minify \ --enableGitInfo \ + --buildFuture \ --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact uses: actions/upload-pages-artifact@v1 diff --git a/content/posts/2024/drafts/learning-hugo.md b/content/posts/2024/drafts/learning-hugo.md index 3bc9e31..28267b0 100644 --- a/content/posts/2024/drafts/learning-hugo.md +++ b/content/posts/2024/drafts/learning-hugo.md @@ -11,6 +11,8 @@ tags: `hugo serverĀ --buildFuture` +### Use urls to set constant name of the post + ### Tutorials Great tutorials for beginners about deployment of your page with Hugo and github pages (this is how I doing with my blog) is here [Blogging with Hugo and GitHub Pages](https://carpentries-incubator.github.io/blogging-with-hugo-and-github-pages/aio/index.html) diff --git a/public/sitemap.xml b/public/sitemap.xml index 70e712c..ac5db90 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -41,11 +41,6 @@ 2023-08-15T00:00:00+00:00 monthly 0.5 - - http://localhost:1313/drafts/ - 2023-08-17T22:35:29+02:00 - monthly - 0.5 http://localhost:1313/tags/latex/ 2023-08-04T00:00:00+00:00 @@ -106,6 +101,11 @@ 2024-06-14T01:00:57+02:00 monthly 0.5 + + http://localhost:1313/drafts/ + 2023-08-17T22:35:29+02:00 + monthly + 0.5 http://localhost:1313/tags/github/ monthly