Select an option
eSIM
eSIM
Flights
Flights
Experiences
Experiences
Blog Faq 10 APR, 2024

Sample Blog Post with FAQ Section

A sample blog post that demonstrates how to use the FAQ section feature.

Introduction

This is a sample blog post that demonstrates how the FAQ section feature works. The front matter of this post includes a faqs section that will be automatically rendered at the bottom of the content.

How It Works

When you include the faqs section in your front matter, Hugo will automatically render the FAQ section using the partial template. The FAQ section uses Bootstrap’s accordion component to create an expandable/collapsible list of questions and answers.

Styling

The FAQ section is styled using custom SCSS defined in assets/css/components/faq-section.scss. The styling is consistent with the rest of the site’s design.

Conclusion

Adding an FAQ section to your blog posts or offers is a great way to provide additional information to your readers in a structured and easily accessible format.


team-niyo

Team Niyo

Helping you save more