commit 34c505640f4414003b2f14618b4fdba1f10e075a Author: Gaël Depreeuw Date: Sat Oct 3 16:36:54 2020 +0200 Add theme 'hermit' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67bbea7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ +.vscode/ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ff46467 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hermit"] + path = themes/hermit + url = https://github.com/Track3/hermit.git diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cbfe78d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Mithror + +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..f87f5c1 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# TODO \ No newline at end of file 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..44e03a3 --- /dev/null +++ b/config.toml @@ -0,0 +1,77 @@ +baseURL = "https://depreeuw.dev" +languageCode = "en-us" +defaultContentLanguage = "en" +title = "Gaël Depreeuw" +theme = "hermit" +# enableGitInfo = true +pygmentsCodefences = true +pygmentsUseClasses = true +# hasCJKLanguage = true # If Chinese/Japanese/Korean is your main content language, enable this to make wordCount works right. +rssLimit = 10 # Maximum number of items in the RSS feed. +copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template. +enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/functions/emojify/ +# googleAnalytics = "UA-123-45" +# disqusShortname = "yourdiscussshortname" + +[author] + name = "Gaël Depreeuw" + +[blackfriday] + # hrefTargetBlank = true + # noreferrerLinks = true + # nofollowLinks = true + +[taxonomies] + tag = "tags" + # Categories are disabled by default. + +[params] + dateform = "Jan 2, 2006" + dateformShort = "Jan 2" + dateformNum = "2006-01-02" + dateformNumTime = "2006-01-02 15:04 -0700" + + # Metadata mostly used in document's head + # description = "" + # images = [""] + themeColor = "#494f5c" + + homeSubtitle = "A website about my tips and general thoughts." + footerCopyright = ' · CC BY-NC 4.0' + # bgImg = "" # Homepage background-image URL + + # Prefix of link to the git commit detail page. GitInfo must be enabled. + # gitUrl = "https://github.com/username/repository/commit/" + + # Toggling this option needs to rebuild SCSS, requires Hugo extended version + justifyContent = false # Set "text-align: justify" to `.content`. + + relatedPosts = false # Add a related content section to all single posts page + + code_copy_button = true # Turn on/off the code-copy-button for code-fields + + # Add custom css + # customCSS = ["css/foo.css", "css/bar.css"] + + # Social Icons + # Check https://github.com/Track3/hermit#social-icons for more info. + + [[params.social]] + name = "github" + url = "https://github.com/mithror" + + [[params.social]] + name = "nextcloud" + url = "https://nextcloud.depreeuw.dev/" + +[menu] + + [[menu.main]] + name = "Posts" + url = "posts/" + weight = 10 + + [[menu.main]] + name = "About" + url = "about-hugo/" + weight = 20 diff --git a/themes/hermit b/themes/hermit new file mode 160000 index 0000000..2dc35c5 --- /dev/null +++ b/themes/hermit @@ -0,0 +1 @@ +Subproject commit 2dc35c5c6a52168a3a7b35c5ad51209f40a851cf