Commit 08fa2812 authored by Colin Scott-Fleming's avatar Colin Scott-Fleming
Browse files

fixes #9

parents ccc6c01a b2a79563
......@@ -2,7 +2,7 @@
<div class="col-lg-12 footer">
<div class="col-lg-7">
<img src="assets/images/cfa_logo_greyscale.png" alt="Code for America" />
<img src="{{ site.baseurl }}/assets/images/cfa_logo_greyscale.png" alt="Code for America" />
<p>Code for America is a non-partisan, non-political organization working to create low-risk settings for innovation between citizens and government. <a href="http://codeforamerica.org/" target="_blank">Learn more</a> about Code for America's mission and its Fellowship, Brigade, Accelerator, Peer Network and Code for All programs.
</p>
</div>
......
......@@ -4,7 +4,7 @@
<title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.name }}</title>
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<meta name="author" content="">
<link rel="shortcut icon" href="assets/images/favicon.ico" />
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/images/favicon.ico" />
<!-- Mobile Specific Metas
================================================== -->
......
......@@ -6,7 +6,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.url }}index.html"><img src="assets/images/codefortucson-mark.png"/ class="mark-50"></a>
<a class="navbar-brand" href="{{ site.baseurl }}/index.html"><img src="{{ site.baseurl }}/assets/images/codefortucson-mark.png"/ class="mark-50"></a>
<div class="nav-collapse collapse">
<ul class="nav navbar-nav" id="navbar-nav">
<li><a href="{{ site.baseurl }}/index.html">Get Involved</a></li>
......
......@@ -16,9 +16,9 @@ layout: default
{% if page.post_gravatar %}
<img src="http://www.gravatar.com/avatar/{{ page.post_gravatar }}?s=150" class="blog-avatar-img" />
{% elsif page.post_avatar %}
<img src="assets/images/blog/avatars/{{ page.post_avatar }}" class="blog-avatar-img" />
<img src="{{ site.baseurl }}/assets/images/blog/avatars/{{ page.post_avatar }}" class="blog-avatar-img" />
{% else %}
<img src="assets/images/blog/avatars/default.png" class="blog-avatar-img" />
<img src="{{ site.baseurl }}/assets/images/blog/avatars/default.png" class="blog-avatar-img" />
{% endif %}
<div class="blog-avatar-content">
by {{ page.post_author }}
......
/***************/
/* variables */
/***************/
// Change this value for gh-pages hosting in a directory
$site-baseurl: "/codefortucson-site";
/***************************/
/* general/sitewide */
/***************************/
......@@ -55,7 +62,7 @@ hr.footer-divider {
.hero {
background: url('assets/images/hero_bg.jpg');
background: url($site-baseurl + '/assets/images/hero_bg.jpg');
background-size: cover;
min-height: 300px;
min-width: 400px;
......@@ -239,7 +246,7 @@ img.project-git-human {
/***************************/
.blog-hero {
background: url('assets/images/blog_hero.jpg');
background: url($site-baseurl + 'assets/images/blog_hero.jpg');
background-size: cover;
min-height: 300px;
min-width: 400px;
......
......@@ -26,9 +26,9 @@ title: "Code for DC Blog"
{% if post.post_gravatar %}
<img src="http://www.gravatar.com/avatar/{{ post.post_gravatar }}?s=100" class="blog-avatar-img" />
{% elsif post.post_avatar %}
<img src="assets/images/blog/avatars/{{ post.post_avatar }}" class="blog-avatar-img" />
<img src="{{ site.baseurl }}/assets/images/blog/avatars/{{ post.post_avatar }}" class="blog-avatar-img" />
{% else %}
<img src="assets/images/blog/avatars/default.png" class="blog-avatar-img" />
<img src="{{ site.baseurl }}/assets/images/blog/avatars/default.png" class="blog-avatar-img" />
{% endif %}
<div class="blog-avatar-content">
{{ post.post_author }}
......
......@@ -4,7 +4,7 @@ title: Get Involved
---
<div class="col-lg-12 hero">
<div class="hero-text"><img src="assets/images/CodeForTucson_logo_dark.png"
<div class="hero-text"><img src="{{ site.baseurl }}/assets/images/CodeForTucson_logo_dark.png"
alt="Code for Tucson logo"><h1>Code for Tucson</h1></div>
</div>
......@@ -35,21 +35,21 @@ title: Get Involved
</div>
<div class="col-lg-12">
<div class="col-lg-4">
<img src="assets/images/captain.png" alt="Code for America Brigade Captain Helmet" class="call-out-img" />
<img src="{{ site.baseurl }}/assets/images/captain.png" alt="Code for America Brigade Captain Helmet" class="call-out-img" />
<h2>Come to our next civic hacknight</h2>
<p>Casual meetups for geeks, activists, policy makers, and journalists, every other week.</p>
<p><a href="https://www.google.com/calendar/embed?src=mu5662uugi97jtr43kajpo2i6k%40group.calendar.google.com&ctz=America/Phoenix" target="_blank">Our calendar &raquo;</a></p>
</div>
<div class="col-lg-4">
<img src="assets/images/community.png" alt="Community" class="call-out-img" />
<img src="{{ site.baseurl }}/assets/images/community.png" alt="Community" class="call-out-img" />
<h2>Join the discussion online</h2>
<p>An open conversation online about Tucson, what we're doing now, and what's next.
</p>
<p><a href="https://groups.google.com/forum/#!forum/codefortucsonbrigade" target="_blank">Learn and share &raquo;</a></p>
</div>
<div class="col-lg-4">
<img src="assets/images/octocat.png" alt="GitHub Octocat" class="call-out-img" />
<img src="{{ site.baseurl }}/assets/images/octocat.png" alt="GitHub Octocat" class="call-out-img" />
<h2>Join a project or start your own</h2>
<p>Whether you're a communicator or a coder, we need you. Jump right in!</a>
</p>
......
......@@ -15,7 +15,7 @@ title: Press
<div class="col-lg-12 press-release-row odd">
<div class="col-lg-2 press-release-row-icon">
<img src="assets/images/logo_100px.png"/>
<img src="{{ site.baseurl }}/assets/images/logo_100px.png"/>
</div>
<div class="col-lg-10 press-release-row-text">
<b>April 29, 2014.</b> Come meet Code for DC and check out its latest app, Our DC Schools, at Funk Parade's Tech Embassy on May 3 from 11:00 to 3:00 PM. <br/><a href="http://techembassy.tumblr.com/" target="_blank">Click here for more info &raquo;</a>
......@@ -24,7 +24,7 @@ title: Press
<div class="col-lg-12 press-release-row even">
<div class="col-lg-2 press-release-row-icon">
<img src="assets/images/logo_100px.png"/>
<img src="{{ site.baseurl }}/assets/images/logo_100px.png"/>
</div>
<div class="col-lg-10 press-release-row-text">
<b>April 22, 2014.</b> Code for DC's newest app, Our DC Schools, gives district parents a voice in crtical changes proposed to DC school policies. <br/><a href="https://docs.google.com/document/d/1iN8FH7y1hXoVehu73YBJrT5cbHWx47EYmQ4kZPll4uI/pub" target="_blank">Read the article &raquo;</a>
......@@ -34,7 +34,7 @@ title: Press
<div class="col-lg-12 press-release-row odd">
<div class="col-lg-2 press-release-row-icon">
<img src="assets/images/logo_100px.png"/>
<img src="{{ site.baseurl }}/assets/images/logo_100px.png"/>
</div>
<div class="col-lg-10 press-release-row-text">
<b>September 23, 2013.</b> Open Schools (http://edu.codefordc.org/) is a web application developed by Code for DC to make comparing school demographic and performance data simpler. Open Schools empowers parents to make better choices.<br/><a href="https://docs.google.com/document/d/17f6_RUSiBy0aGRow-_44JaJdb21DbcZegYqGWpKeHLc/" target="_blank">Read the press release &raquo;</a>
......@@ -44,7 +44,7 @@ title: Press
<div class="col-lg-12 press-release-row even">
<div class="col-lg-2 press-release-row-icon">
<img src="assets/images/cfa_logo.png"/>
<img src="{{ site.baseurl }}/assets/images/cfa_logo.png"/>
</div>
<div class="col-lg-10 press-release-row-text">
<b>September 17, 2013.</b> In 2012, Code for America launched the Brigade program, enacting 16 local chapters. Today we’re excited to announce the addition of 15 new Brigades supported by 28 new Captains, including in Washington DC.<br/><a href="http://www.codeforamerica.org/2013/09/17/brigade-captains/" target="_blank">Read the article &raquo;</a>
......@@ -93,7 +93,7 @@ title: Press
ptitle = content[row][3];
picon = content[row][4];
if(picon == ''){
picon = 'assets/images/press/icons/default.png'
picon = '{{ site.baseurl }}/assets/images/press/icons/default.png'
}
if(count == 0){
html += '<div class="col-lg-12">';
......
......@@ -68,7 +68,7 @@ $(document).ready(function(){
html += '<div class="col-lg-12">';
}
html += '<div class="col-lg-2 project-icon"><img src="assets/images/launch.png" width="100px"/></div>';
html += '<div class="col-lg-2 project-icon"><img src="{{ site.baseurl }}/assets/images/launch.png" width="100px"/></div>';
html += '<div class="col-lg-4 project-text" id="' + projectId + '"> <h3>' + pname + '</h3>';
html += "<p class='project-content'>"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment