mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
Merge branch 'main' into drafts
This commit is contained in:
commit
fde5633cd1
10 changed files with 45 additions and 14 deletions
4
.github/workflows/deploy-preview.yml
vendored
4
.github/workflows/deploy-preview.yml
vendored
|
@ -43,6 +43,10 @@ jobs:
|
|||
chmod 644 ~/.ssh/known_hosts
|
||||
- name: Build with Hugo
|
||||
run: HUGO_REMOTE_FONT_PATH=${{ secrets.REMOTE_FONT_PATH }} hugo --minify --environment preview
|
||||
- name: Insert 404 page
|
||||
run: |
|
||||
mkdir -p public/bunnycdn_errors
|
||||
cp public/404/index.html public/bunnycdn_errors/404.html
|
||||
- name: Highlight with Torchlight
|
||||
run: |
|
||||
npm i @torchlight-api/torchlight-cli
|
||||
|
|
4
.github/workflows/deploy-prod.yml
vendored
4
.github/workflows/deploy-prod.yml
vendored
|
@ -45,6 +45,10 @@ jobs:
|
|||
chmod 644 ~/.ssh/known_hosts
|
||||
- name: Build with Hugo
|
||||
run: HUGO_REMOTE_FONT_PATH=${{ secrets.REMOTE_FONT_PATH }} hugo --minify
|
||||
- name: Insert 404 page
|
||||
run: |
|
||||
mkdir -p public/bunnycdn_errors
|
||||
cp public/404/index.html public/bunnycdn_errors/404.html
|
||||
- name: Highlight with Torchlight
|
||||
run: |
|
||||
npm i @torchlight-api/torchlight-cli
|
||||
|
|
|
@ -10,32 +10,39 @@ reply: true
|
|||
categories: Tips # Backstage, ChromeOS, Code, Self-Hosting, VMware
|
||||
tags:
|
||||
- android
|
||||
- api
|
||||
- automation
|
||||
- caddy
|
||||
- certs
|
||||
- chromeos
|
||||
- cloud
|
||||
- cloudflare
|
||||
- containers
|
||||
- crostini
|
||||
- docker
|
||||
- gcp
|
||||
- homeassistant
|
||||
- hugo
|
||||
- iac
|
||||
- javascript
|
||||
- kubernetes
|
||||
- linux
|
||||
- meta
|
||||
- networking
|
||||
- packer
|
||||
- powercli
|
||||
- powershell
|
||||
- proxmox
|
||||
- python
|
||||
- regex
|
||||
- salt
|
||||
- security
|
||||
- selfhosting
|
||||
- shell
|
||||
- tailscale
|
||||
- tasker
|
||||
- terraform
|
||||
- vmware
|
||||
- windows
|
||||
- wireguard
|
||||
- wsl
|
||||
---
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@ numberOfRelatedPosts = 5
|
|||
|
||||
indexTitle = ".-. ..- -. - .. -- . - . .-. .-. --- .-."
|
||||
|
||||
robots = [
|
||||
bad_robots = [
|
||||
"AdsBot-Google",
|
||||
"Amazonbot",
|
||||
"anthropic-ai",
|
||||
"Applebot",
|
||||
"Applebot-Extended",
|
||||
"AwarioRssBot",
|
||||
"AwarioSmartBot",
|
||||
"Bytespider",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "/changelog"
|
||||
date: "2024-05-26T21:19:08Z"
|
||||
lastmod: "2024-06-06"
|
||||
lastmod: "2024-06-07T22:41:44Z"
|
||||
description: "Maybe I should keep a log of all my site-related tinkering?"
|
||||
featured: false
|
||||
toc: false
|
||||
|
@ -11,7 +11,7 @@ categories: slashes
|
|||
*High-level list of config/layout changes to the site.*
|
||||
|
||||
**2024-06-06:**
|
||||
- Migrate hosting from Neocities to Bunny CDN
|
||||
- Migrate hosting from [Neocities to Bunny CDN](/further-down-the-bunny-hole/)
|
||||
|
||||
**2024-05-30:**
|
||||
- Fix broken styling for taxonomy (categories/tags) feeds
|
||||
|
@ -20,8 +20,8 @@ categories: slashes
|
|||
|
||||
**2024-05-29:**
|
||||
- Display post descriptions (if set) on archive pages; otherwise fall back to summaries
|
||||
- Add /slashes archive page
|
||||
- Add /slashes to top menu, add /about
|
||||
- Add [/slashes](/slashes/) archive page
|
||||
- Add /slashes to top menu, add [/about](/about)
|
||||
|
||||
**2024-05-27:**
|
||||
- Replace "powered by" links with slashpages
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "Further Down the Bunny Hole"
|
||||
date: 2024-06-06
|
||||
# lastmod: 2024-06-06
|
||||
lastmod: "2024-06-08T02:57:35Z"
|
||||
description: "After a few weeks of weird configuration glitches, I decided to migrate my static site from Neocities to Bunny CDN. Here's how I did it."
|
||||
featured: false
|
||||
toc: true
|
||||
|
@ -45,7 +45,7 @@ I found the [bunnycdn-storage-deploy](https://github.com/ayeressian/bunnycdn-sto
|
|||
| `BUNNY_STORAGE_PASSWORD` | `7cb197e5-[...]-ad35820c0de8` | Get it from the storage zone's FTP & API Access page |
|
||||
| `BUNNY_ZONE_ID` | `12345` | The pull zone ID you copied earlier |
|
||||
|
||||
Then I just updated [my deployment workflow](https://github.com/jbowdre/runtimeterror/blob/main/.github/workflows/deploy-prod.yml) to swap the Bunny action in place of the Neocities one:
|
||||
Then I just updated [my deployment workflow](https://github.com/jbowdre/runtimeterror/blob/main/.github/workflows/deploy-prod.yml) to swap the Bunny action in place of the Neocities one (and [adjust the 404 page for bunny](https://support.bunny.net/hc/en-us/articles/360000332631-How-do-I-configure-a-custom-404-page-for-my-storage-zone)):
|
||||
|
||||
```yaml
|
||||
# torchlight! {"lineNumbers":true}
|
||||
|
@ -96,6 +96,14 @@ jobs:
|
|||
chmod 644 ~/.ssh/known_hosts #
|
||||
- name: Build with Hugo
|
||||
run: HUGO_REMOTE_FONT_PATH=${{ secrets.REMOTE_FONT_PATH }} hugo --minify
|
||||
- name: Insert 404 page # [tl! **:4]
|
||||
run: | # [tl! ++:1,1 --:2,1]
|
||||
mkdir -p public/bunnycdn_errors
|
||||
cp public/404/index.html public/not_found.html
|
||||
cp public/404/index.html public/bunnycdn_errors/404.html
|
||||
- name: Insert 404 page # [tl! ++:-1,1 reindex(-1)]
|
||||
run: |
|
||||
cp public/404/index.html public/not_found.html
|
||||
- name: Highlight with Torchlight
|
||||
run: |
|
||||
npm i @torchlight-api/torchlight-cli
|
||||
|
|
|
@ -9,8 +9,8 @@ categories: Tips # Projects, Code
|
|||
tags:
|
||||
- homelab
|
||||
- networking
|
||||
- proxmox
|
||||
- tailscale
|
||||
- vpn
|
||||
---
|
||||
|
||||
I've spent the past two years in love with [Tailscale](https://tailscale.com/), which builds on the [secure and high-performance Wireguard VPN protocol](/cloud-based-wireguard-vpn-remote-homelab-access/) and makes it [really easy to configure and manage](/secure-networking-made-simple-with-tailscale/). Being able to easily (and securely) access remote devices as if they were on the same LAN is pretty awesome to begin with, but Tailscale is packed with an ever-expanding set of features that can really help to streamline your operations too. Here are three of my favorites.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<h1 class="about__title">{{ .title }} <a target="_blank" href="/feed.xml" aria-label="RSS"><i class="fa-solid fa-square-rss"></i></a> </h1>
|
||||
{{ partial "tagline.html" . }}
|
||||
<br>
|
||||
<a href="about"><i class="fa-regular fa-user"></i></a> <a href="/about">{{ site.Params.Author.username }}</a>
|
||||
<a href="/about/"><i class="fa-regular fa-user"></i></a> <a href="/about/">{{ site.Params.Author.name }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
<ul class="aside__social-links">
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
||||
|
||||
<!-- add pride bar for june -->
|
||||
<link rel="stylesheet" href="https://cdn.pride.codes/css/bar_body.css">
|
||||
|
||||
{{ if eq .Site.Params.analytics true }}
|
||||
<!-- tinylytics -->
|
||||
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=🎉&webring=avatars" defer></script>
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
Sitemap: {{ .Site.BaseURL }}/sitemap.xml
|
||||
|
||||
# hello robots [^_^]
|
||||
# let's be friends <3
|
||||
|
||||
User-agent: *
|
||||
Disallow:
|
||||
{{ range .Site.Params.robots }}
|
||||
|
||||
# except for these bots which are not friends:
|
||||
{{ range .Site.Params.bad_robots }}
|
||||
User-agent: {{ . }}
|
||||
{{- end }}
|
||||
Disallow: /
|
||||
|
|
Loading…
Reference in a new issue