blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

commit 0f9a31348079c0a061bcc194912e75cc1c07bc1f
parent 5ec96e19873eccf0382f501cd383d722a28e372f
Author: breadcat <peter@minskio.co.uk>
Date:   Fri, 19 Jun 2020 12:19:25 +0100

Add theme skeleton

Diffstat:
Mconfig.toml | 2++
Athemes/Brine/LICENSE | 20++++++++++++++++++++
Athemes/Brine/archetypes/default.md | 2++
Athemes/Brine/layouts/404.html | 0
Athemes/Brine/layouts/_default/baseof.html | 11+++++++++++
Athemes/Brine/layouts/_default/list.html | 0
Athemes/Brine/layouts/_default/single.html | 0
Athemes/Brine/layouts/index.html | 0
Athemes/Brine/layouts/partials/footer.html | 0
Athemes/Brine/layouts/partials/head.html | 0
Athemes/Brine/layouts/partials/header.html | 0
Athemes/Brine/theme.toml | 21+++++++++++++++++++++
12 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/config.toml b/config.toml @@ -1,3 +1,4 @@ baseURL = "https://minskio.co.uk" languageCode = "en-gb" title = "Minskio" +theme = "Brine" +\ No newline at end of file diff --git a/themes/Brine/LICENSE b/themes/Brine/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2020 YOUR_NAME_HERE + +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/themes/Brine/archetypes/default.md b/themes/Brine/archetypes/default.md @@ -0,0 +1,2 @@ ++++ ++++ diff --git a/themes/Brine/layouts/404.html b/themes/Brine/layouts/404.html diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + {{- partial "head.html" . -}} + <body> + {{- partial "header.html" . -}} + <div id="content"> + {{- block "main" . }}{{- end }} + </div> + {{- partial "footer.html" . -}} + </body> +</html> diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html diff --git a/themes/Brine/layouts/_default/single.html b/themes/Brine/layouts/_default/single.html diff --git a/themes/Brine/layouts/index.html b/themes/Brine/layouts/index.html diff --git a/themes/Brine/layouts/partials/footer.html b/themes/Brine/layouts/partials/footer.html diff --git a/themes/Brine/layouts/partials/head.html b/themes/Brine/layouts/partials/head.html diff --git a/themes/Brine/layouts/partials/header.html b/themes/Brine/layouts/partials/header.html diff --git a/themes/Brine/theme.toml b/themes/Brine/theme.toml @@ -0,0 +1,21 @@ +# theme.toml template for a Hugo theme +# See https://github.com/gohugoio/hugoThemes#themetoml for an example + +name = "Brine" +license = "MIT" +licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE" +description = "" +homepage = "http://example.com/" +tags = [] +features = [] +min_version = "0.41.0" + +[author] + name = "" + homepage = "" + +# If porting an existing theme +[original] + name = "" + homepage = "" + repo = ""