add missing bootstrap file; minor fixes
This commit is contained in:
parent
6d9c9e73db
commit
5536a35a37
3 changed files with 13 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Hugo Aguirre
|
||||
Copyright (c) 2021 cyberconcepts.org team (team@cyberconcepts.org)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
<a class="navbar-brand" href="{{ .Site.BaseURL }}"><img src="{{.Site.BaseURL}}img/{{.Site.Params.logo}}" alt="{{.Site.Title}}"></a>
|
||||
|
||||
{{ with .Site.Params.Headline -}}
|
||||
{{- with .Site.Params.Headline -}}
|
||||
<h3 class="text text-muted navbar-collapse justify-content-center">{{ . }}</h3>
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
<button class="navbar-toggler"
|
||||
type="button" data-toggle="collapse"
|
||||
|
@ -14,15 +14,15 @@
|
|||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<ul class="nav navbar-nav navbar-collapse justify-content-end"
|
||||
id="navbar1">
|
||||
{{ $currentPage := . }}
|
||||
<ul class="nav navbar-nav navbar-collapse justify-content-end" id="navbar1">
|
||||
{{- $currentPage := . -}}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="nav-item">
|
||||
<a href="{{ .URL }}"
|
||||
class="nav-link{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}"
|
||||
title="{{ .Title }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
<li class="nav-item">
|
||||
<a href="{{ .URL }}"
|
||||
class="nav-link{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}"
|
||||
title="{{ .Title }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
|
||||
</nav>
|
||||
|
|
1
static/js/bootstrap.min.js.map
Normal file
1
static/js/bootstrap.min.js.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue