From efb0730e641f575368e7e80fec80be16a03c95f4 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 15 Dec 2023 09:17:18 +0800 Subject: refactor(dir-tree): `material` -> `src/material` --- material/templates/partials/actions.html | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 material/templates/partials/actions.html (limited to 'material/templates/partials/actions.html') diff --git a/material/templates/partials/actions.html b/material/templates/partials/actions.html deleted file mode 100644 index 1031f151..00000000 --- a/material/templates/partials/actions.html +++ /dev/null @@ -1,22 +0,0 @@ -{#- - 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" %} - - {% endif %} -{% endif %} -- cgit v1.2.3-70-g09d2