update bootstrap JS; fix menu; improve related links
This commit is contained in:
parent
37e0403772
commit
46dec4788f
6 changed files with 9 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
module:
|
||||
hugoVersion:
|
||||
extended: true
|
||||
min: 0.115.1
|
||||
min: 0.137.0
|
||||
|
||||
frontmatter:
|
||||
date:
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<ul class="nav navbar-nav navbar-collapse collapse justify-content-end" id="cs-navbar">
|
||||
<ul class="nav navbar-nav navbar-collapse collapse justify-content-end" id="navbar1">
|
||||
{{- $currentPage := . -}}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{- $current := or ($currentPage.IsMenuCurrent "main" .)
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
{{- $page = .page -}}
|
||||
{{- with .btext -}}{{- $btext = printf " (%s)" . -}}{{- end -}}
|
||||
{{- $btitle = .btitle -}}
|
||||
{{- else -}}
|
||||
{{- $btitle = $page.Summary -}}
|
||||
{{- end -}}
|
||||
{{- if ne $anchor "" -}}
|
||||
{{- $url = printf "%s#%v" $page.Permalink $anchor -}}
|
||||
|
|
6
static/js/bootstrap.bundle.min.js
vendored
6
static/js/bootstrap.bundle.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ description = "A bootstrap based minimal hugo theme based on Hugo cards and webj
|
|||
homepage = "https://www.cyberconcepts.org"
|
||||
tags = ["bootstrap", "docs", "light", "cards", "responsive", "jekyll", "blog"]
|
||||
features = []
|
||||
min_version = "0.91.2"
|
||||
min_version = "0.137.0"
|
||||
|
||||
[author]
|
||||
name = "cyberconcepts.org team"
|
||||
|
|
Loading…
Add table
Reference in a new issue