URI: 
       Changing the docs template partials to be able to be used to render a section - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 864f91d90e3f7f46e46ced9cc0ba58fdb76c2c39
   DIR parent aae1ff3c92b7371385c25e4274957f01f04688ec
  HTML Author: spf13 <steve.francia@gmail.com>
       Date:   Tue, 19 Aug 2014 21:28:37 -0400
       
       Changing the docs template partials to be able to be used to render a section
       
       Diffstat:
         M docs/layouts/partials/footer.html   |       2 ++
         M docs/layouts/partials/header.html   |       4 +++-
         M docs/layouts/partials/menu.html     |       4 +++-
       
       3 files changed, 8 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html
       @@ -3,11 +3,13 @@
                            </section>
                        </div>
                        <div class="col-md-1">
       +                    {{ if .IsPage }}
                            {{ with .GetParam "next" }}
                            <a class="navigation next" href="{{.}}">
                                <i class="fa fa-angle-right"> </i>
                            </a>
                            {{ end }}
       +                    {{ end }}
                        </div>
                      </div>
                      <!-- page start-->
   DIR diff --git a/docs/layouts/partials/header.html b/docs/layouts/partials/header.html
       @@ -48,7 +48,7 @@
              </header>
              <!--header end-->
        
       -{{ template "partials/menu.html" . }}
       +{{ partial "menu.html" . }}
        
              <!--main content start-->
              <section id="main-content">
       @@ -68,11 +68,13 @@
        
                      <div class="row">
                          <div class="col-md-1">
       +                      {{ if .IsPage }}
                              {{ with .GetParam "prev" }}
                              <a class="navigation prev" href="{{.}}">
                              <i class="fa fa-angle-left"></i>
                              </a>
                              {{ end }}
       +                      {{ end }}
                          </div>
                        <div class="col-md-10">
                            <section class="panel">
   DIR diff --git a/docs/layouts/partials/menu.html b/docs/layouts/partials/menu.html
       @@ -30,7 +30,9 @@
                      </li>
                  {{end}}
                    <li> <a href="https://github.com/spf13/hugo/issues" target="blank"><i class='fa fa-life-ring'></i>Issues & Help</a> </li>
       -            {{ $File := .File }}  {{with .File.FileName }}<li><a href="https://github.com/spf13/hugo/edit/master/docs/content/{{ $File.Dir }}{{ $File.FileName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
       +            {{ if .IsPage }}
       +            {{ $File := .File }}  {{with $File.FileName }}<li><a href="https://github.com/spf13/hugo/edit/master/docs/content/{{ $File.Dir }}{{ $File.FileName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
       +            {{ end }}
                </ul>
                <!-- sidebar menu end-->
            </div>