reorganized folder structure
This commit is contained in:
21
gharbeia.net/themes/hyde-rtl/layouts/partials/sidebar.html
Normal file
21
gharbeia.net/themes/hyde-rtl/layouts/partials/sidebar.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<aside class="sidebar">
|
||||
<div class="container sidebar-sticky">
|
||||
<div class="sidebar-about">
|
||||
<a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
|
||||
<p class="lead">
|
||||
{{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<ul class="sidebar-nav">
|
||||
<li><a href="{{ .Site.BaseURL }}">{{ i18n "home" }}</a> </li>
|
||||
{{ range .Site.Menus.main -}}
|
||||
<li><a href="{{.URL}}"> {{ .Name }} </a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}</p>
|
||||
</div>
|
||||
</aside>
|
||||
Reference in New Issue
Block a user