├── time-current-year.html ├── time-month-day-year.html ├── posts-next-post.html ├── posts-in-category.html ├── layout-page-title.html ├── .editorconfig ├── posts-list.html ├── posts-related.html ├── posts-full.html ├── posts-reading-time.html ├── layout-page-style.html ├── pages-nav.html ├── posts-archive-by-year.html ├── data-list.html ├── atom.xml ├── posts-pagination.html ├── LICENSE └── README.md /time-current-year.html: -------------------------------------------------------------------------------- 1 | {{ site.time | date: '%Y' }} 2 | -------------------------------------------------------------------------------- /time-month-day-year.html: -------------------------------------------------------------------------------- 1 | {{ page.date | date: "%B %-d, %Y" }} 2 | -------------------------------------------------------------------------------- /posts-next-post.html: -------------------------------------------------------------------------------- 1 | {% if page.next %} 2 | 3 | {{ page.next.title }} 4 | 5 | {% endif %} 6 | -------------------------------------------------------------------------------- /posts-in-category.html: -------------------------------------------------------------------------------- 1 | {% for post in site.categories.projects %} 2 |

{{ post.title }}

3 | {{ post.content }} 4 | {% endfor %} 5 | -------------------------------------------------------------------------------- /layout-page-title.html: -------------------------------------------------------------------------------- 1 | 2 | {% if page.title %} 3 | {{ page.title }} 4 | {% else %} 5 | {{ site.title }} 6 | {% endif %} 7 | 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | -------------------------------------------------------------------------------- /posts-list.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /posts-related.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /posts-full.html: -------------------------------------------------------------------------------- 1 |
2 | {% for post in site.posts %} 3 |
4 |

5 | 6 | {{ post.title }} 7 | 8 |

9 | 10 | 11 | {{ post.content }} 12 |
13 | {% endfor %} 14 |
15 | -------------------------------------------------------------------------------- /posts-reading-time.html: -------------------------------------------------------------------------------- 1 | {% comment %} 2 | Paste within a post layout. Change `content` to `page.content` if used within a layout file. 3 | {% endcomment %} 4 | 5 | {% capture words %} 6 | {{ content | number_of_words | minus: 180 }} 7 | {% endcapture %} 8 | {% unless words contains "-" %} 9 | {{ words | plus: 180 | divided_by: 180 | append: " minutes to read" }} 10 | {% endunless %} 11 | -------------------------------------------------------------------------------- /layout-page-style.html: -------------------------------------------------------------------------------- 1 | {% comment %} 2 | Add the snippet below to your layout to provide override styles on a per-page basis. For example: 3 | 4 | ``` 5 | --- 6 | layout: page 7 | title: History 8 | 9 | style: | 10 | .element { 11 | background-color: #333; 12 | } 13 | --- 14 | ``` 15 | {% endcomment %} 16 | 17 | {% if page.style %} 18 | 21 | {% endif %} 22 | -------------------------------------------------------------------------------- /pages-nav.html: -------------------------------------------------------------------------------- 1 | {% comment %} 2 | Dynamically generates a list of links to pages with `layout: page` in the front-matter, sorted alphabetically by URL. 3 | {% endcomment %} 4 | 5 | {% assign pages_list = site.pages | sort:"url" %} 6 | {% for node in pages_list %} 7 | {% if node.title != null %} 8 | {% if node.layout == "page" %} 9 | 10 | {{ node.title }} 11 | 12 | {% endif %} 13 | {% endif %} 14 | {% endfor %} 15 | -------------------------------------------------------------------------------- /posts-archive-by-year.html: -------------------------------------------------------------------------------- 1 | {% comment %} 2 | Displays a list of posts broken down by year. 3 | {% endcomment %} 4 | 5 | {% for post in site.posts %} 6 | {% capture currentyear %}{{ post.date | date: "%Y" }}{% endcapture %} 7 | {% if currentyear != year %} 8 | {% unless forloop.first %} 9 | 10 | {% endunless %} 11 |

{{ currentyear }}

12 |