Skip to content
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

Modifying site tree #64

Open
tadamhicks opened this issue Jan 27, 2021 · 1 comment
Open

Modifying site tree #64

tadamhicks opened this issue Jan 27, 2021 · 1 comment
Assignees

Comments

@tadamhicks
Copy link

I'm new to Hugo so this may be a lack of education, but I don't seem to be able to add an "About" page and map it to "/about" in my config.toml. For the life of me I don't know what I'm doing wrong or does it require theme modification.

@parsiya
Copy link
Owner

parsiya commented Feb 15, 2021

Hi, sorry for the late reply.
If this is still an issue can you please point me to a git repo of your site with example code so I can investigate?

As an example, you can look at the source of my website at https://github.com/parsiya/parsiya.net to see how the about page is added. In short, you want to add it at content/page/about.markdown" (or about.md). Then in the frontmatter you can assign it to individual URLs url: "/about/".

See my about page at https://raw.githubusercontent.com/parsiya/parsiya.net/master/content/page/about.markdown

If you want to add the about page as a side bar link or the menu link, you can see my config.yaml file.

@parsiya parsiya self-assigned this Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants