Skip to content

Commit 17f9319

Browse files
committed
remove excerpt for blogpost on the homepage
1 parent fb6d307 commit 17f9319

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

index.html

+14-17
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ <h2 class="show-for-sr">Our vision</h2>
2121
</div>
2222
</div>
2323
<!--
24-
<a class="primary large button"
24+
<a class="primary large button"
2525
href="https://eliademy.com/opensciencemooc">
2626
{{ site.data.pages.index.hero.button }}
2727
</a>
2828
-->
2929
</div>
3030
</section>
3131
<!-- END Hero -->
32-
32+
3333
<!-- How Can You Help? -->
3434
<div class="grid-container">
3535
<section class="grid-x grid-padding-x grid-padding-y">
@@ -71,7 +71,7 @@ <h2>{{ site.data.pages.index.discover.title }}</h2>
7171
<h3 class="h4">{{ module.title }}</h3>
7272
<ul class="menu align-center">
7373
<li>
74-
<a class="button primary hollow"
74+
<a class="button primary hollow"
7575
href="{{ module.url | relative_url }}">
7676
Learn More
7777
</a>
@@ -102,21 +102,21 @@ <h2>{{ site.data.pages.index.news.title }}</h2>
102102
<div class="cell small-12 medium-4">
103103
<article>
104104
<header>
105-
{% include helpers/file_exists.html
105+
{% include helpers/file_exists.html
106106
filename=post.image.url %}
107107
{% if filename_exists == "true" %}
108-
<img src="{{ post.image.url | relative_url }}"
108+
<img src="{{ post.image.url | relative_url }}"
109109
alt="{{ post.image.description }}">
110110
{% else %}
111-
<img src="{{ "/assets/img/osm/osm-news-default.png" |
112-
relative_url }}"
111+
<img src="{{ "/assets/img/osm/osm-news-default.png" |
112+
relative_url }}"
113113
alt="{{ post.image.description }}">
114114
{% endif %}
115115
<h3 class="h4">
116116
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
117117
</h3>
118118
<div class="grid-x grid-padding-x">
119-
<address class="cell shrink"
119+
<address class="cell shrink"
120120
style="border-right: solid 1px #ccc;">
121121
{{ post.author }}
122122
</address>
@@ -125,15 +125,12 @@ <h3 class="h4">
125125
</time>
126126
</div>
127127
</header>
128-
<p>{{ post.excerpt }}</p>
129-
<footer>
130-
<a href="{{ post.url | relative_url }}">
131-
Read more
132-
<span class="show-for-sr">
133-
about {{ post.title }} article.
134-
</span>
135-
</a>
136-
</footer>
128+
<a href="{{ post.url | relative_url }}">
129+
Read more
130+
<span class="show-for-sr">
131+
about {{ post.title }} article.
132+
</span>
133+
</a>
137134
</article>
138135
</div>
139136
{% endfor %}

0 commit comments

Comments
 (0)