Commit graph

2 commits

Author SHA1 Message Date
jae
2ca01d2b3a fix: admin login, clean URLs, blog links
- Fix admin login: ID mismatch (loginUser->loginUsername, loginPass->loginPassword)
- Fix auth URL: /api/auth -> /api/auth/login
- Fix init() structure: broken if/else for checkAuth
- Remove onclick from login button (JS handles via addEventListener)
- Clean URLs: /blog/post/slug instead of post.html?slug=slug
- Updated blog.js, post.js, main.js with clean URL links
- post.js supports both /blog/post/slug and ?slug=x formats
- nginx configured for /blog/post/* rewrite
2026-03-31 22:55:45 +00:00
jae
92ba1db393 feat: add blog system, API backend, and blog styling 2026-03-31 20:49:40 +00:00