update bootstrap JS; fix menu; improve related links

This commit is contained in:
Helmut Merz 2024-11-08 12:28:35 +01:00
parent 37e0403772
commit 46dec4788f
6 changed files with 9 additions and 7 deletions

View file

@ -3,7 +3,7 @@
module: module:
hugoVersion: hugoVersion:
extended: true extended: true
min: 0.115.1 min: 0.137.0
frontmatter: frontmatter:
date: date:

View file

@ -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" .)

View file

@ -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 -}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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"