Skip to content

Commit

Permalink
Revert "adapt do breaking changes in newer bootstrap.js pulled in by …
Browse files Browse the repository at this point in the history
…current hugo and docsy."

This reverts commit 3d07aa5.
  • Loading branch information
gluap committed Feb 3, 2024
1 parent 9f3e952 commit 6fb44a0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
22 changes: 11 additions & 11 deletions content/_index.de.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@

<h2 class="display-4 mb-3">Überholabstandsmessung für Radfahrende</h2>
<p class="mb-5">Open Innovation, Open Source, Open Data, Open Science</p>
<div>
<a class="btn btn-lg btn-secondary me-3 mb-4" href="https://forum.openbikesensor.org" target="_blank" rel="noopener noreferrer nofollow">
<i class="fab fa-discourse me-1"></i> Forum

<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://forum.openbikesensor.org" target="_blank" rel="noopener noreferrer nofollow">
<i class="fab fa-discourse mr-1"></i> Forum
</a>

<a class="btn btn-lg btn-secondary me-3 mb-4" href="https://matrix.to/#/#openbikesensor:matrix.org" rel="noopener noreferrer nofollow">
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://matrix.to/#/#openbikesensor:matrix.org" rel="noopener noreferrer nofollow">
<img alt="Matrix logo" src="/icons/matrix favicon.svg" width="26pt" style="vertical-align:top" /> Matrix
</a>

<a class="btn btn-lg btn-secondary me-3 mb-4" href="https://github.com/openbikesensor" target="_blank" rel="noopener noreferrer nofollow">
<i class="fab fa-github me-1"></i> GitHub
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/openbikesensor" target="_blank" rel="noopener noreferrer nofollow">
<i class="fab fa-github mr-1"></i> GitHub
</a>

<a class="btn btn-lg btn-secondary me-3 mb-4" href="{{< relref "/docs" >}}">
<i class="fas fa-book-open me-1"></i> Dokumentation
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="{{< relref "/docs" >}}">
<i class="fas fa-book-open mr-1"></i> Dokumentation
</a>

<a class="btn btn-lg btn-secondary me-3 mb-4" href="#unterstuetzen" rel="noopener noreferrer nofollow">
<i class="fas fa-hand-holding-heart me-1"></i> Unterstützen
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="#unterstuetzen" rel="noopener noreferrer nofollow">
<i class="fas fa-hand-holding-heart mr-1"></i> Unterstützen
</a>
</div>

</div>
{{< /blocks/cover >}}

Expand Down
2 changes: 1 addition & 1 deletion layouts/faq/li.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if .IsNode }}
<h2 class="display-2 text-center my-5 fw-light">{{ .Title }}</h2>
<h2 class="display-2 text-center my-5 font-weight-light">{{ .Title }}</h2>
{{ .Content }}

<div class="row">
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<nav class="js-navbar-scroll navbar navbar-expand navbar-dark flex-column flex-md-row td-navbar">
{{ if not $large }}<div class="container">{{ end }}
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
<span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo }}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }}</span><span class="text-uppercase fw-bold">{{ .Site.Title }}</span>
<span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo }}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }}</span><span class="text-uppercase font-weight-bold">{{ .Site.Title }}</span>
</a>
<div class="td-navbar-nav-scroll ml-md-auto" id="main_navbar">
<ul class="navbar-nav mt-2 mt-lg-0">
{{ $p := . }}
{{ range .Site.Menus.main }}
<li class="nav-item ms-4 mb-2 mb-lg-0{{ if .HasChildren }} dropdown{{ end }}">
<li class="nav-item mr-4 mb-2 mb-lg-0{{ if .HasChildren }} dropdown{{ end }}">
{{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) }}
{{ with .Page }}
{{ $active = or $active ( $.IsDescendant .) }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/page-meta-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $gh_subdir := ($.Param "github_subdir") }}
{{ $gh_project_repo := ($.Param "github_project_repo") }}
{{ $gh_branch := (default "master" ($.Param "github_branch")) }}
<div class="td-page-meta ms-2 pb-1 pt-2 mb-0">
<div class="td-page-meta ml-2 pb-1 pt-2 mb-0">
{{ if $gh_repo }}
{{ $gh_repo_path := printf "%s/content/%s" $gh_branch $pathFormatted }}
{{ $editURL := printf "%s/edit/%s" $gh_repo $gh_repo_path }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/sidebar-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="content-mobile">
<form class="td-sidebar__search d-flex align-items-center">
{{ partial "search-input.html" . }}
<button class="btn btn-link td-sidebar__toggle d-md-none p-0 ms-3 fas fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
<button class="btn btn-link td-sidebar__toggle d-md-none p-0 ml-3 fas fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
</button>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/blocks/feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ <h4 class="h3">
{{ .Get "title" | markdownify }}
</h4>
<p class="mb-0">{{ .Inner }}</p>
{{ with .Get "url" }}<p class="mt-auto"><a href="{{ . }}" class="btn btn-outline-light">{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} <i class="fa fa-arrow-right ms-2"></i></a></p>{{ end }}
{{ with .Get "url" }}<p class="mt-auto"><a href="{{ . }}" class="btn btn-outline-light">{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }} <i class="fa fa-arrow-right ml-2"></i></a></p>{{ end }}
</div>

0 comments on commit 6fb44a0

Please sign in to comment.