2022-09-03 21:33:49 +02:00
|
|
|
{#-
|
|
|
|
This file was automatically generated - do not edit
|
|
|
|
-#}
|
|
|
|
{% if page.edit_url %}
|
2022-12-11 18:32:22 +01:00
|
|
|
{% if "content.action.edit" in features %}
|
|
|
|
<a href="{{ page.edit_url }}" title="{{ lang.t('action.edit') }}" class="md-content__button md-icon">
|
|
|
|
{% set icon = config.theme.icon.edit or "material/file-edit-outline" %}
|
|
|
|
{% include ".icons/" ~ icon ~ ".svg" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% if "content.action.view" in features %}
|
2023-01-05 22:59:56 +01:00
|
|
|
{% if "/blob/" in page.edit_url %}
|
|
|
|
{% set part = "blob" %}
|
|
|
|
{% else %}
|
|
|
|
{% set part = "edit" %}
|
|
|
|
{% endif %}
|
|
|
|
<a href="{{ page.edit_url | replace(part, 'raw') }}" title="{{ lang.t('action.view') }}" class="md-content__button md-icon">
|
2022-12-11 18:32:22 +01:00
|
|
|
{% set icon = config.theme.icon.view or "material/file-eye-outline" %}
|
|
|
|
{% include ".icons/" ~ icon ~ ".svg" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2022-09-03 21:33:49 +02:00
|
|
|
{% endif %}
|