Back to Integrations
Eleventy Integration
Add the Pulse script to your base Nunjucks or Liquid layout.
Add to your base layout
Place the Pulse script inside the <head> of your shared base template.
src/_includes/base.njk
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script
defer
data-domain="your-site.com"
src="https://pulse.ciphera.net/script.js"
></script>
<title>{{ title }}</title>
</head>
<body>
{{ content | safe }}
</body>
</html>For more details, see the Eleventy layouts docs.