Initial implementation of Codefund.io

This commit is contained in:
Rico Sta. Cruz 2018-03-29 12:21:30 +08:00
parent a06bd69d34
commit 841aa1bef9
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
7 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,4 @@
enabled: true enabled: false
token: "653d56e083fec2a9ae1b6c7cde4e5f5f" token: "653d56e083fec2a9ae1b6c7cde4e5f5f"
title: "Rollbar" title: "Rollbar"
description: "Real-time error monitoring, alerting, and analytics for developers 🚀" description: "Real-time error monitoring, alerting, and analytics for developers 🚀"

2
_data/codefund.yml Normal file
View File

@ -0,0 +1,2 @@
enable: true
token: "c2c8bc62-c275-4c7a-a304-74335c5a1cd0"

View File

@ -0,0 +1,4 @@
<aside class='codefund-sponsor' data-js-no-preview>
<script src='https://codesponsor.io/scripts/{{ site.data.codefund.token }}/embed.js?template=centered'></script>
<div id='codefund_ad'></div>
</aside>

View File

@ -36,6 +36,12 @@
{% include 2017/berry-sponsor.html %} {% include 2017/berry-sponsor.html %}
</div> </div>
{% endif %} {% endif %}
{% if site.data.codefund.enabled %}
<div class='adbox' role='complementary'>
{% include 2017/codefund.html %}
</div>
{% endif %}
</div> </div>
<div class='pages-list' role='main'> <div class='pages-list' role='main'>

View File

@ -19,6 +19,12 @@
</div> </div>
{% endif %} {% endif %}
{% if site.data.codefund.enabled %}
<div class='ad -codefund' role='complementary'>
{% include 2017/codefund.html %}
</div>
{% endif %}
{% if site.data.carbon.enabled %} {% if site.data.carbon.enabled %}
<div class='HeadlineAd ad -carbon' role='complementary'> <div class='HeadlineAd ad -carbon' role='complementary'>
<script async src='{{ site.data.carbon.src }}' id="_carbonads_js"></script> <script async src='{{ site.data.carbon.src }}' id="_carbonads_js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long