Skip to content

Commit

Permalink
Update url path
Browse files Browse the repository at this point in the history
  • Loading branch information
chilensis committed Oct 11, 2024
1 parent 01a90a4 commit 3ec417e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _includes/dock.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<ul class="dock-list">
{% for nav in site.data.navigation %}
<li class="dock-list-item">
<a href="{{ nav.url }}" class="dock-link">
<img src="{{ nav.icon }}" alt="{{ nav.title }}" class="dock-img"/>
<a href="{{ nav.url | relative_url }}" class="dock-link">
<img src="{{ nav.icon | relative_url }}" alt="{{ nav.title | relative_url }}" class="dock-img"/>
{% if page.url == nav.url %}
<div class="dock-link-active"></div>
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ <h1>Code Style Guide</h1>
<ul class="p-code-list">
{% for nav in site.data.navigation %}
<li class="p-code-list-item">
<a href="{{ nav.url }}" class="p-code-button">
<img src="{{ nav.icon }}" alt="{{ nav.title }}"/>
<a href="{{ nav.url | relative_url }}" class="p-code-button">
<img src="{{ nav.icon | relative_url }}" alt="{{ nav.title | relative_url }}"/>
</a>
</li>
{% endfor %}
</ul>
<article class="p-git-release">
<img src="/assets/images/icons/git.svg" alt="Git"/>
<img src="{{ '/assets/images/icons/git.svg' | relative_url }}" alt="Git"/>
<p>
You can access the source Code with Git Repository.
</p>
Expand Down

0 comments on commit 3ec417e

Please sign in to comment.