jonnybarnes.uk/resources/views
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonny Barnes 7dbf4a3311
Load the early theme script from a file so the CSP allows it
Production's Content-Security-Policy has no script-src, so it falls
back to default-src 'self' and blocks inline scripts. The inline head
script that applied the saved theme never ran on prod, leaving the
page on the system theme while the selector showed the saved choice.

Move it to resources/js/theme-init.js, built by esbuild alongside
app.js into a minified, source-mapped file loaded as a blocking script
in the head. ThemeSelector now also applies the saved colour scheme,
so the page and buttons can't disagree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 15:33:13 +00:00
..
admin Add manual Micropub token generation for non-PKCE clients 2026-09-13 10:40:27 +01:00
articles Hide draft articles from the front page and mark drafts when viewed directly 2026-09-26 16:20:50 +01:00
bookmarks Upgrade to Laravel 13 2026-04-07 09:01:19 +01:00
contacts Ooof, got the dependencies all up to date as well 2019-10-27 16:15:14 +00:00
errors Modify maintenance page 2017-02-16 10:02:58 +00:00
icons Replace RSS icon with a JSON Feed icon in the header 2026-08-22 10:42:23 +01:00
indieauth Auth endpoint 2024-06-02 10:16:16 +01:00
likes Remove Twitter POSSE support 2023-04-08 13:25:36 +01:00
notes Drop RSS/Atom feeds, support JSON feeds only 2026-08-22 10:42:16 +01:00
templates Link to likes through the uri attribute in the like template 2026-11-01 15:29:00 +00:00
vendor Initial commit to new repo 2016-05-19 15:01:28 +01:00
about.blade.php Add admin-editable About page 2026-08-28 14:49:53 +01:00
allplaces.blade.php Ooof, got the dependencies all up to date as well 2019-10-27 16:15:14 +00:00
colophon.blade.php Improve colophon page 2022-08-20 14:05:59 +01:00
front-page.blade.php Switch bio to be stored in database 2023-04-11 17:37:42 +01:00
login.blade.php Some fixes related to developing my Micropub client 2025-08-17 11:05:38 +01:00
logout.blade.php Protect admin routes with new eloquent sessions 2019-03-23 09:35:07 +00:00
master.blade.php Load the early theme script from a file so the CSP allows it 2026-11-07 15:33:13 +00:00
projects.blade.php New style for the website 2017-11-04 12:10:46 +00:00
search.blade.php Re-add search functionality 2023-04-11 21:44:55 +01:00
singleplace.blade.php Remove mapbox links 2023-05-04 18:32:07 +01:00
webmention-endpoint.blade.php Ooof, got the dependencies all up to date as well 2019-10-27 16:15:14 +00:00
welcome.blade.php Squashed commit of the following: 2017-08-11 21:02:03 +01:00