diff --git a/_config.yml b/_config.yml index f5e8c82..6b3313d 100644 --- a/_config.yml +++ b/_config.yml @@ -48,6 +48,6 @@ owner: plus: analytics: verify: - ad-client: - ad-slot: + ad-client: + ad-slot: bing-verify: \ No newline at end of file diff --git a/_includes/ad-footer.html b/_includes/ad-footer.html new file mode 100644 index 0000000..1628318 --- /dev/null +++ b/_includes/ad-footer.html @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/_includes/ad-sidebar.html b/_includes/ad-sidebar.html new file mode 100644 index 0000000..efc29d8 --- /dev/null +++ b/_includes/ad-sidebar.html @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html index d8d801c..806acc5 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,5 @@ +{% if site.owner.google.ad-client and site.owner.google.ad-slot %}{% include ad-footer.html %}{% endif %} + © {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by Jekyll using the So Simple Theme.
{% if site.owner.twitter %}{% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index b4b8f8c..f8a914a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -46,7 +46,9 @@ +1 - {% endif %} + + {% endif %} + {% if page.ads != false %}{% include ad-sidebar.html %}{% endif %}
{{ content }}