Learn how to integrate Open Guestbook into static site generators like Hugo, Jekyll, Gatsby, and plain HTML projects.
Get Started with iframeNeed help customizing or troubleshooting? Our support team and documentation are always available.
<iframe src="https://api.openguestbook.tech/embed/guestbook?site_id=YOUR_SITE_ID" class="w-full aspect-video rounded-md shadow-sm" frameborder="0" allowfullscreen> </iframe>
Replace YOUR_SITE_ID
with your unique site identifier from the dashboard.
Custom styles can be applied via CSS such as:
.openguestbook-iframe { border-radius: 0.5rem; transition: all 0.3s ease; box-shadow: 0 10px 25px -12px rgba(0, 0, 0, 0.2); }
guestbook.html
hugo` command
Create a new include file in your _includes/guestbook.html
with the iframe code, then reference it in your layout with:
Create a new React component file src/components/guestbook.js
with the iframe and include it in your page:
This allows easy reuse and CSS customization for any Gatsby-based static site.
Make sure your iframe div has proper mobile meta viewport tags and responsive CSS. Open Guestbook's guestbooks are mobile-optimized automatically when included with proper HTML and CSS.
Yes! Use custom CSS in your static site to match with your theme colors.
The Open Guestbook iframe can be used in any static HTML site — including Jekyll, Hugo, Hexo, Docsify, and Gatsby.
Copy the iframe and embed it on your static site today. No coding experience needed — all you need is basic HTML!