Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuShuangqi <devysq@gmail.com>2019-01-20 15:23:33 +0300
committerChen Xianmin <xianmin12@gmail.com>2019-01-20 15:23:33 +0300
commit1e01a2b9101434890cff0e00e4d499707561ca47 (patch)
tree612a1a12386ac1f39fd4ebcfdad2eb34b04bd4a4
parent8acf998636ce0a0d3060a570dd199aaf6be76882 (diff)
fix: intercepted by Adblock (#167)
change bottom social class name <social-links> to <icon-links>
-rw-r--r--assets/sass/_partial/_footer/_social.scss3
-rw-r--r--layouts/partials/footer.html4
2 files changed, 4 insertions, 3 deletions
diff --git a/assets/sass/_partial/_footer/_social.scss b/assets/sass/_partial/_footer/_social.scss
index 756316d..b763345 100644
--- a/assets/sass/_partial/_footer/_social.scss
+++ b/assets/sass/_partial/_footer/_social.scss
@@ -2,7 +2,8 @@
// Social
// =============================
-.social-links {
+// donot use social-links keyword,Otherwise it will be intercepted by Adblock.
+.icon-links {
display: flex;
justify-content: center;
align-items: center;
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 926365b..9503f47 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
-<div class="social-links">
- {{ partial "social_links.html" . }}
+<div class="icon-links">
+ {{ partial "social_links.html" . }}
</div>
<div class="copyright">