Fix HTML attribute separation whitespace placement in the Navigation include code of Assets step of the Step by Step Tutorial (#9695)

Merge pull request 9695
This commit is contained in:
林博仁 Buo-ren Lin 2024-10-10 23:09:11 +08:00 committed by GitHub
parent 94192a3ab4
commit 8ba078f95d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ To do this, refer to the class (that you will configure in the next parts of thi
```liquid ```liquid
<nav> <nav>
{% for item in site.data.navigation %} {% for item in site.data.navigation %}
<a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a> <a href="{{ item.link }}"{% if page.url == item.link %} class="current"{% endif %}>{{ item.name }}</a>
{% endfor %} {% endfor %}
</nav> </nav>
``` ```