{#- The page actions of Material for MkDocs (`partials/actions.html`), with an additional button to download notebook pages (see the `notebooks` option). -#} {% if page.file.src_uri.endswith(".ipynb") %} {% 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 %}