Initial site
This commit is contained in:
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
||||||
9
config.toml
Normal file
9
config.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
baseURL = 'https://wildness.makyo.ink/'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'A Wildness of the Heart'
|
||||||
|
theme = 'maddybook'
|
||||||
|
|
||||||
|
[params]
|
||||||
|
author = 'Madison Scott-Clary'
|
||||||
|
home = 'https://makyo.ink'
|
||||||
|
copyright = 2021
|
||||||
5
content/_index.md
Normal file
5
content/_index.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
type: single
|
||||||
|
---
|
||||||
|
|
||||||
|
Blah blah
|
||||||
20
themes/maddybook/LICENSE
Normal file
20
themes/maddybook/LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2021 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.
|
||||||
2
themes/maddybook/archetypes/default.md
Normal file
2
themes/maddybook/archetypes/default.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
+++
|
||||||
|
+++
|
||||||
0
themes/maddybook/layouts/404.html
Normal file
0
themes/maddybook/layouts/404.html
Normal file
11
themes/maddybook/layouts/_default/baseof.html
Normal file
11
themes/maddybook/layouts/_default/baseof.html
Normal file
@ -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>
|
||||||
0
themes/maddybook/layouts/_default/list.html
Normal file
0
themes/maddybook/layouts/_default/list.html
Normal file
0
themes/maddybook/layouts/_default/single.html
Normal file
0
themes/maddybook/layouts/_default/single.html
Normal file
6
themes/maddybook/layouts/index.html
Normal file
6
themes/maddybook/layouts/index.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<main id="main">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{ .Content }}
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
||||||
3
themes/maddybook/layouts/partials/footer.html
Normal file
3
themes/maddybook/layouts/partials/footer.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<footer>
|
||||||
|
<p>© <a href="{{ .Site.Params.home }}">{{ .Site.Params.author }}</a> {{ .Site.Params.copyright }}</p>
|
||||||
|
</footer>
|
||||||
9
themes/maddybook/layouts/partials/head.html
Normal file
9
themes/maddybook/layouts/partials/head.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<header>
|
||||||
|
<h1>{{ .Site.Title }}</h1>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/">Home</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
3
themes/maddybook/layouts/partials/header.html
Normal file
3
themes/maddybook/layouts/partials/header.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<head>
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
</head>
|
||||||
21
themes/maddybook/theme.toml
Normal file
21
themes/maddybook/theme.toml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# theme.toml template for a Hugo theme
|
||||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
|
name = "Maddybook"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||||
|
description = "A theme for posting entire books"
|
||||||
|
homepage = "http://example.com/"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.41.0"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Madison Scott-Clary"
|
||||||
|
homepage = "https://makyo.ink"
|
||||||
|
|
||||||
|
# If porting an existing theme
|
||||||
|
[original]
|
||||||
|
name = ""
|
||||||
|
homepage = ""
|
||||||
|
repo = ""
|
||||||
Reference in New Issue
Block a user