How do I create a new page? #2149
Answered
by
yumzhang17
SuhaniSuranaArizona
asked this question in
Q&A
-
I have been trying to create new pages like research etc, for my website but I do not know how do I add content to it? I have made changes to the navigation bar, but want to know on how to make the actual content for that subdirectory? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
yumzhang17
May 30, 2024
Replies: 2 comments 1 reply
-
Do you mean creating a new category, or creating new pages within an existing category? |
Beta Was this translation helpful? Give feedback.
0 replies
-
First, you need to modify the navigation.yml, like:
layout: archive
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rjzupkoii
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First, you need to modify the navigation.yml, like:
url: /Resaerch/
Then, in your _pages, you need to have a new html file, like:
research.html
The contents can be something like this:
layout: archive
title: "Research"
permalink: /research/
author_profile: true