commit dc56a67490e88385503632564c859b1c1bb99de1 Author: Matthieu Bessat Date: Tue Oct 24 01:34:16 2023 +0200 initial commit diff --git a/.forgejo/workflows/hugo.yaml b/.forgejo/workflows/hugo.yaml new file mode 100644 index 0000000..efbb4a4 --- /dev/null +++ b/.forgejo/workflows/hugo.yaml @@ -0,0 +1,23 @@ +on: [push] +jobs: + test: + runs-on: docker + steps: + - run: echo All Good + - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + - run: ls -la + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.119.0' + extended: true + + - name: Build + run: hugo --minify + - run: ls -la public + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..29db922 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +# Created by https://www.toptal.com/developers/gitignore/api/hugo +# Edit at https://www.toptal.com/developers/gitignore?templates=hugo + +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock + +# End of https://www.toptal.com/developers/gitignore/api/hugo diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f6945b3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/diary"] + path = themes/diary + url = https://github.com/AmazingRise/hugo-theme-diary.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/posts/hello-world.md b/content/posts/hello-world.md new file mode 100644 index 0000000..7665ede --- /dev/null +++ b/content/posts/hello-world.md @@ -0,0 +1,9 @@ ++++ +title = 'Hello World' +date = 2023-10-24T01:33:30+02:00 +draft = true ++++ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + +The quick brown fox jumps over the lazy dog diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..60a4462 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://hugo-sandbox.lefuturiste.fr' +languageCode = 'en-us' +title = 'Hugo lefuturiste sandbox' +theme = "diary" diff --git a/themes/diary b/themes/diary new file mode 160000 index 0000000..b7d98d5 --- /dev/null +++ b/themes/diary @@ -0,0 +1 @@ +Subproject commit b7d98d543a675813136352106a74bdc7abd51e09