Skip to content

Commit

Permalink
Add Versions item to menus.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreAngelantoni committed Oct 31, 2024
1 parent 6277890 commit fb7065a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ params:
repo: "https://github.com/twbs/blog"
twitter: "getbootstrap"
blog: "https://blog.getbootstrap.com/"
versions: "https://getbootstrap.com/docs/versions/"
icons: "https://icons.getbootstrap.com/"
themes: "https://themes.getbootstrap.com/"
opencollective: "https://opencollective.com/bootstrap"
Expand Down
1 change: 1 addition & 0 deletions src/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ <h5>Links</h5>
<li class="mb-2"><a href="{{ .Site.Params.icons }}">Icons</a></li>
<li class="mb-2"><a href="{{ .Site.Params.themes }}">Themes</a></li>
<li class="mb-2"><a href="/">Blog</a></li>
<li class="mb-2"><a href="{{ .Site.Params.versions }}">Versions</a></li>
<li class="mb-2"><a href="{{ .Site.Params.swag }}" target="_blank" rel="noopener">Swag Store</a></li>
</ul>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ <h5 class="offcanvas-title text-white" id="bdNavbarOffcanvasLabel">Bootstrap</h5
<li class="nav-item col-6 col-lg-auto">
<a class="nav-link py-2 px-0 px-lg-2 active" href="/">Blog</a>
</li>
<li class="nav-item col-6 col-lg-auto">
<a class="nav-link py-2 px-0 px-lg-2" href="{{ .Site.Params.versions }}" target="_blank" rel="noopener">Versions</a>
</li>
</ul>

<hr class="d-lg-none text-white-50">
Expand Down

0 comments on commit fb7065a

Please sign in to comment.