CMS
Ghost Install
Add puzzles to Ghost posts and pages — HTML cards, themes, and newsletter-driven newsrooms.
Ghost is a modern CMS popular with newsletter-first and indie newsrooms. Add puzzles via an HTML card in the editor, or drop the script into your theme for site-wide placement.
Option A: HTML card in a post or page
- Create or edit a Ghost Page (e.g.
/puzzles) or post. - Add an HTML card (/ → HTML).
- Paste:
<script src="https://newsroompuzzles.com/embed.js?site=yourpaper.com&game=sudoku"></script> - Preview and publish.
Ghost sanitizes some tags in posts — the HTML card is the supported path for script embeds. If the card strips your script, use Option B.
Option B: Theme template
For a permanent games page or 404 puzzle, edit your Ghost theme (or a custom route template):
- Download the theme from Settings → Design.
- Add the script to
error-404.hbsor a custompage-puzzles.hbstemplate. - Zip and re-upload, or deploy via your CI pipeline.
{{! error-404.hbs excerpt }}
<p>Page not found — try a puzzle while you’re here:</p>
<script src="https://newsroompuzzles.com/embed.js?site=yourpaper.com&game=akari&flat=1"></script>
Newsletter tie-in
Link from your Ghost newsletter to a /puzzles page on your site rather than embedding the script inside email — clients block JavaScript in mail. One link, full interactive puzzle on your domain.
Game & theme options
game=sudoku— default daily puzzlegame=wordsearch&pack=newsroom— on-brand vocabularytheme=dark— if your Ghost theme uses a dark reader shellaccent=%23b23018— match newsletter accent color
Troubleshooting
Script removed after save
Use the HTML card, not a Markdown code fence. For site-wide installs, use theme templates.
Narrow content column
Ghost’s default post width is fine for Sudoku. For Word Search, use a full-width page template if your theme provides one.