Skip to content

Commit feef8cd

Browse files
committed
Fixed view source button link
1 parent 1287ce8 commit feef8cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

material/partials/actions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</a>
1010
{% endif %}
1111
{% if "content.action.view" in features %}
12-
<a href="{{ page.edit_url | replace(edit, view) }}" title="{{ lang.t('action.view') }}" class="md-content__button md-icon">
12+
<a href="{{ page.edit_url | replace('edit', 'raw') }}" title="{{ lang.t('action.view') }}" class="md-content__button md-icon">
1313
{% set icon = config.theme.icon.view or "material/file-eye-outline" %}
1414
{% include ".icons/" ~ icon ~ ".svg" %}
1515
</a>

src/partials/actions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<!-- View button -->
3939
{% if "content.action.view" in features %}
4040
<a
41-
href="{{ page.edit_url | replace(edit, view) }}"
41+
href="{{ page.edit_url | replace('edit', 'raw') }}"
4242
title="{{ lang.t('action.view') }}"
4343
class="md-content__button md-icon"
4444
>

0 commit comments

Comments
 (0)