Move index templates up to layouts/
This commit is contained in:
parent
cb90d28de0
commit
ceee419602
3 changed files with 11 additions and 6 deletions
|
@ -1,16 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<div class="platter grid">
|
||||
<h1 class="site">{{ .Title }}</h1>
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{- with site.Menus.main -}}
|
||||
{{- $url := $.RelPermalink -}}
|
||||
<nav class="site bulleted">
|
||||
{{- range . -}}
|
||||
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
|
||||
{{- end -}}
|
||||
</nav>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue