Started up hugo site
This commit is contained in:
commit
5fa6ef1850
|
@ -0,0 +1 @@
|
|||
public/*
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
baseURL = "https://l4nn1312.neocities.org"
|
||||
languageCode = "en-us"
|
||||
title = "L4NN-1312"
|
||||
theme = "smol"
|
||||
# Parameters
|
||||
[params]
|
||||
subtitle = "A robot girl digital garden"
|
||||
dateFmt = "02.01.2006 15:04"
|
||||
|
||||
# Header
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "/posts/"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "categories"
|
||||
name = "Categories"
|
||||
url = "/categories/"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "tags"
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
weight = 3
|
||||
|
||||
# Footer
|
||||
[[menu.footer]]
|
||||
name = "Git"
|
||||
url = "https://git.disroot.org/l4nn1312"
|
||||
weight = 1
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Mastodon"
|
||||
url = "https://hackers.town/@l4nn1312"
|
||||
weight = 2
|
||||
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
title: "About"
|
||||
date: 2020-08-05T08:26:53-07:00
|
||||
draft: false
|
||||
menu: "main"
|
||||
weight: 50
|
||||
---
|
||||
|
||||
Transfeminine futch pan lesbian genderfluid autistic & ADHD kid, CPTSD & OCD, economics and math combined major, music fan, open source advocate, hacker, deer & cat furry, faekin/ robotkin/alienkin, ancom/ anarchosyndicalist/ democraticconfederalist, tech/hedge witch, IWW delegate IU620 IWW, cyberfolk punk. Irish and Juaneñx/Acjachemen, among other things.
|
||||
|
||||
Links:
|
||||
- [Mastodon](https://hackers.town/@l4nn1312)
|
||||
- [Git](https://git.disroot.org/)
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: "Zelda, COVID-19, and State Repression"
|
||||
date: 2020-08-05T04:23:17-07:00
|
||||
draft: false
|
||||
---
|
||||
|
||||
Welcome back to my little digital garden. Do make yourself comfortable!
|
||||
For the summer, I’ve been back in the dumpster hole known as Orange County, and the adjustment has been taking a tole on my mental health. Luckily, my friends have been there for me during these times as well as my trusty Nintendo Switch loaded up with Zelda Breath of the Wild, Pokémon Shield, and Animal Crossing. These forms of escapism have kept me grounded in an otherwise less-than-savory situation. Being able to explore Hyrule, the Gala region, and my little island are worthy alternatives to the sublime Santa Cruz and being able to actually go outside for an extended period of time.
|
||||
|
||||
These forms of escapism have also been invaluable in helping me deal with another issue: witnessing the horrors of state repression against my fellow humans fighting for a better future for Black lives, and, more broadly, all of us who are repressed by the state. While I, unfortunately, have been unable as of yet to participate in Black Lives Matter protests (though I hopefully will soon), merely seeing the level of state violence in places like Portland, Seattle, and Chicago have chilled me to the bone. While I know that this sort of police brutality and the violence inherent in the system is nothing new (by far), seeing it day after day, I admit, has taken something of a toll on my mental health. My entire heart goes out to the wonderful people who are out there on the front lines and my sincerest apologies that I’ve been unable as of yet to join them. It is my hope that some real change comes out of this, and the fact that Seattle and Minneapolis have voted to abolish their police departments lends necessary credence to that hope.
|
||||
|
||||
Good luck to everyone out there during this pandemic and uprising and stay as safe as you can.
|
|
@ -0,0 +1,22 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Vimux
|
||||
|
||||
Copyright (c) 2020 colorchestra
|
||||
|
||||
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.
|
|
@ -0,0 +1,87 @@
|
|||
# smol
|
||||
|
||||
A minimal, monospaced blogging theme for Hugo that respects your privacy and is easy on your bandwidth.
|
||||
|
||||
A real-life example can be found at https://morph.sh.
|
||||
|
||||
smol is based on [Blank](https://github.com/Vimux/Blank) created by [Vimux](https://github.com/Vimux).
|
||||
|
||||
|
||||
![Screenshot](/images/tn.png)
|
||||
|
||||
## Features
|
||||
|
||||
- No JavaScript
|
||||
- No Google spyware or tracking of any kind
|
||||
- No other external dependencies, embedded fonts or comment sections
|
||||
- Dark mode support (depending on your OS's setting)
|
||||
|
||||
## Installation
|
||||
|
||||
In your Hugo site `themes` directory, run:
|
||||
|
||||
```
|
||||
git clone https://github.com/colorchestra/smol
|
||||
```
|
||||
|
||||
Next, open `config.toml` in the base of the Hugo site and ensure the theme option is set to `smol`.
|
||||
|
||||
```
|
||||
theme = "smol"
|
||||
```
|
||||
|
||||
Lastly, add the following lines to your `config.toml` to set site parameters and make use of all the menu entries in the header and footer sections if you need them.
|
||||
|
||||
```
|
||||
# Parameters
|
||||
[params]
|
||||
subtitle = "Your blog subtitle goes here!"
|
||||
dateFmt = "02.01.2006 15:04"
|
||||
|
||||
# Header
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "/posts/"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "categories"
|
||||
name = "Categories"
|
||||
url = "/categories/"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "tags"
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
weight = 3
|
||||
|
||||
# Footer
|
||||
[[menu.footer]]
|
||||
name = "Github"
|
||||
url = "https://github.com/example"
|
||||
weight = 1
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Mastodon"
|
||||
url = "https://example.com/@user"
|
||||
weight = 2
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Imprint"
|
||||
url = "/imprint"
|
||||
weight = 3
|
||||
|
||||
```
|
||||
|
||||
For more information read the official [quick start guide](https://gohugo.io/getting-started/quick-start/) of Hugo.
|
||||
|
||||
## Contributing
|
||||
|
||||
Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/colorchestra/smol/issues) to let me know. Or make directly a [pull request](https://github.com/colorchestra/smol/pulls).
|
||||
|
||||
## License
|
||||
|
||||
This theme is released under the [MIT license](https://github.com/colorchestra/smol/blob/master/LICENSE).
|
|
@ -0,0 +1,4 @@
|
|||
+++
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = {{ .Date }}
|
||||
+++
|
Binary file not shown.
After Width: | Height: | Size: 73 KiB |
Binary file not shown.
After Width: | Height: | Size: 80 KiB |
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<style type=text/css>body{font-family:monospace;}</style>
|
||||
<title>{{ .Title }}</title>
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||
{{- end }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "header" . }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "footer" . }}
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
{{ $listtitle := .Title }}
|
||||
{{ if or .Title .Content }}
|
||||
<div>
|
||||
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<ul>
|
||||
{{ range .Paginator.Pages }}
|
||||
<li>
|
||||
<div class="post-title">
|
||||
{{ if eq $listtitle "Posts" }}
|
||||
{{ .Date.Format "2006-01-02" }} <a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||
{{ else }}
|
||||
<a href="{{ .RelPermalink }}">{{.Title }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
|
@ -0,0 +1,16 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ end }}
|
|
@ -0,0 +1,13 @@
|
|||
<article>
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
<div>
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
<a href="{{ .Permalink }}">Read more...</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
|
@ -0,0 +1,9 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
|
@ -0,0 +1,12 @@
|
|||
<footer>
|
||||
<p>© {{ now.Year }} <a href="{{ .Site.BaseURL }}"><b>{{ .Site.Title }}</b></a>.
|
||||
{{- range .Site.Menus.footer }}
|
||||
<a href="{{ .URL }}"><b>{{ .Name }}</b></a>.
|
||||
{{- end }}
|
||||
</p>
|
||||
<table>
|
||||
<tr align=center>
|
||||
<td align=center><a href="https://frsp.xyz/"><<<br>Frederick St. Peter's site</a></td><td><a href="https://emreed.net/LowTech_Directory.html"><img src="https://emreed.net/LTW.bmp"></a></td><td><a href="https://hyena.network/geocity/">>><br>Hyena Network</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</footer>
|
|
@ -0,0 +1,16 @@
|
|||
<header>
|
||||
{{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}<br>
|
||||
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
|
||||
{{ strings.Repeat ( .Site.Title | len | add 6 ) "=" }}
|
||||
<div style="float: right;">{{ .Site.Params.subtitle }}</div><br>
|
||||
<p>
|
||||
<nav>
|
||||
<a href="/"><b>Start</b></a>.
|
||||
{{ with .Site.Menus.main }}
|
||||
{{ range . }}
|
||||
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
||||
{{ end }}
|
||||
</nav>
|
||||
</p>
|
||||
{{ end }}
|
||||
</header>
|
|
@ -0,0 +1,9 @@
|
|||
<div>
|
||||
{{ if .Paginator.HasPrev }}
|
||||
<a href="{{ .Paginator.Prev.URL }}">Previous Page</a>
|
||||
{{ end }}
|
||||
{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}
|
||||
{{ if .Paginator.HasNext }}
|
||||
<a href="{{ .Paginator.Next.URL }}">Next Page</a>
|
||||
{{ end }}
|
||||
</div>
|
|
@ -0,0 +1,14 @@
|
|||
<aside>
|
||||
<div>
|
||||
<div>
|
||||
<h3>LATEST POSTS</h3>
|
||||
</div>
|
||||
<div>
|
||||
<ul>
|
||||
{{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
|
@ -0,0 +1,6 @@
|
|||
html {overflow-y: scroll}
|
||||
body{max-width:800px;margin:40px auto;padding:0 10px;font:14px/1.5 monospace;color:#444}h1,h2,h3{line-height:1.2}@media (prefers-color-scheme: dark){body{color:white;background:#444}a:link{color:#5bf}a:visited{color:#ccf}}
|
||||
code{color: #FFFFFF; background:#000000; padding:2px}
|
||||
pre{color: #FFFFFF; background:#000000; padding:24px; white-space: pre-wrap}
|
||||
article{padding:24px 0}
|
||||
.center {display: block;margin-left: auto;margin-right: auto;width: 100%;}
|
|
@ -0,0 +1,17 @@
|
|||
name = "smol"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/colorchestra/smol/blob/master/LICENSE.md"
|
||||
description = "Minimal Hugo theme using a Monospace font and without any tracking or external dependencies."
|
||||
homepage = "https://github.com/colorchestra/smol"
|
||||
tags = ["blog", "minimal", "monospace", "dark mode", "simple", "clean", "light", "responsive", "fast", "no-js", "no-tracking", "privacy"]
|
||||
features = ["blog", "privacy", "responsive", "fast"]
|
||||
min_version = "0.20"
|
||||
|
||||
[author]
|
||||
name = "morph"
|
||||
homepage = "morph.sh"
|
||||
|
||||
[original]
|
||||
author = "Vimux"
|
||||
homepage = "https://github.com/Vimux"
|
||||
repo = "https://github.com/colorchestra/blank"
|
Loading…
Reference in New Issue