From cd53f5ae48dab5b74edcd9442c0550f556afdc0c Mon Sep 17 00:00:00 2001 From: Wai Yan Hein Date: Fri, 3 Apr 2020 22:50:26 +0100 Subject: [PATCH] Ability to set the defaul page social image to be used when the image is missing from the individual page --- .idea/Silverstripe-SEO.iml | 11 + .idea/misc.xml | 6 + .idea/modules.xml | 8 + .idea/vcs.xml | 6 + .idea/workspace.xml | 222 ++++++++++++++++++ .../Extension/SeoPageControllerExtension.php | 27 ++- src/Model/Extension/SeoPageExtension.php | 205 ++++------------ templates/HeadTags.ss | 155 ++++++------ 8 files changed, 399 insertions(+), 241 deletions(-) create mode 100644 .idea/Silverstripe-SEO.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/Silverstripe-SEO.iml b/.idea/Silverstripe-SEO.iml new file mode 100644 index 0000000..c9fabd8 --- /dev/null +++ b/.idea/Silverstripe-SEO.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..28a804d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e1e1c0b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..7fb5018 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,222 @@ + + + + + + + + + + + $PROJECT_DIR$/composer.json + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +