first commit
This commit is contained in:
commit
3f2cec5cb9
27 changed files with 1159 additions and 0 deletions
40
index.html
Normal file
40
index.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
layout: default
|
||||
title: Home
|
||||
---
|
||||
|
||||
<h1>Fabled Sword</h1>
|
||||
|
||||
<section class="post-list">
|
||||
{% assign recent_posts = site.posts | sort: "date" | reverse %}
|
||||
{% for post in recent_posts limit:5 %}
|
||||
<a href="{{ post.url | relative_url }}">
|
||||
<article class="post-item">
|
||||
<h2 class="post-title">
|
||||
{{ post.title }}
|
||||
</h2>
|
||||
|
||||
<div class="post-meta">
|
||||
<time datetime="{{ post.date | date_to_xmlschema }}">
|
||||
{{ post.date | date: "%B %-d, %Y" }}
|
||||
</time>
|
||||
·
|
||||
<span class="post-author">
|
||||
{{ post.author | default: post.authors | default: site.author.name | default: site.author | default: "Unknown" }}
|
||||
</span>
|
||||
{% if post.tags and post.tags.size > 0 %}
|
||||
<ul class="post-tags">
|
||||
{% for tag in post.tags %}
|
||||
<li>{{ tag }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="post-excerpt">
|
||||
{{ post.excerpt | strip_html | truncate: 440 }}
|
||||
</div>
|
||||
</article>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue