Skip to content

Commit

Permalink
bs5-navbar uses data-bs-theme="dark" instead of navbar-"dark"
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 authored Dec 21, 2023
1 parent 13d8d62 commit 8a2ff7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/BS5/templates/navbar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#navbar}}
<nav class="navbar fixed-top navbar-{{{type}}} navbar-expand-lg bg-{{{bg}}}">
<nav class="navbar fixed-top navbar-expand-lg bg-{{{bg}}}" data-bs-theme="{{{type}}}">
<div class="container">
{{#includes}}{{{before_title}}}{{/includes}}
<a class="navbar-brand me-2" href="{{#site}}{{root}}{{/site}}index.html">{{#site}}{{title}}{{/site}}</a>
Expand Down

0 comments on commit 8a2ff7e

Please sign in to comment.