add base for theme and homepage
This commit is contained in:
commit
0000169f9c
15 changed files with 83 additions and 0 deletions
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
4
config.toml
Normal file
4
config.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
baseURL = 'https://bird.tacowolf.net'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'bird | 🌮🐺'
|
||||||
|
theme = 'birdspace'
|
10
content/_index.md
Normal file
10
content/_index.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: "home"
|
||||||
|
|
||||||
|
description: "taco's furry trash receptable"
|
||||||
|
---
|
||||||
|
|
||||||
|
Nothing here yet but us birds!
|
||||||
|
|
||||||
|
( ' v ' )
|
||||||
|
|
20
themes/birdspace/LICENSE
Normal file
20
themes/birdspace/LICENSE
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2022 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/birdspace/archetypes/default.md
Normal file
2
themes/birdspace/archetypes/default.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
+++
|
||||||
|
+++
|
0
themes/birdspace/layouts/404.html
Normal file
0
themes/birdspace/layouts/404.html
Normal file
11
themes/birdspace/layouts/_default/baseof.html
Normal file
11
themes/birdspace/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/birdspace/layouts/_default/list.html
Normal file
0
themes/birdspace/layouts/_default/list.html
Normal file
0
themes/birdspace/layouts/_default/single.html
Normal file
0
themes/birdspace/layouts/_default/single.html
Normal file
7
themes/birdspace/layouts/index.html
Normal file
7
themes/birdspace/layouts/index.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<main aria-role="main">
|
||||||
|
<div class="homepage-content">
|
||||||
|
{{.Content}}
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
0
themes/birdspace/layouts/partials/footer.html
Normal file
0
themes/birdspace/layouts/partials/footer.html
Normal file
8
themes/birdspace/layouts/partials/head.html
Normal file
8
themes/birdspace/layouts/partials/head.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||||
|
{{ $title := print .Site.Title " | " .Title }}
|
||||||
|
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||||
|
<title>{{ $title }}</title>
|
||||||
|
</head>
|
0
themes/birdspace/layouts/partials/header.html
Normal file
0
themes/birdspace/layouts/partials/header.html
Normal file
15
themes/birdspace/theme.toml
Normal file
15
themes/birdspace/theme.toml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# theme.toml template for a Hugo theme
|
||||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
|
name = "birdspace"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://gitlab.com/takouhai/bird/themes/birdspace/LICENSE"
|
||||||
|
description = "a modern theme in space"
|
||||||
|
homepage = "https://bird.tacowolf.net/"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.41.0"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "taco"
|
||||||
|
homepage = "https://daniel.ga/llegos"
|
Reference in a new issue