StaticMania / portio-hugo

Portio Hugo is a simple, minimal and responsive Portfolio Hugo Theme. Portio Hugo is well organized, well-formatted, and named accordingly so it’s easy to change any and all of the design. Portio is built with Bootstrap 4. You can customize it very easily to fit your needs.
https://portio-hugo.staticmania.com/
MIT License
450 stars 290 forks source link

Add "Skills" to site header #50

Closed dnth closed 2 years ago

dnth commented 2 years ago

Screenshot from 2022-01-13 18-04-03

How do we properly add "Skills" on the webpage header? I added them in the config.toml file but could not link it to the Skills section.

juhair-cupcake commented 2 years ago

first you need to create a page for skill if you want a skill page, or if you just want a skill section on home page create a section add the section on the page. on config.toml add something like this:

[[menu.main]]
name = "Skill"
url = "#skill"
weight = 7

add an ID on your skill section tag...

I will be happy to help you if you give me the repo link where you are working... 😃

dnth commented 2 years ago

Thank you! I have done exactly as you specified above. But when I click on the Skills button on the header, it doesnt bring me to the Skills section.

Here is my repo https://github.com/dnth/dnth.github.io

I added the id here instead and it works.

This means I need to modify the theme. Is there any other way to accomplish this without modifying the theme? Or should I open a PR for this here?