Skip to content

Commit

Permalink
chore: Enable buildFuture in yaml config
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltomasz committed Jun 13, 2024
1 parent 7c10712 commit 09ffc44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
--gc \
--minify \
--enableGitInfo \
--buildFuture \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
2 changes: 2 additions & 0 deletions content/posts/2024/drafts/learning-hugo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
<lastmod>2023-08-15T00:00:00+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url><url>
<loc>http://localhost:1313/drafts/</loc>
<lastmod>2023-08-17T22:35:29+02:00</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url><url>
<loc>http://localhost:1313/tags/latex/</loc>
<lastmod>2023-08-04T00:00:00+00:00</lastmod>
Expand Down Expand Up @@ -106,6 +101,11 @@
<lastmod>2024-06-14T01:00:57+02:00</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url><url>
<loc>http://localhost:1313/drafts/</loc>
<lastmod>2023-08-17T22:35:29+02:00</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url><url>
<loc>http://localhost:1313/tags/github/</loc>
<changefreq>monthly</changefreq>
Expand Down

0 comments on commit 09ffc44

Please sign in to comment.