12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <link rel="canonical" href="{{ .Permalink }}">
- {{ if .RSSLink }}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />
- {{ end }}
- <link href="https://fonts.googleapis.com/css?family=Miriam+Libre:700&text=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%26" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" rel="stylesheet">
- <link rel="stylesheet" href="/css/prism.css" />
- <link rel="stylesheet" type="text/css" href="/css/styles.css">
- <title>{{ .Title }} | {{ .Site.Title }}</title>
- </head>
- <body>
- <nav aria-label="library">
- <div id="sidebar" class="nav-collapse">
- <!-- sidebar menu start-->
- <ul class="sidebar-menu">
- {{ $currentNode := . }}
- {{ range .Site.Menus.main }}
- {{ if .HasChildren }}
- <li class="sub-menu{{if $currentNode.HasMenuCurrent "main" . }} active{{end}}">
- <a href="javascript:;" class="">
- {{ .Pre }}
- <!--<i class="icon_desktop"></i>-->
- <span>{{ .Name }}</span>
- <span class="menu-arrow fa {{if $currentNode.HasMenuCurrent "main" . }}fa-angle-down{{else}}fa-angle-right{{end}}"></span>
- </a>
- <ul class="sub{{if $currentNode.HasMenuCurrent "main" . }} open{{end}}">
- {{ range .Children }}
- <li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.URL}}">{{ .Name }}</a> </li>
- {{ end }}
- </ul>
- {{else}}
- <li>
- <a class="" href="{{.URL}}">
- {{ .Pre }}
- <!--<i class="icon_house_alt"></i>-->
- <span>{{ .Name }}</span>
- </a>
- {{end}}
- </li>
- {{end}}
- <li> <a href="https://github.com/spf13/hugo/issues" target="blank"><i class='fa fa-life-ring'></i> <span>Issues & Help</span></a> </li>
- {{ if .IsPage }}
- {{ $File := .File }} {{with $File.Path }}<li><a href="https://github.com/spf13/hugo/edit/master/docs/content/{{ $File.Dir }}{{ $File.LogicalName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
- {{ end }}
- </ul>
- <!-- sidebar menu end-->
- </div>
- </nav>
|