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

你好如何设置 about archives 顶部的导航栏 #39

Open
zengAlex opened this issue Nov 12, 2016 · 2 comments
Open

你好如何设置 about archives 顶部的导航栏 #39

zengAlex opened this issue Nov 12, 2016 · 2 comments

Comments

@zengAlex
Copy link

如上,谢谢

@YenYuHsuan
Copy link

@zengAlex 抱歉,不是很清楚你的意思
你是說要新增about&archives在導航欄?
還是你要修改他的css呢

@SuperChrisliu
Copy link

只支持添加page的导航吧。如果想添加其他链接,比如其他站点需要修改代码。
修改文件的路径:layout_partial\nav.ejs
从第27行开始添加:

                    <li>
                        <a href="你需要导航的链接">some nav</a>
                    </li>

添加完后是这样的:

                    <li>
                        <a href="<%= config.root %>">Home</a>
                    </li>
                    <li>
                        <a href="你需要导航的链接">some nav</a>
                    </li>
		<% site.pages.forEach(function(page){ %>

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

3 participants