Hendrik Langer
5 years ago
5 changed files with 20 additions and 90 deletions
@ -1,17 +0,0 @@ |
|||
<head> |
|||
<title>{{ .Site.Title }}</title> |
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<meta name="format-detection" content="telephone=no" /> |
|||
<meta name="theme-color" content="#000084" /> |
|||
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico"> |
|||
<link rel="canonical" href="{{ .Site.BaseURL }}"> |
|||
{{/* Don't ask why it's like this. This original theme is a mess... */}} |
|||
<link rel="stylesheet" href="{{ "/css/bootstrap.css" | relURL }}"> |
|||
<link rel="stylesheet" href="{{ "/css/bootstrap-responsive.css" | relURL }}"> |
|||
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}"> |
|||
{{ range .Site.Params.customCSS -}} |
|||
<link rel="stylesheet" href="{{ . | relURL }}"> |
|||
{{- end }} |
|||
<!-- <noscript><style>body { visibility: visible }</style></noscript> --> |
|||
</head> |
@ -1,40 +0,0 @@ |
|||
<!-- Navbar |
|||
================================================== --> |
|||
<nav class="navbar navbar-inverse navbar-fixed-top"> |
|||
<div class="navbar-inner"> |
|||
<div class="container"> |
|||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"></button> |
|||
<a class="brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> |
|||
<div class="nav-collapse collapse"> |
|||
<ul class="nav"> |
|||
{{ $currentPage := . }} |
|||
{{ range .Site.Menus.main }} |
|||
{{ if .HasChildren }} |
|||
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}"> |
|||
<a href="#"> |
|||
{{ .Pre }} |
|||
<span>{{ .Name }}</span> |
|||
</a> |
|||
</li> |
|||
<ul class="sub-menu"> |
|||
{{ range .Children }} |
|||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}"> |
|||
<a href="{{ .URL }}">{{ .Name }}</a> |
|||
</li> |
|||
{{ end }} |
|||
</ul> |
|||
{{ else }} |
|||
<li> |
|||
<a href="{{ .URL }}"> |
|||
{{ .Pre }} |
|||
<span>{{ .Name }}</span> |
|||
</a> |
|||
</li> |
|||
{{ end }} |
|||
{{ end }} |
|||
</ul> |
|||
{{- partial "navLang.html" . -}} |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</nav> |
@ -1 +1 @@ |
|||
Subproject commit b04c144d45ddd2390ae31d23af5b28f5c4366c29 |
|||
Subproject commit 2558598655fb0d797e526741f2082c8360c720a0 |
Loading…
Reference in new issue