Skip to content

Commit

Permalink
trying to fix all the images
Browse files Browse the repository at this point in the history
absolute_url to relative_url
  • Loading branch information
dmcwo committed Mar 11, 2019
1 parent f8061ad commit 6f57455
Show file tree
Hide file tree
Showing 92 changed files with 347 additions and 347 deletions.
2 changes: 1 addition & 1 deletion _includes/awards/arlies2018-diversity.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="https://www.arl.org/events/upcoming-events/2018-spring-association-meeting/arl-film-festival" target="_blank">
<img src="{{ '/assets/images/awards/arl-logo.png' | absolute_url }}" alt="Association of Research Libraries" style="background-color: #042387;" />
<img src="{{ '/assets/images/awards/arl-logo.png' | relative_url }}" alt="Association of Research Libraries" style="background-color: #042387;" />
<small><p>2018 ARL Film Festival Award for Best Reflection of Diversity</p></small>
</a>
2 changes: 1 addition & 1 deletion _includes/awards/primo.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="http://primodb.org/" target="_blank">
<img src="{{ '/assets/images/awards/color_Primo.gif' | absolute_url }}" alt="PRIMO - Peer Reviewed Instructional Materials Online Logo" />
<img src="{{ '/assets/images/awards/color_Primo.gif' | relative_url }}" alt="PRIMO - Peer Reviewed Instructional Materials Online Logo" />
<small><p>Selected by the ALA ACRL Instruction Session for the PRIMO database of Peer Reviewed Materials Online</p></small>
</a>
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<link rel="stylesheet" href="{{"/assets/custom.css" | relative_url }}">
<!-- -->

<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | relative_url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">

</head>
2 changes: 1 addition & 1 deletion _includes/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h5 class="card-title">Contributors</h5>
</p>
{% endif %}
<h5 class="card-title">Link</h5>
<p class="card-text"><a href="{{ page.url | absolute_url }}">{{ page.url | absolute_url }}</a></p>
<p class="card-text"><a href="{{ page.url | relative_url }}">{{ page.url | relative_url }}</a></p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _includes/prev-next.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% endif %}
</div>
<div class="col-sm-4">
<a class="btn btn-primary btn-block my-1" href="{{ '/about/creative-team' | absolute_url }}"><span class="d-none d-md-inline">The </span>WI+RE Team</a>
<a class="btn btn-primary btn-block my-1" href="{{ '/about/creative-team' | relative_url }}"><span class="d-none d-md-inline">The </span>WI+RE Team</a>
</div>
<div class="col-sm-4">
{% if page.next.url %}
Expand Down
4 changes: 2 additions & 2 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>

<script type="text/javascript" src="{{ "/assets/js/materialize-readies.js" | absolute_url }}"></script>
<script type="text/javascript" src="{{ "/assets/js/materialize.js" | absolute_url }}"></script>
<script type="text/javascript" src="{{ "/assets/js/materialize-readies.js" | relative_url }}"></script>
<script type="text/javascript" src="{{ "/assets/js/materialize.js" | relative_url }}"></script>
{% endif %}
4 changes: 2 additions & 2 deletions _layouts/handout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

<div class="col-md-12">
<div class="card">
<a href="{{ page.handout-url | absolute_url }}"><img src="{{ page.thumbnail | absolute_url }}" class="card-img-top" alt="{{ handout.title }}: {{ page.description }}"></a>
<a href="{{ page.handout-url | relative_url }}"><img src="{{ page.thumbnail | relative_url }}" class="card-img-top" alt="{{ handout.title }}: {{ page.description }}"></a>
<div class="card-body">
<h5 class="card-title">{{ page.title }}</h5>
<p class="card-text">{{ page.description }}</p>
<a href="{{ handout.handout-url | absolute_url }}" class="btn btn-primary">PDF</a>
<a href="{{ handout.handout-url | relative_url }}" class="btn btn-primary">PDF</a>
</div>
</div>
</div>
16 changes: 8 additions & 8 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1 class="mb-0">{{ site.title }}</h1>
<div class="col-lg-4">
<a class="" href="{{ '/workshops' | relative_url }}">
<button class="btn btn-light h-100">
<img src="{{ '/assets/images/icons/np_certificate_928715_1E4B88.png' | absolute_url }}" alt="Cornerstone Research Workshops Badge" class="w-50">
<img src="{{ '/assets/images/icons/np_certificate_928715_1E4B88.png' | relative_url }}" alt="Cornerstone Research Workshops Badge" class="w-50">
<h2>Workshops</h2>
<p>Gain a solid foundation in academic research and writing!</p>
</button>
Expand All @@ -52,7 +52,7 @@ <h2>Workshops</h2>
<div class="col-lg-4">
<a href="{{ '/tutorials' | relative_url }}">
<button class="btn btn-light h-100">
<img src="{{ '/assets/images/icons/np_wireframe_162980_1E4B88.png' | absolute_url }}" alt="Online tutorials" class="w-50">
<img src="{{ '/assets/images/icons/np_wireframe_162980_1E4B88.png' | relative_url }}" alt="Online tutorials" class="w-50">
<h2>Tutorials</h2>
<p>Get right to it with quick and practical tutorials.</p>
</button>
Expand All @@ -61,7 +61,7 @@ <h2>Tutorials</h2>
<div class="col-lg-4">
<a href="{{ '/handouts' | relative_url }}">
<button class="btn btn-light h-100">
<img src="{{ '/assets/images/icons/np_report_1957810_1E4B88.png' | absolute_url }}" alt="Handouts and printable activities" class="w-50">
<img src="{{ '/assets/images/icons/np_report_1957810_1E4B88.png' | relative_url }}" alt="Handouts and printable activities" class="w-50">
<h2>Handouts</h2>
<p>Prefer to work on paper? No problem - we make printable handouts, too.</p>
</button>
Expand Down Expand Up @@ -104,7 +104,7 @@ <h2 class="featurette-heading">Hi! <span class="text-muted">We're WI+RE.</span><
<div class="col-md-7 order-md-2">
<h2 class="featurette-heading">We share!</span></h2>
<p class="lead">As strong believers in open educational resources, all of our work is open source, and our tips can be shared, re-used, and re-mixed under creative commons Attribution-NonCommercial-ShareAlike license.</p>
<p>Want to collaborate? We would too! Check out <a href="http://github.com/uclalibrary/research-tips" target="_blank">our code repository</a> and <a href="{{ '/contact' | absolute_url }}">let us know your ideas!</a></p>
<p>Want to collaborate? We would too! Check out <a href="http://github.com/uclalibrary/research-tips" target="_blank">our code repository</a> and <a href="{{ '/contact' | relative_url }}">let us know your ideas!</a></p>
</div>
<div class="col-md-5 order-md-1">
<img class="featurette-image img-fluid mx-auto" src="{{ '/assets/images/icons/np_open-education_33913_1E4B88.png' | relative_url }}" alt="Open Educational Resources">
Expand All @@ -129,9 +129,9 @@ <h2>Featured Tutorials</h2>
<li class="media mt-2">
<a href="{{ tutorial.url | relative_url | replace: '//', '/' }}" class="mr-4 d-none d-md-block" style="max-width: 30%;">
{% if tutorial.thumbnail %}
<img src="{{ tutorial.thumbnail | absolute_url }}" class="mr-3 img-fluid d-none d-md-block" style="max-width: 100%;" alt="Tutorial icon">
<img src="{{ tutorial.thumbnail | relative_url }}" class="mr-3 img-fluid d-none d-md-block" style="max-width: 100%;" alt="Tutorial icon">
{% else %}
<img src="{{ '/assets/images/icons/tutorial-tn.png' | absolute_url }}" class="mr-3 img-fluid" style="max-width: 100%;" alt="Tutorial icon">
<img src="{{ '/assets/images/icons/tutorial-tn.png' | relative_url }}" class="mr-3 img-fluid" style="max-width: 100%;" alt="Tutorial icon">
{% endif %}
</a>
<div class="media-body">
Expand Down Expand Up @@ -169,9 +169,9 @@ <h2>Featured Workshops</h2>
<li class="media mt-2">
<a href="{{ workshop.url | relative_url | replace: '//', '/' }}" class="mr-4 d-none d-md-block" style="max-width: 30%;">
{% if workshop.thumbnail %}
<img src="{{ workshop.thumbnail | absolute_url }}" class="mr-3 img-fluid d-none d-md-block" style="max-width: 100%;" alt="workshop icon">
<img src="{{ workshop.thumbnail | relative_url }}" class="mr-3 img-fluid d-none d-md-block" style="max-width: 100%;" alt="workshop icon">
{% else %}
<img src="{{ '/assets/images/icons/tutorial-tn.png' | absolute_url }}" class="mr-3 img-fluid" style="max-width: 100%;" alt="workshop icon">
<img src="{{ '/assets/images/icons/tutorial-tn.png' | relative_url }}" class="mr-3 img-fluid" style="max-width: 100%;" alt="workshop icon">
{% endif %}
</a>
<div class="media-body">
Expand Down
20 changes: 10 additions & 10 deletions _layouts/team-member.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ <h3 class="mt-5">Featured Projects:</h3>
<div class="carousel-inner">
{% for feature in page.features %}
<div class="carousel-item {% if forloop.first == true %}active{% endif %}">
<img src="{{ feature.feature-img | absolute_url }}" class="d-block w-100" style="object-fit: cover;" alt="{{ feature.feature-title }}">
<img src="{{ feature.feature-img | relative_url }}" class="d-block w-100" style="object-fit: cover;" alt="{{ feature.feature-title }}">
<div class="carousel-caption">
<h5 class="text-white"><a href="{{ feature.feature-url | absolute_url }}" class="text-white">{{ feature.feature-title }}</a></h5>
<h5 class="text-white"><a href="{{ feature.feature-url | relative_url }}" class="text-white">{{ feature.feature-title }}</a></h5>
<p>{{ feature.feature-note }}</p>
</div>
</div>
Expand Down Expand Up @@ -97,7 +97,7 @@ <h4 class="mt-5">Workshops</h4>
<ul>
{% for workshop in site.workshops %}
{% if workshop.authors contains page.title %}
<li><a href="{{ workshop.url | absolute_url}}">{{ workshop.title }}</a></li>
<li><a href="{{ workshop.url | relative_url}}">{{ workshop.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
Expand All @@ -111,7 +111,7 @@ <h4 class="mt-5">Tutorials</h4>
<ul>
{% for tutorial in site.tutorials %}
{% if tutorial.authors contains page.title %}
<li><a href="{{ tutorial.url | absolute_url}}">{{ tutorial.title }}</a></li>
<li><a href="{{ tutorial.url | relative_url}}">{{ tutorial.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
Expand All @@ -124,7 +124,7 @@ <h4 class="mt-5">Handouts</h4>
<ul>
{% for handout in site.handouts %}
{% if handout.authors contains page.title %}
<li><a href="{{ handout.url | absolute_url}}">{{ handout.title }}</a></li>
<li><a href="{{ handout.url | relative_url}}">{{ handout.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
Expand All @@ -137,7 +137,7 @@ <h4 class="mt-5">Sandbox Posts</h4>
<ul>
{% for post in site.posts %}
{% if post.authors contains page.title %}
<li><a href="{{ post.url | absolute_url}}">{{ post.title }}</a></li>
<li><a href="{{ post.url | relative_url}}">{{ post.title }}</a></li>
{% endif %}
{% endfor %}
</ul>
Expand All @@ -153,10 +153,10 @@ <h4 class="mt-5">Sandbox Posts</h4>
{% if workshop-contributor-list contains page.title or tutorial-contributor-list contains page.title or handout-contributor-list contains page.title or sandbox-contributor-list contains page.title %}
<h3 class="mt-5">My Contributions</h3>
<p><small>I also contributed to:
{% for workshop in site.workshops %}{% if workshop.contributors contains page.title %}<a href="{{ workshop.url | absolute_url}}">{{ workshop.title }}</a> | {% endif %}{% endfor%}
{% for tutorial in site.tutorials %}{% if tutorial.contributors contains page.title %}<a href="{{ tutorial.url | absolute_url}}">{{ tutorial.title }}</a> | {% endif %}{% endfor%}
{% for handout in site.handouts %}{% if handout.contributors contains page.title %}<a href="{{ handout.url | absolute_url}}">{{ handout.title }}</a> | {% endif %}{% endfor%}
{% for post in site.posts %}{% if post.contributors contains page.title %}<a href="{{ post.url | absolute_url}}">{{ post.title }}</a> | {% endif %}{% endfor%}
{% for workshop in site.workshops %}{% if workshop.contributors contains page.title %}<a href="{{ workshop.url | relative_url}}">{{ workshop.title }}</a> | {% endif %}{% endfor%}
{% for tutorial in site.tutorials %}{% if tutorial.contributors contains page.title %}<a href="{{ tutorial.url | relative_url}}">{{ tutorial.title }}</a> | {% endif %}{% endfor%}
{% for handout in site.handouts %}{% if handout.contributors contains page.title %}<a href="{{ handout.url | relative_url}}">{{ handout.title }}</a> | {% endif %}{% endfor%}
{% for post in site.posts %}{% if post.contributors contains page.title %}<a href="{{ post.url | relative_url}}">{{ post.title }}</a> | {% endif %}{% endfor%}
</small>
</p>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/workshop.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="row alert alert-info">
<div class="col-md-6">
<p><strong><!--<img src="{{ '/assets/images/icons/np_bear_66250_000000_84_fh.png' | absolute_url }}" alt="UCLA Bruin Bear Icon" height="24px" />-->Affiliated with UCLA?</strong></p>
<p><strong><!--<img src="{{ '/assets/images/icons/np_bear_66250_000000_84_fh.png' | relative_url }}" alt="UCLA Bruin Bear Icon" height="24px" />-->Affiliated with UCLA?</strong></p>
<p style="font-size: .75em;">If you are affiliated with UCLA and would like to receive certification of completion for this workshop, be sure to <em>Log in</em> and <em>Enroll</em> in <a href="https://ccle.ucla.edu/course/view/wire" target="_blank">WI+RE's CCLE site</a> before completing this workshop.</p>
</div>
<div class="col-md-6">
Expand Down
2 changes: 1 addition & 1 deletion _site/404/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<link rel="stylesheet" href="/research-tips/assets/custom.css">
<!-- -->

<link rel="canonical" href="http://localhost:4000/research-tips/404/">
<link rel="canonical" href="/research-tips/404/">
<link rel="alternate" type="application/rss+xml" title="WI+RE" href="/research-tips/feed.xml">

</head>
Expand Down
8 changes: 4 additions & 4 deletions _site/about/creative-team/april/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<link rel="stylesheet" href="/research-tips/assets/custom.css">
<!-- -->

<link rel="canonical" href="http://localhost:4000/research-tips/about/creative-team/april/">
<link rel="canonical" href="/research-tips/about/creative-team/april/">
<link rel="alternate" type="application/rss+xml" title="WI+RE" href="/research-tips/feed.xml">

</head>
Expand Down Expand Up @@ -236,7 +236,7 @@ <h4 class="mt-5">Tutorials</h4>



<li><a href="http://localhost:4000/research-tips/reading-strategies/">Reading Strategies</a></li>
<li><a href="/research-tips/reading-strategies/">Reading Strategies</a></li>


</ul>
Expand All @@ -259,7 +259,7 @@ <h4 class="mt-5">Sandbox Posts</h4>



<li><a href="http://localhost:4000/research-tips/sandbox/welcome-to-the-wire-sandbox/">Welcome to the sandbox!</a></li>
<li><a href="/research-tips/sandbox/welcome-to-the-wire-sandbox/">Welcome to the sandbox!</a></li>


</ul>
Expand All @@ -284,7 +284,7 @@ <h4 class="mt-5">Sandbox Posts</h4>

</div>
<div class="col-sm-4">
<a class="btn btn-primary btn-block my-1" href="http://localhost:4000/research-tips/about/creative-team"><span class="d-none d-md-inline">The </span>WI+RE Team</a>
<a class="btn btn-primary btn-block my-1" href="/research-tips/about/creative-team"><span class="d-none d-md-inline">The </span>WI+RE Team</a>
</div>
<div class="col-sm-4">

Expand Down
Loading

0 comments on commit 6f57455

Please sign in to comment.