Skip to content

Commit 4ea704d

Browse files
authored
feat!: Adding ethical adverts to the site (#700)
* feat!: Adding ethical adverts to the site * feat!: Adding ethical adverts to the site
1 parent cd18541 commit 4ea704d

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

overrides/partials/content.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,25 @@ <h1>{{ page.title | d(config.site_name, true)}}</h1>
7272
{% if 'index.md' not in page.file.src_uri %}
7373

7474
<hr>
75-
Want to make this site better? Open a PR, <a href="https://www.buymeacoffee.com/userbradley">help fund hosting costs</a> or <a href="https://matrix.to/#/@bysd:breadnet.co.uk">message me on Matrix</a>
76-
<!-- If you found "<i>{{ page.title }}</i>" useful, <a href="https://www.buymeacoffee.com/userbradley">please let me know!</a> -->
75+
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
76+
77+
<!-- Show a text ad -->
78+
<div data-ea-publisher="breadnetcouk" data-ea-type="text"></div>
79+
80+
<!-- Show an image ad -->
81+
<div data-ea-publisher="breadnetcouk" data-ea-type="image"></div>
82+
7783
{% endif %}
78-
<!-- Source file information -->
84+
85+
7986
{% if page.meta and (
8087
page.meta.git_revision_date_localized or
8188
page.meta.revision_date
8289
) %}
8390
{% include "partials/source-file.html" %}
8491
{% endif %}
8592

93+
8694
<!-- Was this page helpful? -->
8795
{% include "partials/feedback.html" %}
8896

0 commit comments

Comments
 (0)