{#- Copy of partials/actions.html from mkdocs-material 9.7.6 with one change: a download button on notebook pages (mkdocs-jupyter with include_source: true sets page.nb_url). Original in saezverse: guidelines/docs-theme/overrides/partials/actions.html -#} {% if page.nb_url %} {% include ".icons/material/download.svg" %} {% endif %} {% if page.edit_url %} {% if "content.action.edit" in features %} {% set icon = config.theme.icon.edit or "material/file-edit-outline" %} {% include ".icons/" ~ icon ~ ".svg" %} {% endif %} {% if "content.action.view" in features %} {% if "/blob/" in page.edit_url %} {% set part = "blob" %} {% else %} {% set part = "edit" %} {% endif %} {% set icon = config.theme.icon.view or "material/file-eye-outline" %} {% include ".icons/" ~ icon ~ ".svg" %} {% endif %} {% endif %}