Skip to content

Commit

Permalink
add relative url
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed May 16, 2024
1 parent 3812fc6 commit 5581e92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/features_sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2 class="title-1x">Features</h2>
<ul style="list-style: none; text-decoration: none; display: flex; flex-direction:column; gap: 5px; align-items: flex-end;">
{% for item in site.data.sidebar.children %}
<li style="margin-right: 2rem;"><button type="button"><a href="{{ item.url }}"
<li style="margin-right: 2rem;"><button type="button"><a href="{{ item.url | relative_url }}"
style="text-decoration: none; color: white;">{{ item.title }}</a></button></li>
{% endfor %}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>

<div class="page__footer-copyright">
<p class="made-by">2024 PokeCode. Made and maintained with ❤️ by</p><a href="https://pokecode.net/" target="_blank"><img src="/assets/images/logo_PokeCode.png" alt="Pokecode logo image" width="100"></a>
<p class="made-by">2024 PokeCode. Made and maintained with ❤️ by</p><a href="https://pokecode.net/" target="_blank"><img src="{{ /assets/images/logo_PokeCode.png | relative_url }}" alt="Pokecode logo image" width="100"></a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{%- include header.html -%}

<img src="/assets/images/pexels-apasaric.jpg" alt="Imagen de prueba" style="height: 500px; object-fit: cover; object-position: center;">
<img src="{{ /assets/images/pexels-apasaric.jpg | relative_url }}" alt="Imagen de prueba" style="height: 500px; object-fit: cover; object-position: center;">
<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
Expand Down

0 comments on commit 5581e92

Please sign in to comment.