-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added faq page. #502
base: master
Are you sure you want to change the base?
Added faq page. #502
Conversation
…real picture, as well as a link to the faq page. Will discuss in the meeting
🎊 PR Preview a84eaee has been successfully built and deployed to https://CarletonComputerScienceSociety-website-build_preview-pr-502.surge.sh 🕐 Build time: 0.009s 🤖 By surge-preview |
@@ -0,0 +1,9 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file should be named _index.md
<div class="faq__question"> | ||
<div>{{- partial "curated-questions.html" (dict "Title" .Title "summary" .Params.summary) -}}</div> | ||
<div>{{- partial "read-more.html" (dict "label" "Read More " "link" .RelPermalink) -}}</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div class="faq-topic__questions"> | ||
<div class="faq__questions"> | ||
{{ range .Params.questions }} | ||
{{ $page := printf "resources/faq/questions/%s" . }} | ||
{{ with $.Site.GetPage $page }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could create a common partial called like "faq question group" to reuse across the 2 pages
if you run |
Added faq page. Still need to work on styling a little bit and add a real picture, as well as a link to the faq page. Will discuss in the meeting. Issue #495