Skip to content
Snippets Groups Projects
Commit a147dd7a authored by Lars Bilke's avatar Lars Bilke Committed by Lars Bilke
Browse files

[web] Added ugly navigation.

parent c069f7f6
No related branches found
No related tags found
No related merge requests found
{{ partial "header.html" . }} {{ partial "header.html" . }}
<div class="col-xs-12"> <div class="col-xs-12">
<h1>docs</h1> <h2>docs</h1>
<ul>
{{ range first 10 .Data.Pages }} {{ range first 10 .Data.Pages }}
{{ if eq .Type "docs"}} {{ if eq .Type "docs"}}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul>
<h1>pages</h1> <h2>pages</h1>
<ul>
{{ range .Data.Pages }} {{ range .Data.Pages }}
{{ if eq .Type "page" }} {{ if eq .Type "page" }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2> <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul>
<h2>Contentful</h2>
<ul>
<li><a href="/news">News</a></li>
</ul>
</div> </div>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
...@@ -26,3 +26,6 @@ ...@@ -26,3 +26,6 @@
<body> <body>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="nav"><a href="/">Home</a> | <a href="/news">News</a> | <a href="/about">About</a> | <a href="/docs">Docs</a></div>
</div>
<div class="row">
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment