Adding a home page
- Create a new file called
index.md
. - Add the following front matter:
--- layout: home title: Welcome to the Library! patron_questions: - search: "How can I find sources from the Library?" - peer_review: "What does peer reviewed mean?" ---
Possible patron questions should always be in the above format:
- Two spaces of indentation
- A hyphen and another space
- The name of the file to link to, without the file extension. In the above example, there will need
to be a files called
search.md
(orsearch.html
) andpeer_review.md
(orpeer_review.md
) in the same folder as yourindex.md
. - A colon and another space
- The text that the patron will click on. I typically include them in double quotes, although that isn’t always strictly necessary.
If you’d like to add any additional content, you can add it using Markdown syntax. It will appear directly under the page title.