Add support for the Internet Defense League code
diff --git a/templates/modules/analytics.html b/templates/modules/analytics.html
new file mode 100644
index 0000000..d90476e
--- /dev/null
+++ b/templates/modules/analytics.html
@@ -0,0 +1,13 @@
+{% if GOOGLE_ANALYTICS %}
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+</script>
+{% endif %}
diff --git a/templates/modules/idl.html b/templates/modules/idl.html
new file mode 100644
index 0000000..611cb42
--- /dev/null
+++ b/templates/modules/idl.html
@@ -0,0 +1,13 @@
+{% if INTERNET_DEFENSE_LEAGUE %}
+<script type="text/javascript">
+ window._idl = {};
+ _idl.variant = "banner";
+ (function() {
+ var idl = document.createElement('script');
+ idl.type = 'text/javascript';
+ idl.async = true;
+ idl.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'members.internetdefenseleague.org/include/?url=' + (_idl.url || '') + '&campaign=' + (_idl.campaign || '') + '&variant=' + (_idl.variant || 'banner');
+ document.getElementsByTagName('body')[0].appendChild(idl);
+ })();
+</script>
+{% endif %}
diff --git a/templates/modules/pagination.html b/templates/modules/pagination.html
new file mode 100644
index 0000000..6f20b0f
--- /dev/null
+++ b/templates/modules/pagination.html
@@ -0,0 +1,15 @@
+{% if DEFAULT_PAGINATION %}
+<p id="paginator">
+{% if articles_page.has_next() %}
+<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html" class="button_accent">← Older Posts</a>
+{% endif %}
+
+{% if articles_page.has_previous() %}
+{% if articles_page.previous_page_number() == 1 %}
+<a href="{{ SITEURL }}/{{ page_name }}.html" class="button_accent">Newer Posts →</a>
+{% else %}
+<a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html" class="button_accent">Newer Posts →</a>
+{% endif %}
+{% endif %}
+</p>
+{% endif %}