This guide outlines steps to add a new section called Store to the website.
- Inside the
content
folder, create a new folder namedstore
. - Inside the
store
folder, create a file named_index.md
.
Example Structure:
content/
└── store/
└── _index.md
Add the following front matter to _index.md
:
---
title: "Store"
date: 2025-07-07T00:00:00Z
---
- Inside the
data
folder, create a new file namedstore.yaml
.
Example Structure:
data/
└── store.yaml
Populate store.yaml
with data in the following format:
data:
- name: "Water Reminder"
icon: "cfd-waterreminder"
url: "https://play.google.com/"
- name: Display name of the store item.
- icon: Icon class or identifier for the item.
- url: Link to the item.
- Inside the
layouts
folder, create a new folder namedstore
. - Inside the
store
folder, create a file namedstore.html
.
Example Structure:
layouts/
└── store/
└── store.html
- Add your desired HTML template code in
store.html
to render the Store section on the website.
✔️ content/store/_index.md
created and configured
✔️ data/store.yaml
created with store items
✔️ layouts/store/store.html
created with the section layout