Skip to content

Commit

Permalink
fix: remove next/previous text from blog footer
Browse files Browse the repository at this point in the history
  • Loading branch information
prushh committed Oct 21, 2024
1 parent 5585e64 commit 11f15bc
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions overrides/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
{% include ".icons/material/arrow-left.svg" %}
</div>
<div class="md-footer__title">
<span class="md-footer__direction">
{{ lang.t("footer.previous") }}
</span>
{% if "blog" not in config.config_file_path %}
<span class="md-footer__direction">
{{ lang.t("footer.previous") }}
</span>
{% endif %}
<div class="md-ellipsis">
{{ page.previous_page.title }}
</div>
Expand All @@ -42,9 +44,11 @@
rel="next"
>
<div class="md-footer__title">
<span class="md-footer__direction">
{{ lang.t("footer.next") }}
</span>
{% if "blog" not in config.config_file_path %}
<span class="md-footer__direction">
{{ lang.t("footer.next") }}
</span>
{% endif %}
<div class="md-ellipsis">
{{ page.next_page.title }}
</div>
Expand Down

0 comments on commit 11f15bc

Please sign in to comment.