Skip to content

Commit 14f98f6

Browse files
authored
fixed the non-functional navbar on the index page (#76)
* fix: Fixed the non-functional navbar on the index page * refactor: Update navbar styling and spacing * Remove highlight.js initialization script * Update menu.html revert navbar styling
1 parent 13f0725 commit 14f98f6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

content/theme/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{% include "footer.html" %}
1717
</div>
1818
</main>
19-
<script>hljs.initHighlightingOnLoad();</script>
19+
{% include "post.html" %}
2020
</body>
2121
</html>
2222
{% endblock %}

content/theme/templates/menu.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<!-- nav bar -->
22
<nav class="navbar navbar-expand-lg navbar-light bg-info" aria-label="Fifth navbar example">
33
<div class="container-fluid">
4-
<a class="navbar-brand" href="/"><img src="https://apache.org/img/asf_logo.png" alt="The Apache Software Foundation" style="height: 42px;">
5-
<span style="position: relative; top: 5px; margin-left: 16px;">Tooling Initiative</span></a>
4+
<a class="navbar-brand" href="/">
5+
<img src="https://apache.org/img/asf_logo.png" alt="The Apache Software Foundation" style="height: 42px;">
6+
<span style="position: relative; top: 5px; margin-left: 10px;">Tooling Initiative</span>
7+
</a>
68
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarADP" aria-controls="navbarADP" aria-expanded="false" aria-label="Toggle navigation">
79
<span class="navbar-toggler-icon"></span>
810
</button>

0 commit comments

Comments
 (0)