How could I add a new page in my octopress blog
Asked Answered
Q

1

6

I have done these:

add an "about" page for example:

1.Create the “about” page:
rake new_page["about"]

2:Add the link:
<li><a href="/about">About</a></li>

then generated....

and the "about" tag do appear; but it couldn't be clicked; the new page do not come out

why...

Quin answered 30/9, 2013 at 17:8 Comment(0)
S
6

Your link needs to use the root url of your site:

<li><a href="{{ root_url }}/about">About</a></li>

And make sure you've added your link in: source/_includes/custom/navigation.html

More info: Octopress Theming & Customization

Siddur answered 18/12, 2013 at 7:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.