Add blog to navbar and add container

This commit is contained in:
Raghavendra Kamath
2018-04-17 14:27:26 +05:30
parent 29d5e40f7a
commit ea7bb60247
2 changed files with 3 additions and 3 deletions

View File

@@ -39,9 +39,9 @@ home_page = "index"
template_apps = ['foundation', 'erpnext', 'frappe'] template_apps = ['foundation', 'erpnext', 'frappe']
website_context = { website_context = {
# "navbar_search": 1, # "navbar_search": 1,
"brand_html": "<img class='d-inline-block align-top' width='30px' height='30px' src='/assets/foundation/img/erpnext-logo.svg' alt='Oensource ERP Software'/>ERPNext.org", "brand_html": "<img class='mr-1 d-inline-block align-top' width='30px' height='30px' src='/assets/foundation/img/erpnext-logo.svg' alt='Oensource ERP Software'/>ERPNext.org",
"top_bar_items": [ "top_bar_items": [
{"label": "blog", "url": "/blog", "right":1}, {"label": "Blog", "url": "/blog", "right":1},
{"label": "Foundation", "child_items":[ {"label": "Foundation", "child_items":[
{"label": "Chapter", "url": "/chapters","right": 1}, {"label": "Chapter", "url": "/chapters","right": 1},
{"label": "Foundation Fellow", "url": "/foundation-fellow","right": 1} {"label": "Foundation Fellow", "url": "/foundation-fellow","right": 1}

View File

@@ -35,7 +35,7 @@
</script> </script>
</head> </head>
<body data-path="{{ path }}"> <body data-path="{{ path }}">
<div class="wrapper"> <div class="container">
{%- block navbar -%}{% include "templates/includes/navbar/navbar.html" %}{%- endblock -%} {%- block navbar -%}{% include "templates/includes/navbar/navbar.html" %}{%- endblock -%}
{% block content %} {% block content %}
{{ content }} {{ content }}