Skip to content

Commit

Permalink
add back deprecated navbar-type class in case user has bslib <0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 authored Dec 21, 2023
1 parent 8a2ff7e commit 99d9942
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-expand-lg bg-{{{bg}}}" data-bs-theme="{{{type}}}">
<nav class="navbar fixed-top navbar-{{{type}}} 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 99d9942

Please sign in to comment.