Open MuneebJS opened 4 years ago
I think this can be done in 2 ways.
I think it would be better to just utilize the file path based categories for posts then we can loop over site.posts with our given category and list them as links with liquid. The only restriction when adding new faqs would be to name the file properly (YYYY-MM-DD-title.md). It will look something like:
.
└── FAQs/
├── University and Degree/
│ ├── _posts/
│ │ ├── 2020-10-04-which-degree.md
│ │ ├── 2020-10-03-which-university.md
│ │ ├── 2020-10-21-does-university-matter.md
│ │ ├── 2020-10-04-guidelines-for-undergrad.md
│ │ └── 2020-10-07-how-to-choose-fyp.md
│ └── index.md
├── Self taught programmers/
│ ├── _posts/
│ │ ├── ...
│ │ └── ...
│ └── index.md
├── Career and growth/
│ ├── _posts/
│ │ ├── ...
│ │ └── ...
│ └── index.md
└── Online Student Communities!/
├── _posts/
│ ├── ...
│ └── ...
└── index.md
@Translucent504 I think it would be too many posts if we have one for each question, how about one for each section to begin with?
Also would be good to have it in the subfolder under _posts.
The rest sounds good.
or what if we use the Jekyll accordion component to group QnA together?
something like this:
Didn't know that this was a feature in Jekyll. Thanks, @NomanGul. Definitely an option worth considering.
From the readability and SEO perspective, it's good to have individual pages with unique URLs for each question.
Currently, FAQ has all the questions on one page. Ideally, FAQ should have individual URLs/pages for each question.
The URLs should look something like this http://softdevpk.com/FAQs/does-it-matter-which-university-i-graduated-from