From daa378d6964841d9a5c4bc39815d75c672117dea Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 15 Dec 2023 09:22:24 +0800 Subject: refactor(docs/src): delete `material` dir --- docs/src/templates/partials/actions.html | 42 ++++---------------------------- 1 file changed, 5 insertions(+), 37 deletions(-) (limited to 'docs/src/templates/partials/actions.html') diff --git a/docs/src/templates/partials/actions.html b/docs/src/templates/partials/actions.html index 75fcb8eb..1031f151 100644 --- a/docs/src/templates/partials/actions.html +++ b/docs/src/templates/partials/actions.html @@ -1,52 +1,20 @@ - - - +{#- + This file was automatically generated - do not edit +-#} {% 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" %} -- cgit v1.2.3-70-g09d2