commit 267450d24718c0ea0e91ecf788b612e1d4d3353e Author: Victor Mignot Date: Sun Sep 22 20:38:03 2024 +0200 Initial website structure 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 + ]; +}