mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-15 10:13:58 +02:00
fixed menu links when viewing from the banners page
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
{% for post in site.posts reversed %}
|
{% for post in site.posts reversed %}
|
||||||
{% if post.isChild and lastIsChild != true %}<ul>{% endif %}
|
{% if post.isChild and lastIsChild != true %}<ul>{% endif %}
|
||||||
{% if lastIsChild and post.isChild != true %}</ul>{% endif %}
|
{% if lastIsChild and post.isChild != true %}</ul>{% endif %}
|
||||||
<li><a href="#{{ post.title | downcase | replace:' ','_' | replace:'(','' | replace:')','' | replace:'.','' | replace:'-','' }}">{{ post.title }}</a>
|
<li><a href="/#{{ post.title | downcase | replace:' ','_' | replace:'(','' | replace:')','' | replace:'.','' | replace:'-','' }}">{{ post.title }}</a>
|
||||||
{% assign lastIsChild = post.isChild %}
|
{% assign lastIsChild = post.isChild %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
Reference in New Issue
Block a user