Skip to content
Discussion options

You must be logged in to vote

Yes, you could override the actions partial and adjust the URLs manually, specifically here:

<!-- View button -->
{% if "content.action.view" in features %}
<a
href="{{ page.edit_url | replace('edit', 'raw') }}"
title="{{ lang.t('action.view') }}"
class="md-content__button md-icon"
>
{% set icon = config.theme.icon.view or "material/file-eye-outline" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</a>
{% endif %}

Read our customization guide to learn how to override partials.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@MagicLike
Comment options

@squidfunk
Comment options

@MagicLike
Comment options

@squidfunk
Comment options

@MagicLike
Comment options

Answer selected by MagicLike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants