From 10f9dc87e31033fcb2ad0e0748fb1458f471555f Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 16 Apr 2022 10:50:46 +0530 Subject: [PATCH] feat: enable Zola's automatic anchoring --- content/_index.md | 3 +++ content/privacy-policy/index.md | 7 +++---- sass/main.scss | 8 ++++++++ templates/anchor-link.html | 3 +++ 4 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 content/_index.md create mode 100644 templates/anchor-link.html diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..d96aaa6 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,3 @@ ++++ +insert_anchor_links = "right" ++++ diff --git a/content/privacy-policy/index.md b/content/privacy-policy/index.md index 02761d4..9e7886b 100644 --- a/content/privacy-policy/index.md +++ b/content/privacy-policy/index.md @@ -15,18 +15,18 @@ When registering on Hostea sites, you may be asked to enter your name and e-mail When registered and participating, we record the IP address that the post originated from. We also may retain server logs which include the IP address of every request to our server. -## What do we use your information for?](#use) +## What do we use your information for? Any of the information we collect from you may be used in one of the following ways: * To personalize your experience — your information helps us to better respond to your individual needs. * To send periodic emails — The email address you provide may be used to send you information, notifications that you request about changes to topics or in response to your user name, respond to inquiries, and/or other requests or questions. -## How do we protect your information?](#protect) +## How do we protect your information? We implement a variety of security measures to maintain the safety of your personal information when you enter, submit, or access your personal information. -## What is your data retention policy?](#data-retention) +## What is your data retention policy? We will make a good faith effort to: @@ -57,4 +57,3 @@ By using our sites, you consent to our sites privacy policy. ## Changes to our Privacy Policy If we decide to change our privacy policy, we will post those changes on this page. - diff --git a/sass/main.scss b/sass/main.scss index e4ed350..d900c82 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -71,3 +71,11 @@ blockquote { color: inherit; } } + +.zola-anchor { + margin-left: 5px; +} + +.anchor-icon { + color: inherit !important; +} diff --git a/templates/anchor-link.html b/templates/anchor-link.html new file mode 100644 index 0000000..23bd6f7 --- /dev/null +++ b/templates/anchor-link.html @@ -0,0 +1,3 @@ +#