initial commit

This commit is contained in:
Matthieu Bessat 2023-10-24 01:34:16 +02:00
commit dc56a67490
7 changed files with 64 additions and 0 deletions

View file

@ -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

19
.gitignore vendored Normal file
View file

@ -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

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/diary"]
path = themes/diary
url = https://github.com/AmazingRise/hugo-theme-diary.git

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

View file

@ -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

4
hugo.toml Normal file
View file

@ -0,0 +1,4 @@
baseURL = 'https://hugo-sandbox.lefuturiste.fr'
languageCode = 'en-us'
title = 'Hugo lefuturiste sandbox'
theme = "diary"

1
themes/diary Submodule

@ -0,0 +1 @@
Subproject commit b7d98d543a675813136352106a74bdc7abd51e09