theme overhaul

This commit is contained in:
ch0ccyra1n 2023-03-13 14:34:18 -07:00
parent 4968c337db
commit 688ac06b2c
18 changed files with 176 additions and 30 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "themes/hugo-classic"]
path = themes/hugo-classic
url = https://github.com/goodroot/hugo-classic.git

View file

@ -3,7 +3,7 @@ license = ""
licenselink = ""
languageCode = 'en-us'
title = "ch0ccyra1n's website"
theme = 'hugo-classic'
theme = 'ch0ccy-in-the-nineties'
[menu]
[[menu.main]]

View file

@ -1,36 +1,15 @@
---
---
{{< rawhtml >}}<img style="border-radius: 25px; max-width: 300px;" src="/images/avatar.png" alt="picture of ch0ccyra1n, a cat sitting at a computer desk">{{< /rawhtml >}}
Hi, Im **ch0ccyra1n**! Thanks for stopping by!
Hi, Im **ch0ccyra1n**{{< rawhtml >}}<sup>(she/her)</sup>{{< /rawhtml >}}, Thanks for stopping by!
I'm a trans woman, nerd, and anarchist and occasionally post things here. Mainly more techie stuff, since most of my political writings are in *[The Student Insurgent](https://studentinsurgent.org/)*.
This is my website (***you*** should have one too. even if you don't think it's important, it is.)
## In my network...
- {{< rawhtml >}}<a href="https://gitlab.com/ch0ccyra1n"><img style="display: inline; width: 20px;" src="https://gitlab.com/favicon.ico" alt="GitLab icon"> My Gitlab</a>{{< /rawhtml >}}, where I publish code.
- {{< rawhtml >}}<a href="/posts"><img style="display: inline; width: 20px;" src="/favicon.ico" alt="ch0ccyra1n's website icon"> My Posts on this blog</a>{{< /rawhtml >}}
- {{< rawhtml >}}<a href="https://studentinsurgent.org/authors/ch0ccyra1n/"><img style="display: inline; width: 22px;" src="/images/insurgent-micro.svg" alt="Insurgent icon"> My Writings for <i>The Student Insurgent</i></a>{{< /rawhtml >}}
{{< rawhtml >}}<a href="https://gitlab.com/ch0ccyra1n"><img style="display: inline; width: 20px;" src="https://gitlab.com/favicon.ico" alt="GitLab icon"> My Gitlab</a>, where I publish code <br><a href="https://studentinsurgent.org/authors/ch0ccyra1n/"><img style="display: inline; width: 22px;" src="/images/insurgent-micro.svg" alt="Insurgent icon"> My Writings for <i>The Student Insurgent</i></a>{{< /rawhtml >}}
## Projects I maintain...
- {{< rawhtml >}}<a href="https://studentinsurgent.org/"><img style="display: inline; width: 22px;" src="/images/insurgent-micro.svg" alt="Insurgent icon"> <i>The Student Insurgent</i></a> website{{< /rawhtml >}}
- {{< rawhtml >}}<a href="https://gitlab.com/insurgentuo/defiance"><img style="display: inline; width: 20px;" src="https://gitlab.com/uploads/-/system/project/avatar/38407985/logo-defiance.png?width=48" alt="Defiance icon"> Defiance</a> Hugo Theme{{< /rawhtml >}}
- {{< rawhtml >}}<a href="https://uostudentworkers.gitlab.io/"><img style=" display: inline; width: 22px; background-color: white;" src="https://uostudentworkers.gitlab.io/img/uosw-logo.png" alt="UO Student Workers icon"> UO Student Workers</a> website{{< /rawhtml >}}
- {{< rawhtml >}}<a href="https://emeraldsocial.org/about"><img style="display: inline; width: 20px;" src="https://emeraldsocial.org/favicon.ico" alt="Mastodon icon"> Emerald Social </a> Mastodon Instance{{< /rawhtml >}}
## Socials
- {{< rawhtml >}}<a rel="me" href="https://emeraldsocial.org/@ch0ccyra1n"><img style="display: inline; width: 20px;" src="https://mastodon.social/favicon.ico" alt="Mastodon icon">Follow me on Mastodon</a>{{< /rawhtml >}}
- {{< rawhtml >}}<a href="/posts/index.xml"><img style="display: inline; width: 20px;" src="https://www.rssboard.org/images/rss-icon.png" alt="RSS icon"> Subscribe to this blog via RSS</a>{{< /rawhtml >}}
## Contact
Feel free to send me questions, fanmail, or anything else that's cool through these.
- {{< rawhtml >}}<a href="https://matrix.to/#/@ch0ccyra1n:planetexpress.me"><img style="display: inline; width: 20px;" src="https://element.io/images/logo-mark-primary.svg" alt="Element Messenger icon"> Matrix</a> (recommended){{< /rawhtml >}}
- {{< rawhtml >}}<a href="mailto:ch0ccyra1n@riseup.net"><img style="display: inline; width: 20px; background-color: white;" src="/images/envelope-at.svg" alt="E-mail icon"> E-mail</a>{{< /rawhtml >}}
## Recent Posts
{{< rawhtml >}}<a href="https://studentinsurgent.org/"><img style="display: inline; width: 22px;" src="/images/insurgent-micro.svg" alt="Insurgent icon"> <i>The Student Insurgent</i></a> website<br><a href="https://uostudentworkers.gitlab.io/"><img style=" display: inline; width: 22px; background-color: white;" src="https://uostudentworkers.gitlab.io/img/uosw-logo.png" alt="UO Student Workers icon"> UO Student Workers</a> website<br><a href="https://emeraldsocial.org/about"><img style="display: inline; width: 20px;" src="https://emeraldsocial.org/favicon.ico" alt="Mastodon icon"> Emerald Social </a> Mastodon Instance{{< /rawhtml >}}

View file

@ -0,0 +1,7 @@
---
title: "Contact"
---
Feel free to send me questions, fanmail, or anything else thats cool through these.
{{< rawhtml >}}<a href="https://matrix.to/#/@ch0ccyra1n:planetexpress.me"><img style="display: inline; width: 20px;" src="https://element.io/images/logo-mark-primary.svg" alt="Element Messenger icon"> Matrix</a> (recommended)<br><a href="mailto:ch0ccyra1n@riseup.net"><img style="display: inline; width: 20px; background-color: white;" src="/images/envelope-at.svg" alt="E-mail icon"> E-mail</a>{{< /rawhtml >}}

View file

@ -1,2 +1,27 @@
<hr><hr>
<br>
<a rel="me" href="https://emeraldsocial.org/@ch0ccyra1n" class="badge">
<img title="Follow me on Mastodon: @ch0ccyra1n@emeraldsocial.org" src="https://cyber.dabamos.de/88x31/mastodon_button_3.gif" alt="Follow me on Mastodon">
</a>
<a href="/posts/index.xml" class="badge">
<img title="Subscribe to this site via RSS" src="https://cyber.dabamos.de/88x31/rss-button.gif" alt="RSS Feed">
</a>
<a href="https://kernel.org" class="badge">
<img title="Linux is an amazing kernel that you're probably already familiar with" src="https://cyber.dabamos.de/88x31/linux-directory.gif" alt="Tux the penguin winking at you to click on this button to go to the linux directory">
</a>
<a href="https://jellyfin.org/" class="badge">
<img title="Jellyfin is a pretty cool media server that isn't Plex" src="https://cyber.dabamos.de/88x31/jellyfin.gif" alt="Jellyfin">
</a>
<a href="https://support.google.com/chrome/answer/95319" class="badge">
<img title="Stop supporting Goolag's monopoly! Use anything except Chrome (or other Chromium-based browsers)!" src="https://cyber.dabamos.de/88x31/anythingbut.gif" alt="Anything but Chrome">
</a>
<a href="https://bitwarden.com/" class="badge">
<img title="Bitwarden is an awesome password manager." src="https://cyber.dabamos.de/88x31/bitwarden.gif" alt="Bitwarden">
</a>
<img class="badge" title="Discord is spyware and bloat. Use Matrix, Signal, or XMPP instead" src="https://cyber.dabamos.de/88x31/discord-no-way.gif" alt="Discord? No way!">
<a href="https://www.privacyguides.org/en/" class="badge">
<img title="You have something to hide, so you should want some internet privacy. Click for a guide." src="https://cyber.dabamos.de/88x31/internetprivacy.gif" alt="Internet privacy now!">
</a>
<img class="badge" title="Trans rights are human rights!" src="https://cyber.dabamos.de/88x31/transnow2.gif" alt="Trans Rights Now!">
<img class="badge" title="Anarchy now!" src="https://cyber.dabamos.de/88x31/anarchynow.gif" alt="Anarchy Now!">
<br>
<p>Copyright (c) {{ now.Format "2006"}} ch0ccyra1n</p>

View file

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2023 ch0ccyra1n
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

@ -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,17 @@
{{ define "main" }}
<div>
<div>
<div class="section">
<div class="content">
<h1 class="title">{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<ul style="list-style-type: none; padding: 0; margin: 0;">
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
</ul>
{{ end }}
</div>
</div>
</div>
</div>
{{ end }}

View file

@ -0,0 +1,17 @@
{{ define "main" }}
<section class="section">
<article>
<div class="blog__container">
<h1 style="font-size: xx-large;">{{ .Title }}</h1>
<div class="blog__info">
<p><time>{{ .PublishDate.Format "January 2, 2006" }}</time> |
{{ .ReadingTime }} {{ if eq .ReadingTime 1 }} minute {{ else }} minutes {{ end }} read
</p>
</div>
<div class="content">
{{ .Content }}
</div>
</div>
</article>
</section>
{{ end }}

View file

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View file

@ -0,0 +1 @@
<link rel="stylesheet" href="/css/style.css" type="text/css" media="all" />

View file

@ -0,0 +1,7 @@
<header>
<div class="sidenav">
<a href="/">Home</a>
<a href="/posts">Posts</a>
<a href="/contact">Contact</a>
</div>
</header>

View file

@ -0,0 +1,40 @@
body {
background-color: black;
color: silver;
font-size: 125%;
line-height: 1.5;
margin: 0 auto;
}
img {
max-width: 100%;
height: auto;
}
a {
color: red;
}
h1, h2, h3, h4, h5, h6 {
color: yellow;
}
#content {
margin-left: 160px;
padding: 0px 10px;
}
.sidenav {
height: 75%;
width: 160px;
}
.sidenav a {
padding: 6px 8px 6px 16px;
display: block;
}
.badge{
display: inline;
text-decoration: none;
}

View file

@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "Ch0ccy In The Nineties"
license = "MIT"
licenselink = "https://gitlab.com/ch0ccyra1n/ch0ccyra1n.gitlab.io/-/tree/no-masters/themes/ch0ccy-in-the-nineties/LICENSE"
description = ""
homepage = "https://ch0ccyra1n.gitlab.io"
tags = []
features = []
min_version = "0.41.0"
[author]
name = "ch0ccyra1n"
homepage = "https://ch0ccyra1n.gitlab.io"
# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""

@ -1 +0,0 @@
Subproject commit 2148343bbcadff4ff6ef5d2bc0cf95f74ce6837d