init
This commit is contained in:
commit
c021228161
24 changed files with 1509 additions and 0 deletions
24
sites/jekyll-source/_layouts/home.html
Normal file
24
sites/jekyll-source/_layouts/home.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
<div class="home">
|
||||
{{ content }}
|
||||
|
||||
<h2>Recent Posts</h2>
|
||||
|
||||
<ul class="post-list">
|
||||
{% for post in site.posts limit:10 %}
|
||||
<li>
|
||||
<h3>
|
||||
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
||||
</h3>
|
||||
<p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</p>
|
||||
{% if post.description %}
|
||||
<p>{{ post.description }}</p>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p><a href="{{ "/archive" | relative_url }}">View all posts</a></p>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue