add a real article and keep messing with CSS/HTML

This commit is contained in:
2017-12-18 21:15:35 -08:00
parent f3a65eb0f4
commit 708e8a142b
10 changed files with 97 additions and 70 deletions

View File

@ -6,44 +6,32 @@ permalink: Blog/
{% assign char-count = 500 %}
<ul id="post-list">
{% for post in site.posts %}
<li class="post-entry">
<a class="post-title" href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
{% for post in site.posts %}
<article class="post-entry">
<a class="post-title" href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
</a>
<table>
<tr>
<td class="post-tags">
{% include taglist.html %}
<td class="post-date">
<i>{{ post.date | date: "%b %-d, %Y" }}</i>
</td>
</tr>
</table>
<hr>
<div class="post-excerpt">
{% assign excerpt-text = post.content | markdownify %}
{% assign excerpt-length = excerpt-text | number_of_words %}
{{post.content | markdownify| truncate: char-count}}
<a class="post-see-more" href="{{ post.url | prepend: site.baseurl }}">
<i>See&nbsp;More</i>
</a>
<table>
<tr>
<td class="post-tags">
tags:
<i>
{% if post.tags %}
{% for tag in post.tags limit: 6%}
{{ tag }}
{% endfor %}
{% else %}
none
{% endif %}
</i>
</td>
<td class="post-date">
<i>{{ post.date | date: "%b %-d, %Y" }}</i>
</td>
</tr>
</table>
<hr>
<div class="post-excerpt">
{% assign excerpt-text = post.content | markdownify %}
{% assign excerpt-length = excerpt-text | number_of_words %}
{{post.content | markdownify| truncate: char-count}}
<a class="post-see-more" href="{{ post.url | prepend: site.baseurl }}">
<i>See&nbsp;More</i>
</a>
</div>
</li>
{% endfor %}
</ul>
</div>
</article>
{% endfor %}