Commit 246e639a authored by Roger Sanders's avatar Roger Sanders

Further attempted fix for home option on contents page

parent a1f5007f
Pipeline #24455321 passed with stage
in 1 minute and 13 seconds
<li class="tocEntry">
{% if include.entry.childlist[0] %}
{% if include.entry.url == '/' %}
<a class="tocGroupHeaderWithLink" href="{{ site.url }}" target="_top">{{ include.entry.title }}</a>
{% else %}
{% if include.entry.url %}
<a class="tocGroupHeaderWithLink" href="{{ site.baseurl }}" target="_top">{{ include.entry.title }}</a>
{% elsif include.entry.url %}
<a class="tocGroupHeaderWithLink" href="{{ include.entry.url }}" target="_top">{{ include.entry.title }}</a>
{% else %}
{% else %}
<span class="tocGroupHeaderNoLink">{{ include.entry.title }}</span>
{% endif %}
{% endif %}
<ul class="tocGroupChildList">
{% for childEntry in include.entry.childlist %}
......@@ -15,7 +13,9 @@
{% endfor %}
</ul>
{% else %}
{% if include.entry.url %}
{% if include.entry.url == '/' %}
<a class="tocEntryWithLink" href="{{ site.baseurl }}" target="_top">{{ include.entry.title }}</a>
{% elsif include.entry.url %}
<a class="tocEntryWithLink" href="{{ include.entry.url }}" target="_top">{{ include.entry.title }}</a>
{% else %}
<span class="tocEntryNoLink">{{ include.entry.title }}</span>
......
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