Implements a blog
This commit is contained in:
parent
993bd5ad3c
commit
f9662407e3
122 changed files with 9898 additions and 4224 deletions
31
_layouts/blog.html
Normal file
31
_layouts/blog.html
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{% include head.html %}
|
||||
<body id="page-top" class="index">
|
||||
<div id="post-nav">
|
||||
{% include navigation.html %}
|
||||
</div>
|
||||
|
||||
{% for post in site.posts %}
|
||||
<section class="post">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="post-img" style="background-image: url(/img/posts/{{ post.image }});">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h2><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
|
||||
<p class="small">
|
||||
{{ post.date | date: "%b %-d, %Y" }} by {{ post.author }}
|
||||
</span></p>
|
||||
{{ post.excerpt }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endfor %}
|
||||
|
||||
{% include js.html %}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue