fix issue with double active menu
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
_data/api/*
|
||||
_data/nav_api.*
|
||||
_includes/menu.html
|
||||
_includes/menu_demo.html
|
||||
_includes/favicons.html
|
||||
_includes/footer.html
|
||||
_site
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
$ bundle install
|
||||
$ cp _config-local.sample.yml _config-local.yml
|
||||
$ curl http://beta.tinymce.com/_docs/menu.html > _includes/menu.html
|
||||
$ curl http://beta.tinymce.com/_docs/menu_demo.html > _includes/menu_demo.html
|
||||
$ curl http://beta.tinymce.com/_docs/footer.html > _includes/footer.html
|
||||
$ curl http://beta.tinymce.com/_docs/favicons.html > _includes/favicons.html
|
||||
$ echo [] > _data/nav_api.json
|
||||
|
||||
@@ -11,7 +11,11 @@
|
||||
{% include favicons.html %}
|
||||
</head>
|
||||
<body role="document" data-shared-baseurl="{{ site.shared_baseurl }}" data-baseurl="{{ site.baseurl }}">
|
||||
{% include menu.html %}
|
||||
{% if page.url contains '/demo/' %}
|
||||
{% include menu_demo.html %}
|
||||
{% else %}
|
||||
{% include menu.html %}
|
||||
{% endif %}
|
||||
|
||||
<div class="top-bar">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user