{{ ---------BEGIN THEME SETTINGS AND CONTROLS----------- }}
{% assign: Info_Block_Link_Behavior = '_self' %} {{ Options: 'Same Window' or 'new' }}
{% assign: Number_of_Info_Blocks = 2 %} {{ Options: 1 to 10 }}
{{ --INFO BLOCK 1 SETTINGS-- }}
{% assign: ib_1_title = "How It Works" %}
{% capture ib_1_desc %}Our nonprofit board and volunteers develop ideas and design shirts.
If possible, we find products made in the USA and apply the design.
Then, we evaluate the price of the product (including shipping, fees, printing costs, etc.) and mark it up slightly so we can make a donation. {% endcapture %}
{% assign: ib_1_display_image = 'No' %}
{% assign: ib_1_image = 'http://themefienddemos.com/dominion/_images/dominion-slide-4.jpg' %}
{% assign: ib_1_include_image_link = 'Yes' %}
{% assign: ib_1_image_link = "http://example.com" %}
{% assign: ib_1_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 2 SETTINGS-- }}
{% assign: ib_2_title = "Truthreads.org Donations" %}
{% capture ib_2_desc %}We will be splitting donations to five nonprofits, one organization for each of the following areas: immigration, LGBTQ, women, civil liberties, and science/environment.
We will disburse funds to the organizations we select on a quarterly basis and will update you on our websites as to how much money is donated to each group.
Our nonprofit board is currently evaluating the following nonprofits:
Immigration:- Islamic Relief USA
- National Council of La Raza
- National Immigration Law Center
- National Immigration Forum
- Human Rights Campaign
- Trevor Project
- Planned Parenthood
- National Partnership for Women & Families
- Know Your IX
- ACLU
- Southern Poverty Law Center
- Equal Justice Initiative
- Wild Earth Allies
- Carbonfund.org
- Society for Science & the Public
{% assign: ib_2_display_image = 'No' %}
{% assign: ib_2_image = '' %}
{% assign: ib_2_include_image_link = 'No' %}
{% assign: ib_2_image_link = "http://example.com" %}
{% assign: ib_2_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 3 SETTINGS-- }}
{% assign: ib_3_title = "How are you doing?" %}
{% capture ib_3_desc %}{% endcapture %}
{% assign: ib_3_display_image = 'Yes' %}
{% assign: ib_3_image = '' %}
{% assign: ib_3_include_image_link = 'No' %}
{% assign: ib_3_image_link = "http://example.com" %}
{% assign: ib_3_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 4 SETTINGS-- }}
{% assign: ib_4_title = "How are you doing?" %}
{% capture ib_4_desc %}{% endcapture %}
{% assign: ib_4_display_image = 'No' %}
{% assign: ib_4_image = '' %}
{% assign: ib_4_include_image_link = 'No' %}
{% assign: ib_4_image_link = "http://example.com" %}
{% assign: ib_4_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 5 SETTINGS-- }}
{% assign: ib_5_title = "How are you doing?" %}
{% capture ib_5_desc %}{% endcapture %}
{% assign: ib_5_display_image = 'No' %}
{% assign: ib_5_image = '' %}
{% assign: ib_5_include_image_link = 'No' %}
{% assign: ib_5_image_link = "http://example.com" %}
{% assign: ib_5_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 6 SETTINGS-- }}
{% assign: ib_6_title = "How are you doing?" %}
{% capture ib_6_desc %}{% endcapture %}
{% assign: ib_6_display_image = 'No' %}
{% assign: ib_6_image = '' %}
{% assign: ib_6_include_image_link = 'No' %}
{% assign: ib_6_image_link = "http://example.com" %}
{% assign: ib_6_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 7 SETTINGS-- }}
{% assign: ib_7_title = "How are you doing?" %}
{% capture ib_7_desc %}{% endcapture %}
{% assign: ib_7_display_image = 'No' %}
{% assign: ib_7_image = '' %}
{% assign: ib_7_include_image_link = 'No' %}
{% assign: ib_7_image_link = "http://example.com" %}
{% assign: ib_7_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 8 SETTINGS-- }}
{% assign: ib_8_title = "How are you doing?" %}
{% capture ib_8_desc %}{% endcapture %}
{% assign: ib_8_display_image = 'No' %}
{% assign: ib_8_image = '' %}
{% assign: ib_8_include_image_link = 'No' %}
{% assign: ib_8_image_link = "http://example.com" %}
{% assign: ib_8_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 9 SETTINGS-- }}
{% assign: ib_9_title = "How are you doing?" %}
{% capture ib_9_desc %}{% endcapture %}
{% assign: ib_9_display_image = 'No' %}
{% assign: ib_9_image = '' %}
{% assign: ib_9_include_image_link = 'No' %}
{% assign: ib_9_image_link = "http://example.com" %}
{% assign: ib_9_desc_image_order = "Desc over Image" %}
{{ --INFO BLOCK 10 SETTINGS-- }}
{% assign: ib_10_title = "How are you doing?" %}
{% capture ib_10_desc %}{% endcapture %}
{% assign: ib_10_display_image = 'No' %}
{% assign: ib_10_image = '' %}
{% assign: ib_10_include_image_link = 'No' %}
{% assign: ib_10_image_link = "http://example.com" %}
{% assign: ib_10_desc_image_order = "Desc over Image" %}
{{ ---------END THEME SETTINGS AND CONTROLS----------- }}
{% assign: iblbv = Info_Block_Link_Behavior %}
{% assign: nib = Number_of_Info_Blocks %}
{{ ib_1_title }}
{% endunless %} {% capture ib_1_desc %} {% unless ib_1_desc == blank or ib_1_desc == " " %}{{ ib_2_title }}
{% endunless %} {% capture ib_2_desc %} {% unless ib_2_desc == blank or ib_2_desc == " " %}{{ ib_3_title }}
{% endunless %} {% capture ib_3_desc %} {% unless ib_3_desc == blank or ib_3_desc == " " %}{{ ib_4_title }}
{% endunless %} {% capture ib_4_desc %} {% unless ib_4_desc == blank or ib_4_desc == " " %}{{ ib_5_title }}
{% endunless %} {% capture ib_5_desc %} {% unless ib_5_desc == blank or ib_5_desc == " " %}{{ ib_6_title }}
{% endunless %} {% capture ib_6_desc %} {% unless ib_6_desc == blank or ib_6_desc == " " %}{{ ib_7_title }}
{% endunless %} {% capture ib_7_desc %} {% unless ib_7_desc == blank or ib_7_desc == " " %}{{ ib_8_title }}
{% endunless %} {% capture ib_8_desc %} {% unless ib_8_desc == blank or ib_8_desc == " " %}{{ ib_9_title }}
{% endunless %} {% capture ib_9_desc %} {% unless ib_9_desc == blank or ib_9_desc == " " %}{{ ib_10_title }}
{% endunless %} {% capture ib_10_desc %} {% unless ib_10_desc == blank or ib_10_desc == " " %}{{ -----------BEGIN SCRIPTS -----------}}
(function($) {
$(document).ready(function(){
$(".info_block > br, .info_block p:empty").remove();
$(".ib_desc br:first-child, .ib_desc br:first-child + br").remove();
});
var url1 = /(^|<|\s)(www\..+?\..+?)(\s|>|$)/g,
url2 = /(^|<|\s)(((https?|ftp):\/\/|mailto:).+?)(\s|>|$)/g,
linkifyThis = function () {
var childNodes = this.childNodes,
i = childNodes.length;
while(i--)
{
var n = childNodes<i>;
if (n.nodeType == 3) {
var html = $.trim(n.nodeValue);
if (html)
{
html = html.replace(/&/g, '&')
.replace(/</g, '<')
.replace(/>/g, '>')
.replace(url1, '$1<a href="http://$2">$2</a>$3')
.replace(url2, '$1<a href="$2">$2</a>$5');
$(n).after(html).remove();
}
}
else if (n.nodeType == 1 && !/^(a|button|textarea)$/i.test(n.tagName)) {
linkifyThis.call(n);
}
}
};
$.fn.linkify = function () {
return this.each(linkifyThis);
};
$('body').linkify();
$("a[@href^='www'], a[@href^='http']").attr('target','_blank');
})(jQuery);