Kontra: GOTH app (Go+templ+htmx+Tailwind tokens), markdown content, Decap admin, media shortcodes. Phase 3 build complete + verified locally.
This commit is contained in:
17
app/src/web/admin/index.html
Normal file
17
app/src/web/admin/index.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Kontra — Admin</title>
|
||||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
// Tell Decap where the config lives (served from the same /web/admin/ tree).
|
||||
window.CMS_ENDPOINT = '/web/admin';
|
||||
window.CMS_CONFIG = '/web/admin/config.yml';
|
||||
</script>
|
||||
<!-- Decap injects the login screen / editor here -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user