From f203bed45702c75bc9ec10410bd89ee3b6b369f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guibert?= Date: Sat, 24 Jan 2026 12:11:48 +0100 Subject: [PATCH] first commit --- .gitignore | 19 +++++++++++++++ LICENSE | 21 +++++++++++++++++ archetypes/default.md | 5 ++++ assets/css/vertical-list.css | 45 ++++++++++++++++++++++++++++++++++++ hugo.toml | 4 ++++ theme.toml | 16 +++++++++++++ 6 files changed, 110 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 archetypes/default.md create mode 100644 assets/css/vertical-list.css create mode 100644 hugo.toml create mode 100644 theme.toml 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/LICENSE b/LICENSE new file mode 100644 index 0000000..c2dff98 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 loicguib + +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/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/assets/css/vertical-list.css b/assets/css/vertical-list.css new file mode 100644 index 0000000..3994bfd --- /dev/null +++ b/assets/css/vertical-list.css @@ -0,0 +1,45 @@ +ul.horizontal-list { + display: flex; + margin-top: 0em; + margin-left: -40px; + flex-wrap: wrap; +} +ul.horizontal-list li { + display: inline; + margin-right: 1em; +} +ul.horizontal-list li a { + text-decoration: none; + font-weight: normal; +} + +.card { + padding: 1em; + width: 11em; + height: auto; + text-align: center; + font-size: 1em; + align-items: center; + margin-top: 0.8em; + border-radius: 0.5em; +} +.card hr { + margin: 0.5em 0; +} +.card .body { + font-size: 0.8em; +} + +/* Responsive cards - one colum layout on small screens */ +@media screen and (max-width: 600px) { + ul.horizontal-list li.card { + width: 100%; + display: block; + margin-bottom: 1em; + margin-left: 1em; + } + ul.horizontal-list li.card a, + ul.horizontal-list li.card .header { + font-size: 1em; + } +} diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..1410ef9 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +[module] + [module.hugoVersion] + extended = false + min = '0.146.0' diff --git a/theme.toml b/theme.toml new file mode 100644 index 0000000..9d4d02a --- /dev/null +++ b/theme.toml @@ -0,0 +1,16 @@ +name = "moonwalk-hugo-extension" +license = "MIT" +licenseLink = "https://forge.guilo.ch/loicguib/moonwalk-hugo-extension/blob/main/LICENSE" +description = "An extension of the moonwalk Hugo theme." + +homepage = "https://forge.guilo.ch/loicguib/moonwalk-hugo-extension" + +tags = ["blog", "dark", "light", "portfolio"] +features = ["blog", "dark", "light", "portfolio"] + +[author] + name = "Loïc Guibert" + +[author] + name = "ArkhamCookie" + homepage = "https://arkhamcookie.com" \ No newline at end of file