sidebar stuff

This commit is contained in:
Joshua Goins 2024-02-19 18:37:26 -05:00
parent ad3cfc5397
commit 695ac2b877
5 changed files with 46 additions and 29 deletions

View file

@ -88,9 +88,12 @@ menu:
- name: 'Guestbook'
url: '/guestbook'
weight: 10
- name: 'Contact'
url: '/contact'
weight: 11
- name: 'About'
url: '/about'
weight: 11
weight: 12
retromain:
- name: 'Home'
url: '/'
@ -136,3 +139,29 @@ menu:
- name: 'Evangelion'
url: 'nerv_button.webp'
weight: 3
socials:
- name: 'Mastodon'
params:
- img: 'mastodon.webp'
url: 'https://mastodon.art/@redstrate'
weight: -1
- name: 'Newgrounds'
params:
- img: 'newgrounds.webp'
url: 'https://redstrate.newgrounds.com'
weight: 1
- name: 'Pixiv'
params:
- img: 'pixiv.webp'
url: 'https://www.pixiv.net/en/users/58118005'
weight: 2
- name: 'sourcehut'
params:
- img: 'sourcehut.webp'
url: 'https://sr.ht/~redstrate'
weight: 3
- name: 'GitHub'
params:
- img: 'github.webp'
url: 'https://github.com/redstrate'
weight: 4

View file

@ -12,19 +12,6 @@ Drawing has been a hobby of mine ever since childhood, and I try to draw when I
I also like to administrate my own servers, and that's what's hosting the website you're reading right now! You can find more details about this setup below.
# Links
I'm on plenty of platforms if you want to follow me:
* [Mastodon](https://mastodon.art/@redstrate) - my microblogging... blog.
* [sourcehut](https://sr.ht/~redstrate) - lovely code forge containing my lovely code.
* [Newgrounds](https://redstrate.newgrounds.com/) - collection of my recent art.
* [Pixiv](https://www.pixiv.net/en/users/58118005) - another collection of my recent art.
# Contact
See [this page](/contact) for contact information and details.
# Languages
English is my first language, but currently learning two new languages. Here is my current progress:

View file

@ -7,7 +7,7 @@
<div class="box">
<h2>Character</h2>
<img src="char.png" />
<img style="display: block; margin-left: auto; margin-right: auto;margin-bottom:10px;" src="char.png" />
<table>
<tr>

View file

@ -1,6 +1,9 @@
<nav>
<details id="nav-menu" open>
<summary>Navigation</summary>
<summary>Menu</summary>
<strong>Navigation</strong>
{{ $icon := resources.Get "external-link.svg" }}
{{ range .Site.Menus.main }}
@ -9,19 +12,17 @@
</div>
{{ end }}
<hr>
<br/>
<a href="https://mastodon.art/@redstrate">Mastodon</a>
<br>
<a href="https://www.pixiv.net/en/users/58118005">Pixiv</a>
<br>
<a href="https://redstrate.newgrounds.com">Newgrounds</a>
<strong>Accounts</strong>
<hr>
<ul class="nice-list">
<li><a href="http://pux5gj5lnd6x4ztapmrqvvkihcfiq2lkz56yhalmvvskja6eqwdunwyd.onion/">Tor</a></li>
<li><a href="http://retro.redstrate.com/">Retro</a></li>
</ul>
{{ range .Site.Menus.socials }}
<div class="site-menu">
{{ with resources.Get .Params.img }}
<img style="image-rendering: pixelated;" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}">
{{ end }}
<a rel="me" href="{{ .URL }}">{{ .Name }}{{ if strings.HasPrefix .URL "http" }}<img class="external-link" aria-hidden="true" alt="External link" width="16" height="16" src="{{ $icon.RelPermalink }}">{{- end -}}</a>
</div>
{{ end }}
</details>
</nav>

View file

@ -1,7 +1,7 @@
<div class="generic-con">
<ul style="padding: 0">
{{ $changes := (index site.Data "recent-changes") }}
{{ range $changes.changes | last 5 }}
{{ range $changes.changes | first 5 }}
<li style="margin-left: 10px; list-style-type: square;">
<p>{{ . }}</p>
</li>