-
Notifications
You must be signed in to change notification settings - Fork 65
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
How to add non-section link to nav? #24
Comments
Hi, I haven't enabled any blog type feature, so you'd have to fiddle around with the pagination as well, unless you were just linking to a separate page? To fiddle with menu items, you'd add a new entry to nav.html somewhere around here This is not a huge priority for me at the moment, so I'd be saying good luck ;) |
@SteveLane Yes, just a separate page. What would the |
I think you could just put a standard href in, e.g. |
Certainly, the icon theme is very fine. However, I can not add a different section. I search for relations in all files, and adding a new section in the nav.html does not work. @maordano |
Because there's js behind the scenes sending the page to the various sections on click events, you need to override that. Try the following in the line I link to above:
|
Thanks @SteveLane for the wuick response! I will try it! @maordano |
@SteveLane Thanks! That seemed to work. Can it be added to the docs before we close this? |
Sure, do you want to add a note to the readme explaining what to do and
then make a pull request?
…On Wed., 6 Mar. 2019, 07:00 Colan Schwartz, ***@***.***> wrote:
@SteveLane <https://github.com/SteveLane> That seemed to work. Can it be
added to the docs before we close this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHFHjZtYmDx1HsZOndbhprVKRbqkCHFUks5vTszggaJpZM4bV4vX>
.
|
Issue #24: Added info for adding additional pages, like a blog.
@colans In the config.toml I add: Blog section[params.blog] This show a "Blog" label correctly in the main menu of the page. Where you put the corresponding file blog.html? What is the correct location? Many thanks |
@nodoambiental Please see the new instructions in the README, merged above. |
I'm trying to add a "Blog" link to the main nav so I can link to
/blog
, but I can't find any examples or documentation on how to add a link to the main nav that doesn't go to a section.Is this possible? If so, how?
Thanks for the theme!
The text was updated successfully, but these errors were encountered: