Compare commits

..

No commits in common. "8d47065573bf4b197a924538e4714cbbb2bedda9" and "11522f7fbfb45ea7ac283c1e3f75e37e7488284a" have entirely different histories.

17 changed files with 6 additions and 342 deletions

2
.gitignore vendored
View File

@ -13,5 +13,3 @@ hugo.linux
# Temporary lock file while building
/.hugo_build.lock
# Configs (testing)
hugo.yaml

20
LICENSE
View File

@ -1,21 +1,9 @@
MIT License
Copyright (c) [year] [fullname]
Copyright (c) 2024 ae
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:
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 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.
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

@ -1,46 +1,3 @@
<div align="center" style="padding: 20px;">
<img src="./docs/media/thunderball.jpeg" alt="Thunderball" width="80%" style="padding-bottom: 15px">
<h1 style="padding-top: 15px">Thunderball</h1>
</div>
# thunderball
### Configuration
```yaml
baseURL: https://example.com/
title: Example
language: en-GB
params:
contacts:
- name: email
url: mailto:hello@example.org
display: hello@example.org
- name: matrix
url: https://matrix.to/#/@hello:example.org
display: "@hello:example.org"
# ...
others:
- name: .onion
url: http://exampledkoip1xka89xmlawooedj.onion
display: example...awooedj.onion
# ...
services:
- name: blog
url: /blog
# ...
assets:
favicon: favicon.ico
favicon16: favicon-16x16.png
favicon32: favicon-32x32.png
appleTouchIcon: apple-touch-icon.png
safariPinnedTabIcon: safari-pinned-tab.svg
safariPinnedTabColor: "#0a0a0a"
manifest: manifest.json
msTileColor: "#0a0a0a"
msTileIcon: mstile-150x150.png
themeColor: "#0a0a0a"
logo: logo.svg
```
Ultra-minimalistic Hugo theme for golfed.xyz

View File

@ -1,5 +0,0 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

View File

@ -1,65 +0,0 @@
:root {
--background: #0a0a0a;
--highlight: #fdc500;
--text: #a9d6e5;
}
body {
margin: 0;
padding: 0;
font-family: 'Courier New', monospace;
background-color: var(--background);
color: var(--text);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.main-content {
max-width: 1000px;
padding: 20px;
}
.ascii-art {
white-space: pre;
font-size: 14px;
line-height: 1.2;
text-align: center;
color: var(--highlight);
margin-bottom: 20px;
}
.links {
text-align: center;
margin-top: 20px;
}
.links a {
color: var(--text);
text-decoration: none;
margin: 0 10px;
transition: color 0.3s ease;
display: inline-block;
}
.links a:hover {
color: var(--highlight);
}
.separator {
content: "•";
display: block;
text-align: center;
margin: 15px auto;
color: var(--highlight);
}
h1 {
color: var(--highlight);
}
.date {
font-style: italic;
color: var(--highlight);
margin-bottom: 20px;
}
.error-message {
text-align: center;
color: var(--text);
margin-top: 20px;
font-size: 1.2em;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 KiB

View File

@ -1,35 +0,0 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
<head>
{{ partial "head.html" . }}
</head>
<body>
<div class="main-content">
<p class="ascii-art">
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣤⣶⣶⣶⣶⣦⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣿⡟⠋⠉⣴⠟⠁⠉⠙⣻⣶⣬⣽⣿⣷⣤⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣤⡿⠋⣤⣾⠿⢛⡿⠻⣷⣶⠿⠛⠉⠁⢻⣆⠀⠈⠙⣿⣷⣀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣠⣿⠋⣿⢿⣥⢸⣧⣿⣾⢛⣁⣻⣤⣤⣤⣤⣤⣿⣀⠀⠀⠈⣷⠙⣷⡀⠀⠀⠀⠀
⠀⠀⠀⠀⣾⣟⣤⣾⣷⣶⣾⣿⣿⣿⣟⣉⡉⢸⡇⠀⠀⠀⠀⢸⡏⠛⠻⢷⣾⣇⠀⢿⣄⠀⠀⠀
⠀⠀⠀⣾⡿⠋⢰⣇⣶⢟⣿⣿⣿⠻⣦⠉⢙⣿⢷⣦⣄⠀⠀⣼⠃⠀⠀⠀⠀⣿⠿⣦⣿⣆⠀⠀
⠀⠀⣾⣿⠀⣤⡿⣯⣠⡟⢰⡏⢻⡄⠈⣿⣿⠁⠀⠀⠈⠛⢿⣿⡀⠀⠀⠀⢠⡟⠀⠈⢻⣿⡆⠀
⠀⢰⡏⣿⡿⠉⠀⣼⢿⣦⣿⣤⣼⣿⠟⠁⠙⣷⡀⠀⠀⢀⡿⠀⠙⢿⣦⠀⣾⠃⠀⠀⢈⡟⣿⠀
⠀⣿⣰⣿⠀⠀⣼⠏⠀⢠⡟⠀⠀⣿⡀⠀⠀⠀⢻⣆⣴⠟⠀⠀⠀⠀⠈⢻⣿⡀⠀⠀⢸⡇⠹⣇
⢀⣿⡟⠹⣦⣰⠏⠀⠀⢸⡇⠀⠀⠘⣧⠀⠀⠀⣤⡿⣿⡀⠀⠀⠀⠀⢠⡿⠀⠻⣦⠀⣿⠁⠀⣿
⢸⣿⠀⠀⢙⣿⣤⡀⠀⣿⠀⠀⠀⠀⣿⣤⣾⠟⠁⠀⠀⢿⣄⠀⠀⣰⠟⠀⠀⠀⠈⣿⣟⠀⢀⣿
⢸⣿⡀⠀⣾⠁⠈⠙⠛⣿⠿⠿⠟⠛⠉⣷⠀⠀⠀⠀⠀⠀⠹⣧⣾⠋⠀⠀⠀⠀⢠⡿⢻⣆⣸⣿
⠈⣏⣿⡀⣿⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⢻⡄⠀⠀⠀⠀⣠⣾⠛⣷⡀⠀⠀⠀⣠⡟⠀⠀⢻⡿⣿
⠀⣿⠀⢻⣧⡀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⣿⠀⣠⣶⠿⠉⠀⠀⠈⢿⡄⢀⣾⠋⠀⠀⠀⣿⣿⡏
⠀⠸⣧⢸⡇⠛⠿⣶⣤⣿⣀⣀⣤⣤⣴⣶⠿⣿⠉⠀⠀⠀⠀⠀⠀⠀⣿⡟⠀⠀⠀⢀⣿⠁⣿⠀
⠀⠀⢿⣦⣷⠀⠀⠀⠀⢸⡇⠉⠀⠀⠀⠀⠀⢻⡆⠀⠀⠀⠀⣀⣶⠟⠁⢿⡄⠀⣠⡿⠀⣼⠏⠀
⠀⠀⠀⢿⣿⣤⡀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⢿⡀⣀⣴⠿⠋⠀⠀⠀⠀⣿⣾⠋⠀⣴⠏⠀⠀
⠀⠀⠀⠀⢻⣿⠛⢿⣶⣤⣽⣄⣀⣀⣠⣤⣴⣶⠿⣿⠉⠀⠀⠀⠀⠀⣠⣾⠋⣿⠀⣾⠋⠀⠀⠀
⠀⠀⠀⠀⠀⠙⣿⣄⠀⠀⠀⣿⠉⠉⠁⠀⠀⠀⠀⠈⣿⠀⠀⣠⣶⠟⠉⠀⠀⣽⡿⠁⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠙⣿⣶⣤⣈⣿⡀⠀⠀⢀⣀⣀⣤⣾⣿⡛⠉⠀⠀⢀⣴⠿⠉⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⢿⣭⣿⣟⡛⠋⠉⠉⠀⠀⠀⢿⣦⣶⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠻⠿⠿⠿⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
</p>
<p class="error-message">404 Page Not Found</p>
</div>
</body>
</html>

View File

@ -1,14 +0,0 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . }}
</head>
<body>
<main>
{{ block "main" . }}{{ end }}
</main>
<footer>
{{ partial "footer.html" . }}
</footer>
</body>
</html>

View File

@ -1,12 +0,0 @@
{{ define "main" }}
<div class="main-content">
<h1>{{ .Title }}</h1>
{{ range .Pages }}
<article>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p class="date">{{ .Date.Format "January 02, 2006" }}</p>
<p>{{ .Summary }}</p>
</article>
{{ end }}
</div>
{{ end }}

View File

@ -1,14 +0,0 @@
{{ define "main" }}
<div class="main-content">
<h1>{{ .Title }}</h1>
<p class="date">{{ .Date.Format "January 02, 2006" }}</p>
{{ with .Params.originalPost }}
<p><em>Originally posted on <a href="{{ .url }}">{{ .source }}</a></em></p>
{{ end }}
<div class="content">
{{ .Content }}
</div>
</div>
{{ end }}

View File

@ -1,51 +0,0 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
<head>
{{ partial "head.html" . }}
</head>
<body>
<div class="main-content">
<p class="ascii-art">
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣤⣶⣶⣶⣶⣦⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣿⡟⠋⠉⣴⠟⠁⠉⠙⣻⣶⣬⣽⣿⣷⣤⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⣤⡿⠋⣤⣾⠿⢛⡿⠻⣷⣶⠿⠛⠉⠁⢻⣆⠀⠈⠙⣿⣷⣀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣠⣿⠋⣿⢿⣥⢸⣧⣿⣾⢛⣁⣻⣤⣤⣤⣤⣤⣿⣀⠀⠀⠈⣷⠙⣷⡀⠀⠀⠀⠀
⠀⠀⠀⠀⣾⣟⣤⣾⣷⣶⣾⣿⣿⣿⣟⣉⡉⢸⡇⠀⠀⠀⠀⢸⡏⠛⠻⢷⣾⣇⠀⢿⣄⠀⠀⠀
⠀⠀⠀⣾⡿⠋⢰⣇⣶⢟⣿⣿⣿⠻⣦⠉⢙⣿⢷⣦⣄⠀⠀⣼⠃⠀⠀⠀⠀⣿⠿⣦⣿⣆⠀⠀
⠀⠀⣾⣿⠀⣤⡿⣯⣠⡟⢰⡏⢻⡄⠈⣿⣿⠁⠀⠀⠈⠛⢿⣿⡀⠀⠀⠀⢠⡟⠀⠈⢻⣿⡆⠀
⠀⢰⡏⣿⡿⠉⠀⣼⢿⣦⣿⣤⣼⣿⠟⠁⠙⣷⡀⠀⠀⢀⡿⠀⠙⢿⣦⠀⣾⠃⠀⠀⢈⡟⣿⠀
⠀⣿⣰⣿⠀⠀⣼⠏⠀⢠⡟⠀⠀⣿⡀⠀⠀⠀⢻⣆⣴⠟⠀⠀⠀⠀⠈⢻⣿⡀⠀⠀⢸⡇⠹⣇
⢀⣿⡟⠹⣦⣰⠏⠀⠀⢸⡇⠀⠀⠘⣧⠀⠀⠀⣤⡿⣿⡀⠀⠀⠀⠀⢠⡿⠀⠻⣦⠀⣿⠁⠀⣿
⢸⣿⠀⠀⢙⣿⣤⡀⠀⣿⠀⠀⠀⠀⣿⣤⣾⠟⠁⠀⠀⢿⣄⠀⠀⣰⠟⠀⠀⠀⠈⣿⣟⠀⢀⣿
⢸⣿⡀⠀⣾⠁⠈⠙⠛⣿⠿⠿⠟⠛⠉⣷⠀⠀⠀⠀⠀⠀⠹⣧⣾⠋⠀⠀⠀⠀⢠⡿⢻⣆⣸⣿
⠈⣏⣿⡀⣿⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⢻⡄⠀⠀⠀⠀⣠⣾⠛⣷⡀⠀⠀⠀⣠⡟⠀⠀⢻⡿⣿
⠀⣿⠀⢻⣧⡀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⣿⠀⣠⣶⠿⠉⠀⠀⠈⢿⡄⢀⣾⠋⠀⠀⠀⣿⣿⡏
⠀⠸⣧⢸⡇⠛⠿⣶⣤⣿⣀⣀⣤⣤⣴⣶⠿⣿⠉⠀⠀⠀⠀⠀⠀⠀⣿⡟⠀⠀⠀⢀⣿⠁⣿⠀
⠀⠀⢿⣦⣷⠀⠀⠀⠀⢸⡇⠉⠀⠀⠀⠀⠀⢻⡆⠀⠀⠀⠀⣀⣶⠟⠁⢿⡄⠀⣠⡿⠀⣼⠏⠀
⠀⠀⠀⢿⣿⣤⡀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⢿⡀⣀⣴⠿⠋⠀⠀⠀⠀⣿⣾⠋⠀⣴⠏⠀⠀
⠀⠀⠀⠀⢻⣿⠛⢿⣶⣤⣽⣄⣀⣀⣠⣤⣴⣶⠿⣿⠉⠀⠀⠀⠀⠀⣠⣾⠋⣿⠀⣾⠋⠀⠀⠀
⠀⠀⠀⠀⠀⠙⣿⣄⠀⠀⠀⣿⠉⠉⠁⠀⠀⠀⠀⠈⣿⠀⠀⣠⣶⠟⠉⠀⠀⣽⡿⠁⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠙⣿⣶⣤⣈⣿⡀⠀⠀⢀⣀⣀⣤⣾⣿⡛⠉⠀⠀⢀⣴⠿⠉⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⢿⣭⣿⣟⡛⠋⠉⠉⠀⠀⠀⢿⣦⣶⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠻⠿⠿⠿⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
</p>
<div class="links">
{{ range .Site.Params.services }}
<a href="{{ .url }}" title="{{ .name }}">{{ .name }}</a>
{{ end }}
</div>
<div class="separator">•••</div>
<div class="links">
{{ range .Site.Params.contacts }}
<a href="{{ .url }}" title="{{ .display }}">{{ .name }}</a>
{{ end }}
</div>
<div class="separator">•••</div>
<div class="links">
{{ range .Site.Params.others }}
<a href="{{ .url }}" title="{{ .display }}">{{ .name }}</a>
{{ end }}
</div>
</div>
</body>
</html>

View File

@ -1 +0,0 @@
<p>Copyright {{ now.Year }}. All rights reserved.</p>

View File

@ -1,57 +0,0 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Assets (cache busting applied )-->
{{ partialCached "head/css.html" . }}
<!-- Title -->
<title>{{ if eq .RelPermalink "/404.html" }}404 | {{ .Site.Title }}{{ else if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
<!-- Metadata -->
<meta name="description" content="{{ site.Params.description }}" />
<meta name="robots" content="index, follow" />
<meta name="canonical" href="{{ .Permalink }}" />
<!-- Icons -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="{{ site.Params.assets.appleTouchIcon | default "apple-touch-icon.png" | absURL }}"
/>
<link
rel="icon"
href="{{ site.Params.assets.favicon | default "favicon.ico" |absURL }}"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="{{ site.Params.assets.favicon32 | default "favicon-32x32.png" | absURL }}"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="{{ site.Params.assets.favicon16 | default "favicon-16x16.png" | absURL }}"
/>
<link
rel="manifest"
href="{{ site.Params.assets.manifest | default "manifest.json" }}"
/>
<link
rel="mask-icon"
href="{{ site.Params.assets.safariPinnedTabIcon | default "safari-pinned-tab.svg" | absURL }}"
color="{{ site.Params.assets.safariPinnedTabColor | default "#030303" }}"
/>
<meta
name="msapplication-TileColor"
content="{{ site.Params.assets.msTileColor | default "#2b5797" }}"
/>
<meta
name="msapplication-TileImage"
content="{{ site.Params.assets.msTileIcon | default "mstile-150x150.png" }}"
/>
<meta
name="theme-color"
content="{{ site.Params.assets.themeColor | default "#030303" }}"
/>

View File

@ -1,9 +0,0 @@
{{- with resources.Get "css/style.css" }}
{{- if eq hugo.Environment "development" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
{{- end }}
{{- end }}

View File

@ -1,7 +0,0 @@
User-agent: *
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
Allow: /
{{- else }}
Disallow: /
{{- end }}
Sitemap: {{ "sitemap.xml" | absURL }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,9 +0,0 @@
name = "Thunderball"
license = "MIT"
licenselink = "https://git.umbrella.haus/ae/thunderball/LICENSE"
homepage = "https://git.umbrella.haus/ae/thunderball"
[author]
name = "ae"
homepage = "https://golfed.xyz"