From 51f49de65c16f715d4c84a62eb9e5400b8ad0602 Mon Sep 17 00:00:00 2001 From: tymoteuszjozwiak Date: Thu, 25 May 2023 10:00:42 +0200 Subject: [PATCH] add attributes to share and profile buttons --- blueprints.yaml | 10 +++++++++- templates/index.html.twig | 2 +- templates/partials/share.html.twig | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/blueprints.yaml b/blueprints.yaml index 837e285..9e40b42 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -12,7 +12,7 @@ homepage: https://codeberg.org/tymoteuszjozwiak/paxover demo: https://jozwiak.top keywords: paxover bugs: https://codeberg.org/tymoteuszjozwiak/paxover/issues -license: CC BY-NC-SA +license: MIT dependencies: - { name: grav, version: ">=1.6.0" } @@ -95,6 +95,10 @@ form: type: text label: Class (e.g. btn-twitter) size: medium + .attributes: + type: text + label: Attributes (e.g. disabled) + size: medium .link: type: text label: Link @@ -131,6 +135,10 @@ form: type: text label: Class (e.g. btn-twitter) size: medium + .attributes: + type: text + label: Attributes (e.g. disabled) + size: medium .link: type: text label: Link diff --git a/templates/index.html.twig b/templates/index.html.twig index be4f47b..520b025 100644 --- a/templates/index.html.twig +++ b/templates/index.html.twig @@ -9,7 +9,7 @@
{% for button in theme_config.social_buttons %} - {{ button.name }} + {{ button.name }} {% endfor %}
diff --git a/templates/partials/share.html.twig b/templates/partials/share.html.twig index 72e2c09..438652b 100644 --- a/templates/partials/share.html.twig +++ b/templates/partials/share.html.twig @@ -2,7 +2,7 @@

{{ theme_config.blog.share|raw }}

\ No newline at end of file