refactor(api-key): Inject Ghost API key at build time

This commit is contained in:
2026-02-17 19:21:42 +01:00
parent 9a3b35b428
commit 99ddd47649
3 changed files with 9 additions and 10 deletions

View File

@@ -6,8 +6,6 @@
<title>{{meta_title}}</title>
<link rel="stylesheet" href="{{asset "built/screen.css"}}">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
<meta name="ghost-api-key" content="YOUR_GHOST_CONTENT_API_KEY"> <!-- IMPORTANT: Replace with your actual Ghost Content API Key -->
<meta name="ghost-api-url" content="{{@site.url}}">
{{ghost_head}}
</head>
<body class="{{body_class}} font-sans antialiased">
@@ -30,6 +28,7 @@
</div>
{{ghost_foot}}
<script src="{{asset "js/ghost-config.js"}}"></script>
<script src="{{asset "js/main.js"}}"></script>
</body>
</html>