Continue blog implementation
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
</nav>
|
||||
<h2>{{ title }}</h2>
|
||||
<p>{{ description }}</p>
|
||||
<p style="text-align: center; font-weight: bold; font-style: italic;">This page is relatively new. I'm adding projects as fast as I can but feel free to <a href="/contact">contact me</a> if you want to know about something in particular.</p>
|
||||
<section id="blog">
|
||||
{% for row in articles %}
|
||||
<div class="blog-post">
|
||||
{% if row.get('link') is not none %}
|
||||
@@ -44,10 +42,13 @@
|
||||
{% endif %}
|
||||
<h3>{{ row.title }}</h3>
|
||||
</a>
|
||||
<p class="blogpost-description">{{ row.description }}</p>
|
||||
<p class="blogpost-date">{{ row.date | human_date }}</p>
|
||||
<p>{{ get_readtime(row.content) }} read</p>
|
||||
<hr />
|
||||
<p class="blogpost-description">{{ get_excerpt(row) }}... <a href="/blog/{{ row.id }}">Read more</a></p>
|
||||
<hr />
|
||||
{% for category in row.categories %}
|
||||
<a class="blogpost-category" href="/projects/category/{{ category }}"> {{ all_categories.get(category, {}).get('title', '') }}{{ ", " if not loop.last }}</loop></a>
|
||||
<a class="blogpost-category" href="/blog/category/{{ category }}"> {{ all_categories.get(category, {}).get('title', '') }}{{ ", " if not loop.last }}</loop></a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user