diff options
Diffstat (limited to 'global/templates')
| -rw-r--r-- | global/templates/base.html.j2 | 6 | ||||
| -rw-r--r-- | global/templates/navbar.html.j2 | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/global/templates/base.html.j2 b/global/templates/base.html.j2 index 21530c7..caf9064 100644 --- a/global/templates/base.html.j2 +++ b/global/templates/base.html.j2 @@ -7,10 +7,10 @@ <meta property="og:title" content="{% block og_page_title %}{% endblock %}" /> <meta property="og:type" content="{% block og_type %}website{% endblock %}" /> <meta property="og:url" content="{{ url }}" /> -{% block head_extra %} <link rel="stylesheet" href="{{ site.assets_path_static }}/css/bootstrap-grid.min.css" />{% endblock %} +{% block head_extra %} <link rel="stylesheet" href="{{ site.assets_path_static }}/css/bootstrap-grid.min.css" /> + <link rel="stylesheet" href="{{ site.assets_path_static }}/css/navbar.css" />{% endblock %} </head> <body> -{% block body %}{% endblock %} +{% block body %}{% include 'navbar.html.j2' %}{% endblock %} </body> -<footer>{% block footer %}{% endblock %}</footer> </html> diff --git a/global/templates/navbar.html.j2 b/global/templates/navbar.html.j2 new file mode 100644 index 0000000..18d51cb --- /dev/null +++ b/global/templates/navbar.html.j2 @@ -0,0 +1,8 @@ +<div class="navbar_parent"> + <ul class="navbar"> + <li class="nav_button"><a href="{{ main.main_url }}">[index]</a></li> + <li class="nav_button"><a href="{{ blog.blog_url }}">[blog]</a></li> + <li class="nav_button"><a href="{{ comic.comic_url }}">[comic]</a></li> + <li class="nav_button"><a href="{{ codenames.codenames_url }}">[codenames]</a></li> + </ul> +</div>
\ No newline at end of file |
