From bdea8d7772112ad1046d844911d0cfa7bc9f748e Mon Sep 17 00:00:00 2001 From: Lieuwe Leene Date: Tue, 24 Aug 2021 11:38:00 +0200 Subject: [PATCH] added git attributes and filter for hostname --- .gitattributes | 3 ++ .gitmodules | 6 +-- LICENSE | 18 +++---- README.md | 22 ++++---- archetypes/default.md | 12 ++--- build.sh | 4 +- config.toml | 113 +++++++++++++++++++++--------------------- themes/hermit | 2 +- 8 files changed, 91 insertions(+), 89 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0d8f4d9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +* text eol=lf +*.png binary +*.toml hostmgmt diff --git a/.gitmodules b/.gitmodules index 2b4c89a..ff46467 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/hermit"] - path = themes/hermit - url = https://github.com/Track3/hermit.git +[submodule "themes/hermit"] + path = themes/hermit + url = https://github.com/Track3/hermit.git diff --git a/LICENSE b/LICENSE index 985488e..2071b23 100644 --- a/LICENSE +++ b/LICENSE @@ -1,9 +1,9 @@ -MIT License - -Copyright (c) - -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. +MIT License + +Copyright (c) + +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 index 936c009..8d7f2e2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Personal Page: Lieuwe Leene - -Landinge page for lieuwe.leene.dev using Hugo and a theme derived from the -Hermit template. This will be my personal site sharing various kinds of content -and updates related to work or my hobbies as I host a couple of web-services. - -## Setup - -The intention here is that the master branch is statically served while the -development branch is prototyped while being served from memory. Any generated -content in public/static should not be tracked by the repository. +# Personal Page: Lieuwe Leene + +Landinge page for lieuwe.leene.dev using Hugo and a theme derived from the +Hermit template. This will be my personal site sharing various kinds of content +and updates related to work or my hobbies as I host a couple of web-services. + +## Setup + +The intention here is that the master branch is statically served while the +development branch is prototyped while being served from memory. Any generated +content in public/static should not be tracked by the repository. diff --git a/archetypes/default.md b/archetypes/default.md index 22a7858..00e77bd 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,6 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/build.sh b/build.sh index 667809f..01408fd 100755 --- a/build.sh +++ b/build.sh @@ -1,2 +1,2 @@ -git pull -hugo -s . -d static/public +git pull +hugo -s . -d static/public diff --git a/config.toml b/config.toml index 0d7e2d1..347d81c 100644 --- a/config.toml +++ b/config.toml @@ -1,57 +1,56 @@ -baseURL = 'http://localhost/' -title = 'Lieuwe Leene' - -languageCode = 'en-uk' -theme = 'hermit' -relativeURLs = true -canonifyURLs = true - -enableGitInfo = true -pygmentsCodefences = true -pygmentsUseClasses = true -hasCJKLanguage = true -rssLimit = 10 -copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." -enableEmoji = true - -themeColor = "#494f5c" - - -[taxonomies] - tag = "tags" - -[params] - dateform = 'Jan 2, 2006' - dateformShort = 'Jan 2' - dateformNum = '2006-01-02' - dateformNumTime = '2006-01-02 15:04 -0700' - homeSubtitle = "Welcome Friend. 🐸" - -[author] - name = 'L. B. Leene' - -[[params.social]] - name = 'linkedin' - url = 'https://www.linkedin.com/in/lleene/' - -[[params.social]] - name = 'twitter' - url = 'https://twitter.com/LieuweLeene' - -[[params.social]] - name = 'email' - url = 'mailto:lieuwe@leene.dev' - -[[params.social]] - name = "github" - url = "https://git.leene.dev/lieuwe" - -[menu] - [[menu.main]] - name = "Posts" - url = "posts/" - weight = 16 - [[menu.main]] - name = "About" - url = "about/" - weight = 16 +baseURL = 'http://localhost/' +title = 'Lieuwe Leene' + +languageCode = 'en-uk' +theme = 'hermit' +relativeURLs = true +canonifyURLs = true + +enableGitInfo = true +pygmentsCodefences = true +pygmentsUseClasses = true +hasCJKLanguage = true +rssLimit = 10 +copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." +enableEmoji = true + +themeColor = "#494f5c" + +[taxonomies] + tag = "tags" + +[params] + dateform = 'Jan 2, 2006' + dateformShort = 'Jan 2' + dateformNum = '2006-01-02' + dateformNumTime = '2006-01-02 15:04 -0700' + homeSubtitle = "Welcome Friend. 🐸" + +[author] + name = 'L. B. Leene' + +[[params.social]] + name = 'linkedin' + url = 'https://www.linkedin.com/in/lleene/' + +[[params.social]] + name = 'twitter' + url = 'https://twitter.com/LieuweLeene' + +[[params.social]] + name = 'email' + url = 'mailto:lieuwe@leene.dev' + +[[params.social]] + name = "github" + url = "https://git.leene.dev/lieuwe" + +[menu] + [[menu.main]] + name = "Posts" + url = "posts/" + weight = 16 + [[menu.main]] + name = "About" + url = "about/" + weight = 16 diff --git a/themes/hermit b/themes/hermit index f951d87..3481a1b 160000 --- a/themes/hermit +++ b/themes/hermit @@ -1 +1 @@ -Subproject commit f951d8794d2d8166ba7a9160b7f929d86b6bc5ea +Subproject commit 3481a1b88dc15753f06e558dad835c8e2b97f7be