add base for theme and homepage

This commit is contained in:
Daniel Alejandro Gallegos 2022-07-21 20:04:38 -04:00
commit 0000169f9c
No known key found for this signature in database
GPG key ID: E1C60F5E34937B03
15 changed files with 83 additions and 0 deletions

0
.hugo_build.lock Normal file
View file

6
archetypes/default.md Normal file
View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

4
config.toml Normal file
View file

@ -0,0 +1,4 @@
baseURL = 'https://bird.tacowolf.net'
languageCode = 'en-us'
title = 'bird | 🌮🐺'
theme = 'birdspace'

10
content/_index.md Normal file
View 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
View 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.

View file

@ -0,0 +1,2 @@
+++
+++

View file

View 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>

View file

@ -0,0 +1,7 @@
{{ define "main" }}
<main aria-role="main">
<div class="homepage-content">
{{.Content}}
</div>
</main>
{{ end }}

View 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>

View 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"