mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-11 16:23:57 +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 %}
|
||||
{% if post.isChild and lastIsChild != 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 %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user