forked from chesterhow/tale
-
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.
- Loading branch information
1 parent
f4daf4e
commit 0a0aaba
Showing
6 changed files
with
58 additions
and
63 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
_site | ||
*.gem | ||
.bundle | ||
.sass-cache | ||
.jekyll-metadata | ||
_site | ||
Gemfile.lock |
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 |
---|---|---|
@@ -1,33 +1,22 @@ | ||
# Permalinks | ||
permalink: /:year-:month-:day/:title | ||
|
||
# Setup | ||
title: Tale | ||
title: "Site title" | ||
paginate: 5 | ||
baseurl: "/tale" | ||
url: "https://chesterhow.github.io" | ||
|
||
# Assets | ||
# sass: | ||
# sass_dir: _sass | ||
# style: :compressed | ||
baseurl: # the subpath of your site e.g. "/blog" | ||
url: # the base hostname & protocol for your site e.g. "https://chesterhow.github.io" | ||
|
||
# Build settings | ||
markdown: kramdown | ||
theme: tale | ||
|
||
# About | ||
author: | ||
name: Chester How | ||
url: http://chester.how | ||
email: [email protected] | ||
|
||
# Custom vars | ||
version: 3.4.1 | ||
github: | ||
repo: https://github.com/chesterhow/tale | ||
name: "Your name" | ||
url: | ||
email: | ||
|
||
# Gems | ||
plugins: | ||
- jekyll-paginate | ||
|
||
theme: tale | ||
# Permalinks | ||
permalink: /:year-:month-:day/:title |
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,31 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class="catalogue"> | ||
{% for post in paginator.posts %} | ||
<a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item"> | ||
<div> | ||
<time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time> | ||
<h1 class="catalogue-title">{{ post.title }}</h1> | ||
<div class="catalogue-line"></div> | ||
|
||
<p> | ||
{{ post.content | truncatewords: 30 | strip_html }} | ||
</p> | ||
|
||
</div> | ||
</a> | ||
{% endfor %} | ||
</div> | ||
|
||
<div class="pagination"> | ||
{% if paginator.previous_page %} | ||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">←</a> | ||
{% endif %} | ||
{% if paginator.next_page %} | ||
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">→</a> | ||
{% endif %} | ||
|
||
<span>{{ paginator.page }}</span> | ||
</div> |
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,32 +1,3 @@ | ||
--- | ||
layout: default | ||
title: Home | ||
layout: home | ||
--- | ||
|
||
<div class="catalogue"> | ||
{% for post in paginator.posts %} | ||
<a href="{{ post.url | prepend: site.baseurl }}" class="catalogue-item"> | ||
<div> | ||
<time datetime="{{ post.date }}" class="catalogue-time">{{ post.date | date: "%B %d, %Y" }}</time> | ||
<h1 class="catalogue-title">{{ post.title }}</h1> | ||
<div class="catalogue-line"></div> | ||
|
||
<p> | ||
{{ post.content | truncatewords: 30 | strip_html }} | ||
</p> | ||
|
||
</div> | ||
</a> | ||
{% endfor %} | ||
</div> | ||
|
||
<div class="pagination"> | ||
{% if paginator.previous_page %} | ||
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left arrow">←</a> | ||
{% endif %} | ||
{% if paginator.next_page %} | ||
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right arrow">→</a> | ||
{% endif %} | ||
|
||
<span>{{ paginator.page }}</span> | ||
</div> |
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Gem::Specification.new do |spec| | ||
spec.name = "tale" | ||
spec.version = "0.1.0" | ||
spec.version = "0.0.5" | ||
spec.authors = ["Chester How"] | ||
spec.email = ["[email protected]"] | ||
|
||
|