Remove filler content
• move Index, Projects, and Blog to markdown instead of html files
• fix small syntax error in post-info.html, goddamn HTML and its silent
error handling 😖
• remove filler content in index, as well as some tags I was using for
testing
This commit is contained in:
28
Blog.md
Normal file
28
Blog.md
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
layout: collection
|
||||
title: Blog
|
||||
permalink: Blog/
|
||||
---
|
||||
|
||||
{% assign char-count = 500 %}
|
||||
|
||||
{% for post in site.posts %}
|
||||
<article class="post-entry">
|
||||
<h2 class="post-title">
|
||||
<a href="{{ post.url | prepend: site.baseurl }}">
|
||||
{{ post.title }}
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
{% include post-info.html tags = post.tags date=post.date %}
|
||||
|
||||
<div class="post-excerpt">
|
||||
{{post.content | markdownify | strip_html | truncate: char-count}}
|
||||
|
||||
<a class="post-see-more" href="{{ post.url | prepend: site.baseurl }}">
|
||||
<i>See More</i>
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
<br>
|
||||
{% endfor %}
|
Reference in New Issue
Block a user