From 267450d24718c0ea0e91ecf788b612e1d4d3353e Mon Sep 17 00:00:00 2001 From: Victor Mignot Date: Sun, 22 Sep 2024 20:38:03 +0200 Subject: [PATCH] Initial website structure --- .gitignore | 2 ++ .hugo_build.lock | 0 LICENSE | 22 ++++++++++++++++++++++ README.md | 5 +++++ archetypes/default.md | 5 +++++ hugo.toml | 4 ++++ shell.nix | 8 ++++++++ 7 files changed, 46 insertions(+) create mode 100644 .gitignore create mode 100644 .hugo_build.lock create mode 100644 LICENSE create mode 100644 README.md create mode 100644 archetypes/default.md create mode 100644 hugo.toml create mode 100644 shell.nix diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6aba45a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +result +public diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4568a8c --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2024 Victor Mignot + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/README.md b/README.md new file mode 100644 index 0000000..9d8cb12 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# dalaran.fr + +Dala's website and blog posts. +All the content is licensed under Creative Commons Attribution-ShareAlike 4.0 International. +The source code in itself is licensed under the MIT license. 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/hugo.toml b/hugo.toml new file mode 100644 index 0000000..01c2b31 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://dalaran.fr/' +languageCode = 'en-us' +title = "Dala's homepage" +copyright = "CC BY-SA 4.0" diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..19ef8cf --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import { }, ... }: +pkgs.mkShell { + name = "hugo-shell"; + + nativeBuildInputs = with pkgs; [ + hugo + ]; +}