mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-23 23:42:19 +00:00
changelog: dark visitors
This commit is contained in:
parent
ff4c91e6f6
commit
16aa1d580c
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "/changelog"
|
title: "/changelog"
|
||||||
date: "2024-05-26T21:19:08Z"
|
date: "2024-05-26T21:19:08Z"
|
||||||
lastmod: "2024-07-04T02:32:27Z"
|
lastmod: "2024-07-30T01:49:28Z"
|
||||||
description: "Maybe I should keep a log of all my site-related tinkering?"
|
description: "Maybe I should keep a log of all my site-related tinkering?"
|
||||||
featured: false
|
featured: false
|
||||||
toc: false
|
toc: false
|
||||||
|
@ -10,6 +10,9 @@ categories: slashes
|
||||||
---
|
---
|
||||||
*High-level list of config/layout changes to the site. The full changelog is of course [on GitHub](https://github.com/jbowdre/runtimeterror/commits/main/).*
|
*High-level list of config/layout changes to the site. The full changelog is of course [on GitHub](https://github.com/jbowdre/runtimeterror/commits/main/).*
|
||||||
|
|
||||||
|
**2024-07-29:**
|
||||||
|
- Build `robots.txt` dynamically with [Dark Visitors API](https://darkvisitors.com/) and code from [Luke Harris](https://www.lkhrs.com/blog/2024/darkvisitors-hugo/)
|
||||||
|
|
||||||
**2024-07-03:**
|
**2024-07-03:**
|
||||||
- Remove `target="_blank"` from external links for improved security and accessibility
|
- Remove `target="_blank"` from external links for improved security and accessibility
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{/* borrowed from https://github.com/lkhrs/hugo-dark-visitors */}}
|
{{/* borrowed from Luke Harris @ https://github.com/lkhrs/hugo-dark-visitors */}}
|
||||||
{{- $url := "https://api.darkvisitors.com/robots-txts" -}}
|
{{- $url := "https://api.darkvisitors.com/robots-txts" -}}
|
||||||
{{- $api_key := getenv "HUGO_DARKVISITORS" -}}
|
{{- $api_key := getenv "HUGO_DARKVISITORS" -}}
|
||||||
{{- $bearer := printf "Bearer %v" $api_key -}}
|
{{- $bearer := printf "Bearer %v" $api_key -}}
|
||||||
|
|
Loading…
Reference in a new issue