diff --git a/blog/hugolayout.md b/blog/hugolayout.md index 5485db6..fc48ced 100644 --- a/blog/hugolayout.md +++ b/blog/hugolayout.md @@ -899,3 +899,31 @@ Hugo ships with internal templates for common metadata for sites: + +If using bootstrap and you want to apply the class `active` to a navbar item when it has been selected, you should add the following to the navbar: + +```Hugo +