try having the ad.html in the bottom after the actual content

This commit is contained in:
Aminda Suomalainen 2024-05-20 21:23:10 +03:00
parent c8c0e23fdb
commit 68f0c2d5a8
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
7 changed files with 9 additions and 7 deletions

2
_includes/ad.html vendored
View File

@ -1,4 +1,3 @@
<!--
<detect-missing-adblocker>
<span slot="title">Dear reader, you may be missing a content blocker! 🙀</span>
<span slot="message">
@ -13,4 +12,3 @@
<p><a href="https://en.m.wikipedia.org/wiki/Targeted_advertising#Disadvantages">Learn more!</a>
</span>
</detect-missing-adblocker>
-->

2
_includes/head.html vendored
View File

@ -32,8 +32,6 @@
<link rel="me" type="application/activity+json" href="https://mastodon.pirateparty.be/users/MikaelaPPFI" />
<!-- https://github.com/macdonst/detect-missing-adblocker -->
<!--
<script type="module" src="https://unpkg.com/detect-missing-adblocker@latest/dist/detect-missing-adblocker.js?module=true"></script>
<link rel="stylesheet" href="https://unpkg.com/detect-missing-adblocker@latest/nativeads.js.css">
-->
</head>

View File

@ -6,9 +6,9 @@
{% include header.html %}
<div class="page-content">
<div class="wrapper">{% include ad.html %} {{ content }}</div>
<div class="wrapper">{{ content }}</div>
</div>
{% include footer.html %}
{% include ad.html %} {% include footer.html %}
</body>
</html>

3
_layouts/index.html vendored
View File

@ -6,7 +6,8 @@
{% include header.html %}
<div class="page-content">
<div class="wrapper">{% include ad.html %} {{ content }}</div>
<div class="wrapper">{{ content }}</div>
</div>
{% include ad.html %}
</body>
</html>

1
_layouts/mini.html vendored
View File

@ -4,4 +4,5 @@
<body>
{{ content }}
</body>
{% include ad.html %}
</html>

2
_layouts/page.html vendored
View File

@ -8,3 +8,5 @@ layout: default
</header>
<article class="post-content">{{ content }}</article>
</div>
{% include ad.html %}

2
_layouts/post.html vendored
View File

@ -26,3 +26,5 @@ tags_content_temp %} {% endif %} {% endfor %} {% else %} {% assign tags_content
<p id="post-meta">{{ tags_content }}</p>
</article>
</div>
{% include ad.html %}