Skip to content

Commit

Permalink
Fixed links.
Browse files Browse the repository at this point in the history
  • Loading branch information
NonExistPlayer committed Jan 12, 2025
1 parent 4adc622 commit 74252f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _includes/header-ru.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.path contains 'ru/' and my_page.path != 'ru/index.md' -%}
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
<a class="page-link" href="/EclairPlayer/{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{%- endif -%}
{%- endfor -%}
<hr style="border: none; background-color: #000; width: 1px; height: 20px; margin: 0 auto;" />
<a class="page-link" href="{{ site.url }}/{{ page.dir | remove: 'ru/'}}">
<a class="page-link" href="{{ site.url }}/EclairPlayer/{{ page.dir | remove: 'ru/'}}">
English</a>
</div>
</nav>
Expand Down
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
</label>

<div class="trigger">
<a class="page-link" href="/about/">
<a class="page-link" href="/EclairPlayer/about/">
About</a>
<hr style="border: none; background-color: #000; width: 1px; height: 20px; margin: 0 auto;" />
<a class="page-link" href="/ru/{{ page.dir }}">
<a class="page-link" href="/EclairPlayer/ru/{{ page.dir }}">
Русский</a>
</div>
</nav>
Expand Down

0 comments on commit 74252f9

Please sign in to comment.