commit d5b22be0ba27d5e02fd36f4cbb7651db640e916d Author: Simon Vieille Date: Fri Jan 26 20:22:12 2024 +0100 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b1140e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +resources/_gen/assets/scss/sass diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..b8f3ba6 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,27 @@ +steps: + build: + image: klakegg/hugo + + update: + image: alpine/git + commands: + - git fetch --no-tags origin +refs/heads/pages + - git switch pages + - git config --global user.email ci@gitnet.fr + - git config --global user.name CI + - mv public /tmp/ + - rm * -fr + - mv /tmp/public/* . + - git add . + - git commit -m "Build ${CI_BUILD_NUMBER}" + + deploy: + image: appleboy/drone-git-push + commands: + settings: + branch: pages + remote: git@gitnet.fr:deblan/pages.git + force: false + commit: false + ssh_key: + from_secret: ssh_priv_key diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..5524515 --- /dev/null +++ b/config.toml @@ -0,0 +1,28 @@ +baseURL = "https://deblan.gitnet.page" +languageCode = "fr-fr" +title = "Simon Vieille" +theme = "nightfall" + +[params] +user = "simon" +hostname = "deblan" + + [params.author] + name = "Simon Vieille" + email = "" + +[[params.social]] +key = 1 +name = "blog" +url = "https://www.deblan.io" + +[[params.social]] +key = 2 +name = "gitnet" +url = "https://gitnet.fr/deblan" + +[[params.social]] +key = 3 +name = "mastodon" +url = "https://mamot.fr/@deblan" +rel = "me" # You can also add rel to social link diff --git a/themes/nightfall b/themes/nightfall new file mode 160000 index 0000000..e15a014 --- /dev/null +++ b/themes/nightfall @@ -0,0 +1 @@ +Subproject commit e15a01404d88fbe105d1ee7fffe5801f6a40ee39