-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added postinfo template and sample post that displays it.
Added author setting to site.yaml.
- Loading branch information
Showing
5 changed files
with
31 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
url: /sample-post/ | ||
title: Sample Post | ||
created: 2015-01-25T17:45:30 | ||
template: post.html | ||
noindex: 1 | ||
--- | ||
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac | ||
cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit | ||
amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. | ||
|
||
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac | ||
cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit | ||
amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. | ||
|
||
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac | ||
cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit | ||
amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
site: | ||
base_url: http://localhost:8080 | ||
disqus_shortname: null | ||
author: Author | ||
|
||
indexes: | ||
- path: tags | ||
|
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,9 @@ | ||
{% if author %} | ||
<p>Written by {{ author }}.</p> | ||
{% endif %} | ||
<p> | ||
<i class="fa fa-calendar"></i> <time datetime="{{ created.strftime('%Y-%m-%dT%H:%M') }}">{{ created.strftime('%B %d, %Y') }}</time> | ||
{% if updated and updated.strftime('%Y%m%d') != created.strftime('%Y%m%d') %} | ||
(updated: <time datetime="{{ updated.strftime('%Y-%m-%dT%H:%M') }}">{{ updated.strftime('%B %d, %Y') }}</time>) | ||
{% endif %} | ||
</p> |