From 07b5e8bd5e4fe1805bbd265e42b1476961f723f4 Mon Sep 17 00:00:00 2001 From: blagoja Date: Thu, 31 Oct 2024 12:08:36 +0100 Subject: [PATCH] Remove social and follow button --- ckanext/alisea/templates/package/snippets/info.html | 3 +++ ckanext/alisea/templates/snippets/social.html | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 ckanext/alisea/templates/package/snippets/info.html create mode 100644 ckanext/alisea/templates/snippets/social.html diff --git a/ckanext/alisea/templates/package/snippets/info.html b/ckanext/alisea/templates/package/snippets/info.html new file mode 100644 index 0000000..fa1f2a2 --- /dev/null +++ b/ckanext/alisea/templates/package/snippets/info.html @@ -0,0 +1,3 @@ +{% block package_info %} +{# Removes the follow button and info #} +{% endblock %} \ No newline at end of file diff --git a/ckanext/alisea/templates/snippets/social.html b/ckanext/alisea/templates/snippets/social.html new file mode 100644 index 0000000..f638201 --- /dev/null +++ b/ckanext/alisea/templates/snippets/social.html @@ -0,0 +1,4 @@ +{% set current_url = h.full_current_url() %} +{% block social %} +{# Rmoves the facebook and twitter share #} +{% endblock %} \ No newline at end of file