Skip to content

Commit e0a23ae

Browse files
committed
remove images from course pages
1 parent 9688862 commit e0a23ae

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

_layouts/course-page.liquid

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -103,35 +103,13 @@ layout: default
103103

104104
<article>
105105
{% if content == '' %}
106-
<figure class="empty-review">
107-
{% if page.cover %}
108-
<img style="width:25%; class="empty-review-cover" alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
109-
<figcaption class="empty-review-caption"></figcaption>
110-
{% elsif page.olid %}
111-
<img style="width:25%; class="empty-review-cover" alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
112-
<figcaption class="empty-review-caption"></figcaption>
113-
{% elsif page.isbn %}
114-
<img style="width:25%; class="empty-review-cover" alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
115-
<figcaption class="empty-review-caption"></figcaption>
116-
{% endif %}
117-
</figure>
106+
118107
{% assign status = page.status | upcase %}
119108
<div class="clearfix">
120109
<h4>{{ status }}</h4>
121110
</div>
122111
{% else %}
123-
<figure>
124-
{% if page.cover %}
125-
<img style="width:25%;" alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
126-
<figcaption></figcaption>
127-
{% elsif page.olid %}
128-
<img style="width:25%; alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
129-
<figcaption></figcaption>
130-
{% elsif page.isbn %}
131-
<img style="width:25%; alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
132-
<figcaption></figcaption>
133-
{% endif %}
134-
</figure>
112+
135113
<br class="mobile-break" clear="right">
136114
<h4>
137115
{% if page.start %} Start Date: {{ page.start | date: '%-d %B %Y' }}. {% endif %}

0 commit comments

Comments
 (0)