Skip to content

Commit

Permalink
Write About page and Introducting Tale post
Browse files Browse the repository at this point in the history
  • Loading branch information
chesterhow committed Mar 29, 2017
1 parent cfd874b commit e54b300
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 25 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Permalinks
permalink: /:categories/:title
permalink: /:year-:month-:day/:title

# Setup
title: Tale
Expand Down
3 changes: 1 addition & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ <h2 class="nav-title">{{ site.title }}</h2>
</a>
<ul>
<li><a href="{{ '/about' | prepend: site.url }}">About</a></li>
<li><a href="#">Posts</a></li>
<li><a href="#">Updates</a></li>
<li><a href="{{ site.baseurl }}/">Posts</a></li>
</ul>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ <h1 class="post-title">{{ page.title }}</h1>
<a href="{{ page.previous.url | prepend: site.url }}" class="right arrow">&#8594;</a>
{% endif %}

<a href="{{ site.baseurl }}/" class="home">home</a>
<a href="#" class="top">Top</a>
</div>
15 changes: 0 additions & 15 deletions _posts/2017-03-08-introducing-tale.md

This file was deleted.

2 changes: 1 addition & 1 deletion _posts/2017-03-10-welcome-to-jekyll.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Welcome to Jekyll!"
author: "Chester"
author: "Jekyll"
---

You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
Expand Down
23 changes: 23 additions & 0 deletions _posts/2017-03-29-introducing-tale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: post
title: "Introducing Tale"
author: "Chester"
---

Tale is minimal [Jekyll](https://jekyllrb.com/) theme curated for storytellers. It is designed and developed by [myself](https://github.com/chesterhow/) for a friend who writes short stories.

## Tale features
- Responsive design (looks just as good on mobile)
- Syntax highlighting, with the help of Pygments
- Markdown and HTML text formatting
- Pagination of posts

Head over to the [Example Content](/2017-03-16/example-content) post for a showcase of Tale's text formatting features.

## Browser Support
Tale works on most if not all modern browsers, including Chrome, Safari and Firefox 👍🏼

## Download or Contribute
Tale is publicly hosted on GitHub, so go ahead and download or fork it at the [GitHub repository](https://github.com/chesterhow/tale). If you spot any bugs or have any suggestions, feel free to create an issue or make a pull request.

Thanks for checking out Tale!
5 changes: 2 additions & 3 deletions _sass/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
font-size: 1.1rem;
}

.home {
.top {
@include transition(all .3s ease-out);
color: $default-color;
font-family: $sans-font;
font-size: 1.1rem;
opacity: .6;

&:hover,
&:focus, {
&:hover {
opacity: 1;
}
}
Expand Down
9 changes: 8 additions & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ author: "Chester"
permalink: /about/
---

Tale is a minimal Jekyll theme curated for storytellers.
A friend of mine writes short stories. One sunny day, I asked if he wanted a website to showcase his works and he agreed. I decided to use GitHub Pages to host his site. That way he wouldn't have to buy a domain and a server.

While doing some research up on GitHub Pages, I accidentally chanced upon this _simple, blog-aware, static site generator_ called [Jekyll](https://jekyllrb.com/) which works really well with GitHub Pages. I figured it would do just fine for my friend and I set about searching for a pretty theme. I wanted a theme with a _book-ish_ vibe. Unfortunately, most of the themes were too modern. Eventually, I caved and begun working on my own theme. With the help of [Poole](https://github.com/poole/poole), the Jekyll Butler, I was able to build **Tale**.

## Contribute
Feel free to create an issue or make a pull request on [GitHub](https://github.com/chesterhow/tale).

Thanks for reading!
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<h1 class="catalogue-title">{{ post.title }}</h1>
<div class="catalogue-line"></div>

{{ post.content | truncatewords: 30 }}
<p>
{{ post.content | truncatewords: 30 | strip_html }}
</p>

</div>
</a>
Expand Down

0 comments on commit e54b300

Please sign in to comment.