Update index, add ~cafe spotlight, update CSS
and more... commiting months-old changes, don't mind me.
This commit is contained in:
parent
cc33c2ae47
commit
8b88fac484
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
title: "{{ slicestr (replace .Name "-" " ") 11 | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date.Format "2006-01-02" }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
outputs:
|
outputs:
|
||||||
- html
|
- html
|
||||||
- gemtext
|
- gemtext
|
||||||
slug: {{ slicestr .Name 11 }}
|
slug: {{ .Name }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
title: "{{ slicestr (replace .Name "-" " ") 11 | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- gemtext
|
||||||
|
slug: {{ slicestr .Name 11 }}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
|
@ -351,6 +351,16 @@ h6 {
|
||||||
font-size: .9rem;
|
font-size: .9rem;
|
||||||
color: var(--text-light);
|
color: var(--text-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: .8rem;
|
||||||
|
color: var(--text-light);
|
||||||
|
}
|
||||||
|
|
||||||
|
small a {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.after-content {
|
.after-content {
|
||||||
border-top: 1px solid var(--border);
|
border-top: 1px solid var(--border);
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
|
|
|
@ -13,7 +13,7 @@ disableHugoGeneratorInject = true
|
||||||
[params]
|
[params]
|
||||||
src = "https://sr.ht/~hedy/site"
|
src = "https://sr.ht/~hedy/site"
|
||||||
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
|
logURLPrefix = "https://git.sr.ht/~hedy/site/log/master/item/"
|
||||||
copyright = "© 2021 Hedy Li"
|
copyright = "© 2021 CC-BY-SA"
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
|
|
|
@ -27,8 +27,8 @@ This is where I write longish content, link some of my stuff, and show off some
|
||||||
|
|
||||||
## Projects
|
## Projects
|
||||||
|
|
||||||
almost all my repos are mirrored on tildegit.org, sr.ht and sometimes (just sometimes) on github.
|
Almost all my repos are mirrored on tildegit.org, sr.ht and sometimes (just sometimes) on github.
|
||||||
here are some project homepages that happened to be on gemini
|
Here are some project homepages that happened to be on gemini
|
||||||
|
|
||||||
=> //hedy.tilde.cafe/spsrv/ spsrv
|
=> //hedy.tilde.cafe/spsrv/ spsrv
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@ outputs:
|
||||||
|
|
||||||
# ~hedy
|
# ~hedy
|
||||||
|
|
||||||
Hey, you've made it to my website! Please look around and enjoy your time here :D
|
Hey, you've made it to my website!
|
||||||
|
|
||||||
This is my personal website. It's also on gemini:// via the same hostname. This website
|
This is my personal website. It's also on gemini:// and spartan:// via the same
|
||||||
contains my [blog](./posts/) and [about page](./about/).
|
hostname. This website contains my [blog](./posts/) and [about page](./about/).
|
||||||
|
|
||||||
Keep in mind that many portions of this site is still work in progress, including the CSS.
|
Keep in mind that many portions of this site is still work in progress, including the CSS.
|
||||||
I post to my blog here from time to time, generally once or twice every few months. I also
|
I post to my blog here from time to time, generally once or twice every few months. I also
|
||||||
|
@ -17,6 +17,9 @@ have a journal where I post shorter, more frequent updates, you can find it here
|
||||||
[hedy.flounder.online/journal/](https://hedy.flounder.online/journal/). I might host that
|
[hedy.flounder.online/journal/](https://hedy.flounder.online/journal/). I might host that
|
||||||
here one day as well.
|
here one day as well.
|
||||||
|
|
||||||
|
I also have a hand-picked list of cool things on tilde.cafe! Check it out:
|
||||||
|
[~Cafe Spotlight](https://hedy.tilde.cafe/cafe-spotlight/)
|
||||||
|
|
||||||
The website source code is FOSS, available here: [sr.ht/~hedy/site](https://sr.ht/~hedy/site).
|
The website source code is FOSS, available here: [sr.ht/~hedy/site](https://sr.ht/~hedy/site).
|
||||||
|
|
||||||
## Contacts
|
## Contacts
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
She/Her/They
|
She/Her/They
|
||||||
|
|
||||||
## places online (web)
|
## Places online (web)
|
||||||
|
|
||||||
=> https://tilde.zone/@hedy mastodon
|
=> https://tilde.zone/@hedy mastodon
|
||||||
=> https://sr.ht/~hedy sourcehut
|
=> https://sr.ht/~hedy sourcehut
|
||||||
|
@ -8,20 +8,18 @@ She/Her/They
|
||||||
=> https://lobste.rs/u/hedy Lobsters
|
=> https://lobste.rs/u/hedy Lobsters
|
||||||
=> https://tildes.net/user/hedy tildes.net
|
=> https://tildes.net/user/hedy tildes.net
|
||||||
|
|
||||||
I'm not always using username "hedy" if you're unsure if someone is me, please contact me
|
I'm not always using username "hedy" so if you're unsure if someone is me, please contact me.
|
||||||
|
|
||||||
## contact
|
## Contact
|
||||||
|
|
||||||
Use 'hedy' as 'me' unless specified otherwise
|
* mastodon: @hedy@tilde.zone
|
||||||
|
* email: hedy at tilde dot cafe
|
||||||
* mastodon: @me@tilde.zone
|
* IRC: hedy (tilde - preferred. also on libera, ~town, ircnow, #!)
|
||||||
* email: me at tilde dot cafe
|
* matrix: hedy:envs.net
|
||||||
* IRC: me (tilde - preferred. also on libera, ~town, maybe oftc?, ircnow, #!)
|
* xmpp: hedy@hmm.st
|
||||||
* matrix: me:envs.net
|
|
||||||
* xmpp: me@hmm.st
|
|
||||||
|
|
||||||
|
|
||||||
## uses
|
## Uses
|
||||||
|
|
||||||
```
|
```
|
||||||
.-----------------------------------------------.
|
.-----------------------------------------------.
|
||||||
|
|
|
@ -8,30 +8,30 @@ description: "Where people can find me online and software I use"
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
She/Her/They
|
She/Her
|
||||||
|
|
||||||
## places online
|
## Places online
|
||||||
|
|
||||||
* [mastodon](https://tilde.zone/@hedy)
|
* [Mastodon](https://tilde.zone/@hedy)
|
||||||
* [sourcehut](https://sr.ht/~hedy)
|
* [Sourcehut](https://sr.ht/~hedy)
|
||||||
* [github](https://github.com/hedyhli)
|
* [GitHub](https://github.com/hedyhli)
|
||||||
* [Lobsters](https://lobste.rs/u/hedy)
|
* [Lobsters](https://lobste.rs/u/hedy)
|
||||||
* [tildes.net](https://tildes.net/user/hedy)
|
* [tildes.net](https://tildes.net/user/hedy)
|
||||||
|
|
||||||
I'm not always using username "hedy" if you're unsure if someone is me, please contact me
|
I'm not always using username "hedy" so if you're unsure if someone is me, please contact me.
|
||||||
|
|
||||||
## contact
|
## Contact
|
||||||
|
|
||||||
Use 'hedy' as 'me' unless specified otherwise
|
* mastodon: [@hedy@tilde.zone](https://tilde.zone/@hedy)
|
||||||
|
* email: hedy at tilde dot cafe
|
||||||
* mastodon: @me@tilde.zone
|
* IRC: hedy ([tilde.chat](https://tilde.chat) - preferred. also on
|
||||||
* email: me at tilde dot cafe
|
[libera](https://libera.chat), [~town](https://tilde.town),
|
||||||
* IRC: me (tilde - preferred. also on libera, ~town, maybe oftc?, ircnow, #!)
|
[ircnow](https://ircnow.org), [#!](https://hashbang.sh))
|
||||||
* matrix: me:envs.net
|
* matrix: hedy:envs.net
|
||||||
* xmpp: me at hmm.st
|
* xmpp: hedy at hmm.st
|
||||||
|
|
||||||
|
|
||||||
## uses
|
## Uses
|
||||||
|
|
||||||
{{<table>}}
|
{{<table>}}
|
||||||
| key | value |
|
| key | value |
|
||||||
|
|
|
@ -0,0 +1,57 @@
|
||||||
|
---
|
||||||
|
title: "Tilde.Cafe Spotlight"
|
||||||
|
date: 2022-03-27T15:50:41+08:00
|
||||||
|
draft: false
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
slug: cafe-spotlight
|
||||||
|
description: "Shiny cool stuff by fellow tilde.cafe users"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Here are some cool stuff made by fellow tilde.cafe users that I found.
|
||||||
|
|
||||||
|
|
||||||
|
## Gallery <small>by [~tweska](https://tilde.cafe/~tweska/)</small>
|
||||||
|
|
||||||
|
A gallery of all WWW user homepages on ~cafe
|
||||||
|
|
||||||
|
[Take a look >>>>](https://tilde.cafe/~tweska/gallery/)
|
||||||
|
|
||||||
|
|
||||||
|
## Brainfuck online <small>by [~samhunter](https://tilde.cafe/~samhunter)</small>
|
||||||
|
|
||||||
|
An online BF interpreter (JavaScript required).
|
||||||
|
|
||||||
|
[Check it out!](https://tilde.cafe/~samhunter/bf)
|
||||||
|
|
||||||
|
|
||||||
|
## Cool CSS Animation <small>by [~gladiator](https://tilde.cafe/~gladiator/)</small>
|
||||||
|
|
||||||
|
Some interesting animation made entirely with HTML and CSS!
|
||||||
|
|
||||||
|
[![a preview of the animation](../gladiator.png)](https://tilde.cafe/~gladiator)
|
||||||
|
|
||||||
|
|
||||||
|
## ~chrono's blog <small>by [~chrono](https://tilde.cafe/~chrono/)</small>
|
||||||
|
|
||||||
|
Joel hosts a blog over on his homepage where he also lists some games he built.
|
||||||
|
Here are a few blog posts which I found interesting:
|
||||||
|
|
||||||
|
* [2022-03-15 Logging out of YouTube](https://chrono.tilde.cafe/posts/logging-out-of-youtube.html)
|
||||||
|
* [2022-01-14 Mutt Wizard](https://chrono.tilde.cafe/posts/mutt-wizard.html)
|
||||||
|
* [2021-08-31 Backup your dotfiles using stow](https://chrono.tilde.cafe/posts/backup-your-dotfiles-using-stow.html)
|
||||||
|
* [2021-07-01 Adventures with ssh, git and rofi scripts](https://chrono.tilde.cafe/posts/adventures-with-ssh,-git-and-rofi-scripts.html)
|
||||||
|
|
||||||
|
|
||||||
|
## ~wwwgem's posts <small>by [~wwwgem](https://tilde.cafe/~wwwgem/)</small>
|
||||||
|
|
||||||
|
* [2021-05-03 shellcheck: check your bash scripts](https://tilde.cafe/~wwwgem/system/04-shellcheckus.html)
|
||||||
|
* [2021-04-23 Commandline: fd, rga and bat](https://tilde.cafe/~wwwgem/system/03-fd_rga_batus.html)
|
||||||
|
|
||||||
|
They have some cool scripts too!
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Is there anything I missed? Email me any suggestions on things to include :)
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
{{ block "content" . -}}{{ end }}
|
{{ block "content" . -}}{{ end }}
|
||||||
|
|
||||||
|
=> {{.Params.src}} Source
|
||||||
{{- with .OutputFormats.Get "html" }}
|
{{- with .OutputFormats.Get "html" }}
|
||||||
{{- $weburl := .Permalink }}
|
{{- $weburl := .Permalink }}
|
||||||
=> {{$weburl}} view this page on the web
|
=> {{$weburl}} View this page on the web
|
||||||
|
{{if $.GitInfo -}}
|
||||||
|
Capsule last rebuilt on {{now.Format "2006-01-02" }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
{{ define "content" -}}
|
{{ define "content" -}}
|
||||||
# {{ .Title }}
|
# {{ .Title }}
|
||||||
|
|
||||||
|
{{ $lastmod := .Lastmod -}}
|
||||||
|
{{ if lt .Date $lastmod -}}
|
||||||
|
Last updated {{ .Lastmod.Format "2006-01-02" }}{{ end }}
|
||||||
|
--
|
||||||
|
|
||||||
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
|
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
|
||||||
|
|
||||||
--
|
--
|
||||||
=> {{ replace .Site.BaseURL "https:" "" }} home
|
=> {{ replace .Site.BaseURL "https:" "" }} Home
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -10,5 +10,4 @@
|
||||||
=> {{replace (replace .Permalink "/gemini" "" 1) "/index.gmi" ".gmi" 1}} {{ .Date.Format "2006-01-02" }}: {{.Title | safeHTML}}{{ end }}{{ end }}
|
=> {{replace (replace .Permalink "/gemini" "" 1) "/index.gmi" ".gmi" 1}} {{ .Date.Format "2006-01-02" }}: {{.Title | safeHTML}}{{ end }}{{ end }}
|
||||||
|
|
||||||
--
|
--
|
||||||
=> {{ .Site.Params.src }} Site source code
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<p>{{ .Site.Params.Copyright }} · <a href="{{ .Site.Params.src }}">Source</a>
|
<p>{{ .Site.Params.Copyright }} · <a href="{{ .Site.Params.src }}">Site source</a>
|
||||||
{{- with .OutputFormats.Get "gemtext" }}
|
{{- with .OutputFormats.Get "gemtext" }}
|
||||||
{{- $gemurl := replace (replace .Permalink "/gemini" "" 1) "/index.gmi" ".gmi" 1 }}
|
{{- $gemurl := replace (replace .Permalink "/gemini" "" 1) "/index.gmi" ".gmi" 1 }}
|
||||||
· <a rel="syndication" class="u-syndication" href="{{ $gemurl | safeURL }}">View on Gemini</a>
|
· <a rel="syndication" class="u-syndication" href="{{ $gemurl | safeURL }}">View on Gemini</a>
|
||||||
|
|
|
@ -4,12 +4,22 @@
|
||||||
Posted {{ .Date.Format "2006-01-02" }}
|
Posted {{ .Date.Format "2006-01-02" }}
|
||||||
{{ $lastmod := .Lastmod -}}
|
{{ $lastmod := .Lastmod -}}
|
||||||
{{ if lt .Date $lastmod -}}
|
{{ if lt .Date $lastmod -}}
|
||||||
Last updated {{ .Lastmod.Format "2006-01-02" }}
|
Last updated {{ .Lastmod.Format "2006-01-02" }}{{ end }}
|
||||||
{{ end -}}
|
{{ $taxonomy := "tags" -}}
|
||||||
---
|
{{- with .Param $taxonomy -}}
|
||||||
|
{{- if gt (len .) 1 -}}
|
||||||
|
Tags:
|
||||||
|
{{- else if gt (len .) 0 -}}
|
||||||
|
Tag:
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ range $index, $tag := . -}}{{- with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
|
||||||
|
{{- if $index -}}, {{ end -}}{{ if (not $index) }}{{printf " "}}{{end}}{{ $tag | urlize }}{{- end -}}{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
--
|
||||||
|
|
||||||
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
|
{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
|
||||||
|
|
||||||
--
|
--
|
||||||
=> .. home
|
=> .. Home
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue