Commit b8df0bee authored by Roger Sanders's avatar Roger Sanders

Added reliance on site.url for site root navigation for contents page

parent 246e639a
Pipeline #24455813 passed with stage
in 54 seconds
......@@ -18,6 +18,7 @@ description: >- # this means to ignore newlines
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
url: "http://testdocs.exodusemulator.com"
# Build settings
markdown: kramdown
......
<li class="tocEntry">
{% if include.entry.childlist[0] %}
{% if include.entry.url == '/' %}
<a class="tocGroupHeaderWithLink" href="{{ site.baseurl }}" target="_top">{{ include.entry.title }}</a>
<a class="tocGroupHeaderWithLink" href="{{ site.url }}" target="_top">{{ include.entry.title }}</a>
{% elsif include.entry.url %}
<a class="tocGroupHeaderWithLink" href="{{ include.entry.url }}" target="_top">{{ include.entry.title }}</a>
{% else %}
......@@ -14,7 +14,7 @@
</ul>
{% else %}
{% if include.entry.url == '/' %}
<a class="tocEntryWithLink" href="{{ site.baseurl }}" target="_top">{{ include.entry.title }}</a>
<a class="tocEntryWithLink" href="{{ site.url }}" target="_top">{{ include.entry.title }}</a>
{% elsif include.entry.url %}
<a class="tocEntryWithLink" href="{{ include.entry.url }}" target="_top">{{ include.entry.title }}</a>
{% else %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment