This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (46 loc) · 1.97 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: 'Brightly Colored (@BrightlyColord): Star Wars, movies, technology, and more
from Tim Smith (@smithtimmytim) and friends.'
layout: default
exclude_from_search: true
custom_css_class: home
excerpt: Brightly Colored is a web-column about comics, Star Wars, Apple, technology,
movies, and other geekery.
---
<section class="posts">
{% assign filteredPosts = site.posts | where_exp: "item", "item.is_rss_only != true" %}
{% for post in filteredPosts limit: 5 %}
<article class="posts__post p-body format-{% if post.custom_type %}{{ post.custom_type }}{% endif %} h-entry">
{% if post.custom_type == 'post' %}
<header class="post__header">
<h1 class="p-name">
<a href="{{ post.url }}">{{ post.title | smartify | widont }}</a>
</h1>
{% if post.subtitle %}
<h2 class="post__subtitle">{{ post.subtitle | smartify | widont }}</h2>
{% endif %}
{% if post.review.type %}
{% include star-rating.html rating=post.review.rating %}
{% endif %}
</header>
<div class="e-content">{{ post.content | improve }}</div>
{% elsif post.custom_type == 'link' %}
<header class="post__header">
<h1 class="p-name">
<a href="{{ post.link_url }}">{{ post.title | smartify | widont }}</a>
</h1>
</header>
<div class="e-content">{{ post.content | improve }}</div>
{% endif %}
<footer class="post__footer">
{% include small-author.html %}
<a class="post__permalink" href="{{ post.url}}" title="Permalink to {{ post.title }}"><time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%b %d" }}</time></a>
{% include tags.html %}
</footer>
</article>
{% endfor %}
</section>
<div class="archive-link">
<a href="/archive/" class="btn btn--primary">Visit Full Archive</a>
</div>
<a href="mailto:smith@ttimsmith.com" class="screen-reader-hide" rel="me">smith@ttimsmith.com</a>