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:
|
module:
|
||||||
hugoVersion:
|
hugoVersion:
|
||||||
extended: true
|
extended: true
|
||||||
min: 0.115.1
|
min: 0.137.0
|
||||||
|
|
||||||
frontmatter:
|
frontmatter:
|
||||||
date:
|
date:
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</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 := . -}}
|
{{- $currentPage := . -}}
|
||||||
{{ range .Site.Menus.main }}
|
{{ range .Site.Menus.main }}
|
||||||
{{- $current := or ($currentPage.IsMenuCurrent "main" .)
|
{{- $current := or ($currentPage.IsMenuCurrent "main" .)
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
{{- $page = .page -}}
|
{{- $page = .page -}}
|
||||||
{{- with .btext -}}{{- $btext = printf " (%s)" . -}}{{- end -}}
|
{{- with .btext -}}{{- $btext = printf " (%s)" . -}}{{- end -}}
|
||||||
{{- $btitle = .btitle -}}
|
{{- $btitle = .btitle -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $btitle = $page.Summary -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if ne $anchor "" -}}
|
{{- if ne $anchor "" -}}
|
||||||
{{- $url = printf "%s#%v" $page.Permalink $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"
|
homepage = "https://www.cyberconcepts.org"
|
||||||
tags = ["bootstrap", "docs", "light", "cards", "responsive", "jekyll", "blog"]
|
tags = ["bootstrap", "docs", "light", "cards", "responsive", "jekyll", "blog"]
|
||||||
features = []
|
features = []
|
||||||
min_version = "0.91.2"
|
min_version = "0.137.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "cyberconcepts.org team"
|
name = "cyberconcepts.org team"
|
||||||
|
|
Loading…
Add table
Reference in a new issue