diff --git a/blueprints/blog.yaml b/blueprints/blog.yaml index bce8db0..f18c217 100644 --- a/blueprints/blog.yaml +++ b/blueprints/blog.yaml @@ -31,7 +31,8 @@ form: fields: content_title: - type: spacer + type: section + underline: true title: FUTURE.ADMIN.BLOG.BLOG_CONTENT_TITLE header.content.items: @@ -104,3 +105,27 @@ form: 0: PLUGIN_ADMIN.DISABLED validate: type: bool + + shareicons_title: + type: section + underline: true + title: FUTURE.ADMIN.BLOG.BLOG_CONTENT_SHAREICONS_TITLE + + header.shareicons: + type: checkboxes + style: vertical + label: FUTURE.ADMIN.BLOG.BLOG_CONTENT_SHAREICONS + help: FUTURE.ADMIN.BLOG.BLOG_CONTENT_SHAREICONS_HELP + default: + facebook: true + twitter: true + whatsapp: true + telegram: true + options: + facebook: Facebook + twitter: Twitter + whatsapp: Whatsapp + telegram: Telegram + use: keys + + diff --git a/templates/partials/blog_item.html.twig b/templates/partials/blog_item.html.twig index e7072e9..1a26777 100644 --- a/templates/partials/blog_item.html.twig +++ b/templates/partials/blog_item.html.twig @@ -92,14 +92,25 @@ {% endif %} + {% if page.taxonomy.tag %}