Commit 777248b7 authored by Colin Scott-Fleming's avatar Colin Scott-Fleming
Browse files

fixed old references to images directory

all should now point to the 'assets/images/*' relative URL.

there are obviously some changes to DC content, but this issue only pertains
to fixing existing image links to match the URL pattern, and we can deal with
cutting the old content in a future issue.
parent 1b6a916b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="col-lg-12 footer"> <div class="col-lg-12 footer">
<div class="col-lg-7"> <div class="col-lg-7">
<img src="{{ site.url }}/images/cfa_logo_greyscale.png" alt="Code for America" /> <img src="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>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> </p>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.name }}</title> <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="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<meta name="author" content=""> <meta name="author" content="">
<link rel="shortcut icon" href="http://www.codefordc.org/images/favicon.ico" /> <link rel="shortcut icon" href="assets/images/favicon.ico" />
<!-- Mobile Specific Metas <!-- Mobile Specific Metas
================================================== --> ================================================== -->
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
<!-- CSS <!-- CSS
================================================== --> ================================================== -->
<link href="{{ site.baseurl }}/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/normalize.css" rel="stylesheet"> <link href="assets/css/normalize.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/styles.css" rel="stylesheet"> <link href="assets/css/styles.css" rel="stylesheet">
<!-- JS <!-- JS
================================================== --> ================================================== -->
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="{{ site.url }}index.html"><img src="{{ site.url }}/images/codefortucson-mark.png"/ class="mark-50"></a> <a class="navbar-brand" href="{{ site.url }}index.html"><img src="assets/images/codefortucson-mark.png"/ class="mark-50"></a>
<div class="nav-collapse collapse"> <div class="nav-collapse collapse">
<ul class="nav navbar-nav" id="navbar-nav"> <ul class="nav navbar-nav" id="navbar-nav">
<li><a href="{{ site.baseurl }}/index.html">Get Involved</a></li> <li><a href="{{ site.baseurl }}/index.html">Get Involved</a></li>
......
...@@ -16,9 +16,9 @@ layout: default ...@@ -16,9 +16,9 @@ layout: default
{% if page.post_gravatar %} {% if page.post_gravatar %}
<img src="http://www.gravatar.com/avatar/{{ page.post_gravatar }}?s=150" class="blog-avatar-img" /> <img src="http://www.gravatar.com/avatar/{{ page.post_gravatar }}?s=150" class="blog-avatar-img" />
{% elsif page.post_avatar %} {% elsif page.post_avatar %}
<img src="/images/blog/avatars/{{ page.post_avatar }}" class="blog-avatar-img" /> <img src="assets/images/blog/avatars/{{ page.post_avatar }}" class="blog-avatar-img" />
{% else %} {% else %}
<img src="/images/blog/avatars/default.png" class="blog-avatar-img" /> <img src="assets/images/blog/avatars/default.png" class="blog-avatar-img" />
{% endif %} {% endif %}
<div class="blog-avatar-content"> <div class="blog-avatar-content">
by {{ page.post_author }} by {{ page.post_author }}
......
...@@ -55,7 +55,7 @@ hr.footer-divider { ...@@ -55,7 +55,7 @@ hr.footer-divider {
.hero { .hero {
background: url('http://CodeForTucson.github.io/codefortucson-site/images/hero_bg.jpg'); background: url('assets/images/hero_bg.jpg');
background-size: cover; background-size: cover;
min-height: 300px; min-height: 300px;
min-width: 400px; min-width: 400px;
...@@ -239,7 +239,7 @@ img.project-git-human { ...@@ -239,7 +239,7 @@ img.project-git-human {
/***************************/ /***************************/
.blog-hero { .blog-hero {
background: url('/images/fiction-parade - posted-bills.jpg'); background: url('assets/images/blog_hero.jpg');
background-size: cover; background-size: cover;
min-height: 300px; min-height: 300px;
min-width: 400px; min-width: 400px;
......
...@@ -26,9 +26,9 @@ title: "Code for DC Blog" ...@@ -26,9 +26,9 @@ title: "Code for DC Blog"
{% if post.post_gravatar %} {% if post.post_gravatar %}
<img src="http://www.gravatar.com/avatar/{{ post.post_gravatar }}?s=100" class="blog-avatar-img" /> <img src="http://www.gravatar.com/avatar/{{ post.post_gravatar }}?s=100" class="blog-avatar-img" />
{% elsif post.post_avatar %} {% elsif post.post_avatar %}
<img src="/images/blog/avatars/{{ post.post_avatar }}" class="blog-avatar-img" /> <img src="assets/images/blog/avatars/{{ post.post_avatar }}" class="blog-avatar-img" />
{% else %} {% else %}
<img src="/images/blog/avatars/default.png" class="blog-avatar-img" /> <img src="assets/images/blog/avatars/default.png" class="blog-avatar-img" />
{% endif %} {% endif %}
<div class="blog-avatar-content"> <div class="blog-avatar-content">
{{ post.post_author }} {{ post.post_author }}
......
...@@ -15,7 +15,7 @@ title: Press ...@@ -15,7 +15,7 @@ title: Press
<div class="col-lg-12 press-release-row odd"> <div class="col-lg-12 press-release-row odd">
<div class="col-lg-2 press-release-row-icon"> <div class="col-lg-2 press-release-row-icon">
<img src="{{ site.url }}/images/logo_100px.png"/> <img src="assets/images/logo_100px.png"/>
</div> </div>
<div class="col-lg-10 press-release-row-text"> <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> <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 ...@@ -24,7 +24,7 @@ title: Press
<div class="col-lg-12 press-release-row even"> <div class="col-lg-12 press-release-row even">
<div class="col-lg-2 press-release-row-icon"> <div class="col-lg-2 press-release-row-icon">
<img src="{{ site.url }}/images/logo_100px.png"/> <img src="assets/images/logo_100px.png"/>
</div> </div>
<div class="col-lg-10 press-release-row-text"> <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> <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 ...@@ -34,7 +34,7 @@ title: Press
<div class="col-lg-12 press-release-row odd"> <div class="col-lg-12 press-release-row odd">
<div class="col-lg-2 press-release-row-icon"> <div class="col-lg-2 press-release-row-icon">
<img src="{{ site.url }}/images/logo_100px.png"/> <img src="assets/images/logo_100px.png"/>
</div> </div>
<div class="col-lg-10 press-release-row-text"> <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> <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 ...@@ -44,7 +44,7 @@ title: Press
<div class="col-lg-12 press-release-row even"> <div class="col-lg-12 press-release-row even">
<div class="col-lg-2 press-release-row-icon"> <div class="col-lg-2 press-release-row-icon">
<img src="{{ site.url }}/images/cfa_logo.png"/> <img src="assets/images/cfa_logo.png"/>
</div> </div>
<div class="col-lg-10 press-release-row-text"> <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> <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 ...@@ -93,7 +93,7 @@ title: Press
ptitle = content[row][3]; ptitle = content[row][3];
picon = content[row][4]; picon = content[row][4];
if(picon == ''){ if(picon == ''){
picon = 'images/press/icons/default.png' picon = 'assets/images/press/icons/default.png'
} }
if(count == 0){ if(count == 0){
html += '<div class="col-lg-12">'; html += '<div class="col-lg-12">';
......
...@@ -68,7 +68,7 @@ $(document).ready(function(){ ...@@ -68,7 +68,7 @@ $(document).ready(function(){
html += '<div class="col-lg-12">'; html += '<div class="col-lg-12">';
} }
html += '<div class="col-lg-2 project-icon"><img src="{{ site.url }}/images/launch.png" width="100px"/></div>'; html += '<div class="col-lg-2 project-icon"><img src="assets/images/launch.png" width="100px"/></div>';
html += '<div class="col-lg-4 project-text" id="' + projectId + '"> <h3>' + pname + '</h3>'; html += '<div class="col-lg-4 project-text" id="' + projectId + '"> <h3>' + pname + '</h3>';
html += "<p class='project-content'>" 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