Easy Steps to Add a Privacy Policy in Jekyll
Elevate your Jekyll site’s transparency and boost 🚀 user trust with a dedicated Privacy Policy page! This handy guide walks 🚶♂️ you through the simple steps of creating a policy document, adding it to your site, and linking it easily in your footer. No coding necessary! Enhance your website’s reputation ⭐ and ensure compliance with this quick and practical approach.
Most of the Jekyll sites do not include a Privacy Policy
page with a link in footer.
Here’s how to do it!
1. Create Privacy Policy Page
Create privacy-policy.md
at the root of your project
2. Add some contents
1
2
3
4
5
6
7
---
layout: page
title: Privacy Policy
permalink: /privacy-policy/
---
Generate Privacy Policy using tools like https://www.privacypolicygenerator.info
3. Add footer link
Look for _includes/footer.html
in your project.
Otherwise try to identify the file where footer is defined.
Then add this link in the file at your preferred position.
1
<a href="/privacy-policy">Privacy Policy.</a>
4. Test your changes
Compose your jekylly site to validate and modify position of the link.
1
jekyll serve
Comments powered by Disqus.