remove analytics, scripts, emphasize RSS feed

This commit is contained in:
Ayo 2023-03-22 10:15:00 +01:00
parent 8bd60f5012
commit 6e0b664a4f
8 changed files with 35 additions and 217 deletions

View file

@ -19,7 +19,6 @@ author: Ayo Ayco
attribution: Ayo Ayco
attribution-url: "https://ayco.io"
bugreport_url: "https://github.com/fullhacker/blog/issues/new"
google_analytics: "UA-113797180-1"
website: blog.ayco.io
email: ramon.aycojr+blog@gmail.com
baseurl: "/" # the subpath of your site, e.g. /blog

View file

@ -1,20 +0,0 @@
{% if page.comments != false and jekyll.environment == "production" %}
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '{{ page.url | absolute_url }}';
this.page.identifier = '{{ page.url | absolute_url }}';
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{% endif %}

View file

@ -1,8 +0,0 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-113797180-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics }}');
</script>

View file

@ -10,20 +10,13 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="{{ page.title }}" />
<meta itemprop="description" content="{{ page.description }}" />
<meta
itemprop="image"
content="{{ '/assets/images/' | absolute_url }}{{ page.image }}.jpg"
/>
<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@ayoayco" />
<meta name="twitter:title" content="{{ page.title}}" />
<meta name="twitter:description" content="{{ page.description }}" />
<meta name="twitter:creator" content="@ayoayco_public" />
<!-- Twitter summary card with large image must be at least 280x150px -->
{% if page.image != '' %}
<meta
@ -44,7 +37,9 @@
{% else %}
<meta property="og:type" content="website" />
{% endif %}
<meta property="og:url" content="{{ page.url | absolute_url }}" />
{% if page.image != '' %}
<meta
property="og:image"
@ -53,9 +48,10 @@
{% else %}
<meta
property="og:image"
content="{{ '/assets/images/' | absolute_url }}jumbotron.jpg"
content="{{ '/assets/images/' | absolute_url }}ayo.png"
/>
{% endif %}
<meta property="og:image:alt" content="{{ page.description }}" />
<meta property="og:description" content="{{ page.description }}" />
<meta property="og:site_name" content="Ayo Ayco's Blog" />
@ -65,9 +61,12 @@
<meta property="article:section" content="Article Section" />
<meta property="article:tag" content="Article Tag" /-->
{% include google-analytics.html %}
<link rel="me" href="https://social.ayco.io/@ayo" />
<link rel="me" href="https://mastodon.ph/@ayo" />
<link rel="me" href="https://shrediverse.net/@ayo" />
<link rel="me" href="https://stop.voring.me/@ayo" />
<link rel="me" href="https://metapixl.com/@ayo" />
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}" />
<link
rel="alternate"
@ -80,11 +79,6 @@
type="text/css"
href="//fonts.googleapis.com/css?family=Lato"
/>
<link
href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css"
rel="stylesheet"
type="text/css"
/>
<link rel="shortcut icon" type="image/png" href="/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
@ -93,10 +87,4 @@
href="https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@900&display=swap"
rel="stylesheet"
/>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"
></script>
</head>

View file

@ -4,18 +4,6 @@
{% include head.html %}
<body>
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.12';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="site-container">
{% include header.html %}
@ -32,24 +20,9 @@
<img src="../assets/images/ayo.png" alt="{{ site.description }}" />
</div>
<h2>{{ site.description }}</h2>
<!--p>Learn how to use the best and latest web applications and technologies to boost your productivity.</p-->
<p>Want to give me a tip?</p>
<!--div class="post-readmore"><a target="_blank" class="button" href="https://docs.google.com/forms/d/e/1FAIpQLScinfuT_8-4q5Yk16nGUMxWxVpQgWZwyAaJ5oFY5_0NsRMjMw/viewform?usp=sf_link">Get FREE Consultation</a></div-->
</div>
<div class="side-panel side-panel-bottom" id="donate-form">
<!--form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="5JY6XQBB35E5E">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form-->
<!--form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="724PMTDRRFGVA" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_PH/i/scr/pixel.gif" width="1" height="1" />
</form-->
<div class="tip-jar">
<script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script>
<script type='text/javascript'>
@ -65,22 +38,6 @@
{% include footer.html %}
</div>
<!-- Default Statcounter code for Fullhacker.com
http://fullhacker.com -->
<script type="text/javascript">
var sc_project = 11689667;
var sc_invisible = 1;
var sc_security = "4710ea45";
</script>
<script type="text/javascript" src="https://www.statcounter.com/counter/counter.js" async></script>
<noscript><div class="statcounter"><a title="Web Analytics"
href="http://statcounter.com/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/11689667/0/4710ea45/1/" alt="Web
Analytics"></a></div></noscript>
<!-- End of Statcounter Code -->
</body>
</html>

View file

@ -62,74 +62,15 @@ layout: default
</div>
<div class="blog-post__after-content">
<div id="mc_embed_signup" class="float-left">
<form
action="https://github.us17.list-manage.com/subscribe/post?u=85102052c447ce8a8bba06f24&amp;id=2366f7f35a"
method="post"
id="mc-embedded-subscribe-form"
name="mc-embedded-subscribe-form"
class="validate"
target="_blank"
novalidate
>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL"
>Sign up to get {{ page.category }} posts like this and more.</label
>
<input
type="email"
value=""
name="EMAIL"
class="email"
id="mce-EMAIL"
placeholder="Enter your email address..."
required
/>
<div style="position: absolute; left: -5000px" aria-hidden="true">
<input
type="text"
name="b_85102052c447ce8a8bba06f24_2366f7f35a"
tabindex="-1"
value=""
/>
</div>
<div class="clear">
<input
type="submit"
value="Sign Up"
name="subscribe"
id="mc-embedded-subscribe"
class="button"
/>
</div>
<div class="subscription-message-div">
<div class="subscription-message-thumb float-left">
<img
src="../assets/images/ayo.png"
alt="Free exclusive web development tips!"
/>
</div>
<div class="subscription-message-text float-left">
<p>Cutting-edge productivity hacks for my subscribers.</p>
</div>
<div class="clear-both"></div>
</div>
</div>
</form>
<div id="rss-sign-up">
<span>
To get {{ page.category }} posts<br />
like this and more,<br />
subscribe to the blog's<br />
<a href={{'feed.xml' | relative_url}}>RSS feed</a>
</span>
</div>
</div>
<!--div class="blog-post__comment-section">
<h2>Thoughts? Post your comments here:</h2>
<div
class="fb-comments"
data-mobile="true"
data-href="{{site.url}}{{page.url}}"
data-numposts="5"
></div>
</div-->
{% if site.disqus.shortname %} {% include disqus_comments.html %} {% endif %}
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
</article>

View file

@ -175,18 +175,6 @@ caption {
width: 100%;
}
.blog-post__after-content,
.jumbotron {
#mc_embed_signup label {
text-align: center;
font-size: 36px;
color: #ffffff;
font-weight: bold;
margin: 0 0 20px 0;
/* text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1) !important; */
}
}
.categories-content,
.jumbotron-content {
margin: 0 auto;
@ -194,10 +182,6 @@ caption {
padding: 80px 0;
}
.jumbotron-content #mc_embed_signup {
width: 100%;
}
#about-me h2 {
font-size: 23px;
font-weight: bold;
@ -236,18 +220,6 @@ caption {
margin: 0 auto;
}
#mc_embed_signup input {
padding: 15px !important;
font-size: 16px !important;
font-weight: bold;
height: 60px !important;
border-radius: 5px !important;
}
#mc_embed_signup .button {
background-color: #ee4a03 !important;
}
.float-left {
float: left;
}
@ -522,8 +494,18 @@ table.image caption {
}
}
&__after-content {
#mc_embed_signup label {
color: rgba(141, 191, 66, 0.97) !important;
#rss-sign-up {
color: rgba(141, 191, 66, 0.97);
font-weight: bolder;
font-size: xx-large;
text-align: center;
border-top: 1px solid rgba(141, 191, 66, 0.97);
padding: 1rem;
margin: 1rem;
}
#rss-sign-up a {
text-decoration: underline;
}
}
}
@ -669,15 +651,7 @@ table.image caption {
background: rgba(141, 191, 66, 0.97) !important;
width: 100%;
}
#mc_embed_signup label {
padding: 0 20px;
}
#mc_embed_signup input {
width: 250px !important;
height: 50px !important;
padding: 10px !important;
margin-bottom: 5px !important;
}
.jumbotron-content {
width: calc(100% - 120px);
padding: 80px 60px;
@ -712,18 +686,11 @@ table.image caption {
.post-list li h3 a {
font-size: 31px;
}
#mc_embed_signup input {
margin: 0 20px !important;
width: calc(100% - 40px) !important;
height: 50px !important;
padding: 10px !important;
}
.jumbotron-content #logo-div {
width: 100%;
}
.jumbotron-content #mc_embed_signup {
width: 100%;
}
.jumbotron-content {
width: 100%;
}
@ -737,12 +704,6 @@ table.image caption {
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
#mc_embed_signup input {
width: 250px !important;
height: 50px !important;
padding: 10px !important;
margin-bottom: 5px !important;
}
.jumbotron-content {
width: calc(100% - 100px);
padding: 60px 50px;

View file

@ -62,11 +62,11 @@ When you click on links on our blog, they may direct you away from our site. We
To protect your personal information, we take reasonable precautions and follow industry best practices to make sure it is not inappropriately lost, misused, accessed, disclosed, altered or destroyed.
We do not have SSL on our website because we only gather personal information through third party providers such as MailChimp for email subscriptions and Google Analytics for tracking the website traffic.
We do not have SSL on our website because we don't gather personal information. As of 22th of March, 2023, we removed any form of tracking traffic on this blog.
### COOKIES
### COOKIES and ANALYTICS
Third party providers are using cookies to gather personal data through our website. This is for when you subscribe to our emails or news letters (MailChimp) and when you visit the website (Google Analytics).
We don't track analytics as of 22th of March, 2023. We also removed all JS that uses cookies.
----