<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                - 無論是tag,category 還是keyword 都是用來分類來定義的,這些在hugo里面沒有太多的區別,都可以自定義,先演示頁面keywords - tag和categories 1. myfirst.md ``` --- title: "First" date: 2019-11-01T16:08:13+08:00 draft: false categories: ["亞馬遜云","認證考試"] tags: ["aws"] keywords: ["aws","first"] --- ``` 2. 顯示所有的tag,定義模板layouts/tags/index.html ``` {{ define "main" -}} <ul> {{ $type := .Type }} {{$type}} {{ range $key, $value := .Site.Taxonomies.tags.Alphabetical }} {{ $name := .Name }} {{ $count := .Count }} {{ with $.Site.GetPage (printf "/%s/%s" $type $name) }} <li><a href="{{ .Permalink }}">{{ $name }}</a> {{ $count }}11111111</li> {{ end }} {{ end }} </ul> {{- end }} ``` 3. 創建tag顯示頁面tags/index.md ``` --- title: "Posts" date: 2019-11-01T16:10:12+08:00 type: "tags" layout: "index" --- ``` 4. 顯示每個tag關聯的頁面,創建模板layouts/taxonomy/tag.html ``` {{ define "main" -}} <ul> {{ range .Data.Pages }} <li> <a href="{{.RelPermalink}}">{{ .Title }}</a> </li> {{ end }} </ul> {{- end }} ``` 5. 訪問菜單欄標簽:http://localhost:1313/tags/
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看