<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>编程开发 on 极道拾光</title>
    <link>/tags/%E7%BC%96%E7%A8%8B%E5%BC%80%E5%8F%91/</link>
    <description>Recent content in 编程开发 on 极道拾光</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Fri, 02 Oct 2015 21:49:20 +0200</lastBuildDate><atom:link href="/tags/%E7%BC%96%E7%A8%8B%E5%BC%80%E5%8F%91/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>如何在菜单中添加页面</title>
      <link>/2015/10/02/linked-post/</link>
      <pubDate>Fri, 02 Oct 2015 21:49:20 +0200</pubDate>
      
      <guid>/2015/10/02/linked-post/</guid>
      <description>支持将任意普通页面更改为顶部导航栏的菜单页，只需将 .md 文件的 menu 属性设置为 main 即可, 例如:
menu = &amp;quot;main&amp;quot;  注意，这样操作排序将受下列规则影响
 链接 &amp;ldquo;/&amp;rdquo; 始终在所有菜单的最左侧, &amp;ldquo;post/&amp;rdquo;, &amp;ldquo;Tags&amp;rdquo;, &amp;ldquo;Categories&amp;rdquo; 之类则按下面添加顺序始终放在设置了 menu = &amp;ldquo;main&amp;rdquo; 的文章右侧。 此操作增加的页面，底部会有旧文章、新文章的按钮  建议直接在 content 目录下新建对应的导航菜单标签目录 + _index.md 的方式来添加页面 的建议的使用方式，示例：
./content/log/_index.md ./content/link/_index.md ./content/about/_index.md 此种操作不会有旧文章、新文章的按钮
通过此种方式添加的页面，可以直接在 config.toml 中自定义顺序, 例如
[[params.menu]] before = true label = &amp;#34;主页&amp;#34; link = &amp;#34;/&amp;#34; [[params.menu]] before = false label = &amp;#34;所有文章&amp;#34; link = &amp;#34;post/&amp;#34; [[params.menu]] before = false label = &amp;#34;标签索引&amp;#34; link = &amp;#34;tags/&amp;#34; [[params.</description>
    </item>
    
  </channel>
</rss>
