forked from gayanvirajith/gaya
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added seperate section for blog entries
Signed-off-by: Anil Vishnoi <[email protected]>
- Loading branch information
1 parent
6142756
commit 6266840
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
layout: default | ||
title: Blog | ||
permalink: /blog/ | ||
--- | ||
<div> | ||
<article class="post"> | ||
<h2 class="post-title" style="text-align: center;color:#1a426d"> <b>Blog</b> </h2> | ||
</article> | ||
|
||
{% for blog in site.categories.blog %} | ||
{% assign post_url = paper.url | replace: '//', '/' | prepend: site.baseurl | prepend: site.url %} | ||
|
||
<article class="post"> | ||
<h2 class="post-title"> | ||
<a href="{{ blog.url | replace: '//', '/' | prepend: site.baseurl | prepend: site.url}}#disqus_thread"> | ||
{{ blog.title }} | ||
</a> | ||
</h2> | ||
|
||
<p class="post-meta"> | ||
<span class="post-meta"> | ||
{{ blog.date | date: "%b %-d, %Y" }} | ||
{% if blog.tags %} • {{ blog.tags }}{% endif %} | ||
{% if blog.meta %} • {{ blog.meta }}{% endif %} | ||
</span> | ||
</p> | ||
|
||
{{ blog.excerpt }} | ||
<a href="{{ blog.url | replace: '//', '/' | prepend: site.baseurl | prepend: site.url }}"> | ||
Continue reading » | ||
</a> | ||
</article> | ||
{% endfor %} | ||
</div> |
File renamed without changes.