Lilian Jónsdóttir
3b742103c6
it turns out env-default was important
...
cleanenv overwrites everything so env-default was superceding my defaults reference entirely
2024-01-30 11:17:46 -08:00
Lilian Jónsdóttir
4d8001c283
regenerate template cache on a timer
...
default:12hr
2024-01-30 10:58:25 -08:00
Lilian Jónsdóttir
7451953d43
reexport RegenerateTemplateCache() and have it return error instead of dying
2024-01-30 10:55:49 -08:00
Lilian Jónsdóttir
d0be48a532
remove env-default from config
...
because I was already handling defaults
2024-01-30 10:55:15 -08:00
Lilian Jónsdóttir
867c21722a
alphabetisation
2024-01-30 10:43:20 -08:00
Lilian Jónsdóttir
7031596aee
add link to listenbrainz
2024-01-28 17:13:01 -08:00
Lilian Jónsdóttir
d05c906949
it turns out the handler order determines the order on the page too
...
who knew??? 🤦
2024-01-27 19:00:53 -08:00
Lilian Jónsdóttir
5882b9d19a
template tweaks
...
about template more resembles links now
2024-01-27 18:57:57 -08:00
Lilian Jónsdóttir
b56b6f11cb
actually print out errors
2024-01-27 17:30:31 -08:00
Lilian Jónsdóttir
c1506cc4b1
use string builder
...
because why not
2024-01-27 16:52:18 -08:00
Lilian Jónsdóttir
a8705c5df3
handle robots.txt
2024-01-27 16:28:03 -08:00
Lilian Jónsdóttir
f82809bfb1
un-export some functions
...
they didn't need to be exported anyway
2024-01-27 16:27:51 -08:00
Lilian Jónsdóttir
1275ae6b7d
sort handlers alphabetically
2024-01-27 16:27:13 -08:00
Lilian Jónsdóttir
95fac5c405
use less single letter variables
2024-01-27 16:26:46 -08:00
Lilian Jónsdóttir
d771ddb3d3
actually handle any http server errors
2024-01-27 16:25:17 -08:00
Lilian Jónsdóttir
177556399d
more middleware
2024-01-24 23:43:27 -08:00
Lilian Jónsdóttir
bedf6cb8e9
actual request logger middleware
...
instead of log calls in every handler
2024-01-24 23:42:40 -08:00
Lilian Jónsdóttir
108ba4d8c2
move middleware to its own file
...
in anticipation of maybe adding more
2024-01-24 23:33:08 -08:00
Lilian Jónsdóttir
df3adcde91
consistent indentation
2024-01-24 19:48:17 -08:00
Lilian Jónsdóttir
4bd2a060e0
actually proper mobile layout
2024-01-24 19:46:35 -08:00
Lilian Jónsdóttir
c2d72f475c
I really oughta build before I commit
2024-01-24 18:14:45 -08:00
Lilian Jónsdóttir
b541808f35
css tweaks
...
mobile layout is bad if there are too many links on a page
need fix
2024-01-24 18:12:54 -08:00
Lilian Jónsdóttir
4bf5bb1bc6
just change everything at 1200px wide
2024-01-24 18:03:41 -08:00
Lilian Jónsdóttir
31fbb3826e
turns out I forgot how css works
2024-01-24 18:02:15 -08:00
Lilian Jónsdóttir
5b7256aeba
tweak about summary yet again
2024-01-24 18:01:52 -08:00
Lilian Jónsdóttir
ec9700a138
turns out log already does that
...
I gotta quit writing code before looking at docs ffs
2024-01-24 17:21:47 -08:00
Lilian Jónsdóttir
d5f0151bb1
proper mobile layout
2024-01-24 16:07:57 -08:00
Lilian Jónsdóttir
14fce89c97
make a verb a noun for consistency
2024-01-24 16:06:53 -08:00
Lilian Jónsdóttir
5afd5faf96
sort internal imports separately from external
2024-01-24 11:46:04 -08:00
Lilian Jónsdóttir
5021bb256d
opengist is open
2024-01-24 11:41:23 -08:00
Lilian Jónsdóttir
bb2f21ad82
reorganize links a bit, and add header text
2024-01-24 01:40:54 -08:00
Lilian Jónsdóttir
2fcb3b7322
add status page for burning.moe
2024-01-24 01:34:14 -08:00
Lilian Jónsdóttir
cafcf7fe78
cleanup
2024-01-24 01:34:08 -08:00
Lilian Jónsdóttir
299cad9164
there's an icon there, ya don't need to state the language
2024-01-24 01:34:05 -08:00
Lilian Jónsdóttir
924e33bb22
have some consistency, my god!
2024-01-24 01:12:19 -08:00
Lilian Jónsdóttir
6c8e9df09d
I forgot that I like gaming
2024-01-24 01:07:13 -08:00
Lilian Jónsdóttir
12828200de
css: slightly wider words
2024-01-24 01:05:23 -08:00
Lilian Jónsdóttir
0cad2e175d
update data for about and apps pages
2024-01-24 00:56:59 -08:00
Lilian Jónsdóttir
4363169462
css: width of words
2024-01-24 00:56:30 -08:00
Lilian Jónsdóttir
b3ceba5ca6
ensure homepage has generated time
2024-01-24 00:56:16 -08:00
Lilian Jónsdóttir
1e8c664807
load home template from the cache properly
2024-01-24 00:32:26 -08:00
Lilian Jónsdóttir
3dbd5a86e2
major refactor of render
...
- split many parts of RenderTemplate into their own functions so they can be used individually
- move web apps into their own page, add projects page, both generated by executing links.tmpl
with their own yaml data
- handle / specially, generating LinkMap from Handlers
2024-01-24 00:20:07 -08:00
Lilian Jónsdóttir
e29bc93f35
show timestamp for logger
2024-01-24 00:09:48 -08:00
Lilian Jónsdóttir
64b40c3d82
clean up models
...
move template data functions to their own package
2024-01-23 19:01:59 -08:00
Lilian Jónsdóttir
dc51b06b51
it turns out cleanenv already does all that
2024-01-23 18:40:22 -08:00
Lilian Jónsdóttir
9ae7151c4d
update readme again
2024-01-23 18:24:29 -08:00
Lilian Jónsdóttir
c1dad1a90d
update readme
2024-01-23 18:18:51 -08:00
Lilian Jónsdóttir
16397fce66
load template data from json, toml, or yaml
...
because why not, the required modules were already included as dependencies for other things
nothing new in go.mod, just indirect -> direct
2024-01-23 18:16:16 -08:00
Lilian Jónsdóttir
e446e6520b
english is hard
2024-01-23 16:34:58 -08:00
Lilian Jónsdóttir
25b8822e2f
it's a comma
2024-01-23 16:33:56 -08:00