mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-22 21:22:54 +02:00
Fix menu links for "welcome" anchors.
In the `index.html`, `{{ welcome_content |markdownify }}` generates name attributes for header tags like "my-title", whereas `{{ post.content }}` generates name attributes like "my_title". This fixes the links for only the welcome menu items so that the anchors in the menu match the different name format.
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
<li><a href="/#site-header">Welcome</a>
|
||||
<ul>
|
||||
<li><a href="/#translations">Translations</a></li>
|
||||
<li><a href="/#how_to_contribute">How to Contribute</a></li>
|
||||
<li><a href="/#spread_the_word">Spread the Word!</a></li>
|
||||
<li><a href="/#how-to-contribute">How to Contribute</a></li>
|
||||
<li><a href="/#spread-the-word">Spread the Word!</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{% assign lastIsChild = false %}
|
||||
|
Reference in New Issue
Block a user