altered how URLs are input
This commit is contained in:
parent
f23b215666
commit
6dc1410312
2 changed files with 8 additions and 8 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# Navigation to the left › side: left
|
||||
#
|
||||
- title: "Home"
|
||||
url: "/"
|
||||
url: "http://engys.github.io/HELYX-OS/"
|
||||
side: left
|
||||
|
||||
- title: "Quick Links"
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
- title: "About HELYX-OS"
|
||||
url: "http://engys.com/products/helyx-os"
|
||||
- title: "Installation"
|
||||
url: "/installation/"
|
||||
url: "http://engys.github.io/HELYX-OS/installation/"
|
||||
- title: "Training and Support"
|
||||
url: "http://engys.com/services/support"
|
||||
- title: "HELYX-OS on Github"
|
||||
|
|
|
|||
|
|
@ -35,14 +35,14 @@
|
|||
{% comment %} If right side WITHOUT dropdown menu do {% endcomment %}
|
||||
{% if link.dropdown == nil %}
|
||||
<li class="divider"></li>
|
||||
<li{% if link.url == page.url %} class="active"{% endif %}><a href="{{ domain }}{{ site.baseurl }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a></li>
|
||||
<li{% if link.url == page.url %} class="active"{% endif %}><a href="{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a></li>
|
||||
|
||||
{% comment %} If right side WITH dropdown menu do {% endcomment %}
|
||||
{% else %}
|
||||
|
||||
<li class="divider"></li>
|
||||
<li class="has-dropdown{% if link.url == page.url %} active{% endif %}">
|
||||
<a href="{{ domain }}{{ site.baseurl }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a>
|
||||
<a href="{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a>
|
||||
|
||||
<ul class="dropdown">
|
||||
{% for dropdown_link in link.dropdown %}
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
{% assign domain = site.url %}
|
||||
{% endif %}
|
||||
|
||||
<li><a href="{{ domain }}{{ site.baseurl }}{{ dropdown_link.url }}"{% if dropdown_link.url contains 'http' %} target="_blank"{% endif %}>{{ dropdown_link.title | escape }}</a></li>
|
||||
<li><a href="{{ dropdown_link.url }}"{% if dropdown_link.url contains 'http' %} target="_blank"{% endif %}>{{ dropdown_link.title | escape }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
|
@ -89,14 +89,14 @@
|
|||
|
||||
{% comment %} If left side WITHOUT dropdown menu do {% endcomment %}
|
||||
{% if link.dropdown == nil %}
|
||||
<li{% if link.url == page.url %} class="active"{% endif %}><a href="{{ domain }}{{ site.baseurl }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a></li>
|
||||
<li{% if link.url == page.url %} class="active"{% endif %}><a href="{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a></li>
|
||||
<li class="divider"></li>
|
||||
|
||||
{% comment %} If left side WITH dropdown menu do {% endcomment %}
|
||||
{% else %}
|
||||
|
||||
<li class="has-dropdown{% if link.url == page.url %} active{% endif %}">
|
||||
<a href="{{ domain }}{{ site.baseurl }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a>
|
||||
<a href="{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title | escape }}</a>
|
||||
|
||||
<ul class="dropdown">
|
||||
{% for dropdown_link in link.dropdown %}
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
{% assign domain = site.url %}
|
||||
{% endif %}
|
||||
|
||||
<li><a href="{{ domain }}{{ site.baseurl }}{{ dropdown_link.url }}"{% if dropdown_link.url contains 'http' %} target="_blank"{% endif %}>{{ dropdown_link.title | escape }}</a></li>
|
||||
<li><a href="{{ dropdown_link.url }}"{% if dropdown_link.url contains 'http' %} target="_blank"{% endif %}>{{ dropdown_link.title | escape }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
Reference in a new issue