fix underline formatting

This commit is contained in:
Justin Ehrenhofer
2021-10-02 16:39:09 -05:00
parent 4b0a9ad4f4
commit 3fda5e0b3b
2 changed files with 9 additions and 2 deletions

View File

@@ -18,12 +18,15 @@
.post-entry-title {
color: black;
font-size: 150%;
text-decoration: none;
}
.entry-date {
color: grey;
text-decoration: none;
a {
text-decoration: none;
}
}
.excerpt {
@@ -31,6 +34,10 @@
float: none;
color: grey;
text-decoration: none;
a {
text-decoration: none;
}
}
}

View File

@@ -28,7 +28,7 @@ MAGIC Grants supports various cryptocurrency networks, which we believe are esse
<ul class="post-list">
{% for post in site.posts limit:10 %}
<li><article><a href="{{ site.url }}{{ post.url }}"><div class="post-entry-title">{{ post.title }}</div> <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" | text_decoration=none }}</time></span>{% if post.excerpt %} <span class="excerpt">{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}</span>{% endif %}</a></article></li>
<li><article><a href="{{ site.url }}{{ post.url }}"><div class="post-entry-title">{{ post.title }}</div> <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %d, %Y" }}</time></span>{% if post.excerpt %} <span class="excerpt">{{ post.excerpt | remove: '\[ ... \]' | remove: '\( ... \)' | markdownify | strip_html | strip_newlines | escape_once }}</span>{% endif %}</a></article></li>
<hr>
{% endfor %}
</ul>