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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:dsq="http://www.disqus.com/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:wp="http://wordpress.org/export/1.0/" | |
> | |
<channel> | |
<title>{{ blog.title }}</title> | |
<link>{{ blog.url }}</link> |
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
{% assign page = site.pages.blog %} | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0"> | |
<channel> | |
<title>{{site.title | xml_escape}}: {{page.title | xml_escape}}</title> | |
<link>{{page.permalink}}</link> | |
<pubDate>{{site.date | date_to_rfc822}}</pubDate> | |
{% for post in page.posts limit:20 %} | |
<item> | |
<title>{{post.title | xml_escape}}</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
<html> | |
<body> | |
<h1 data-localize="{{page.id}}.title">{{page.title}}</h1> | |
<div data-localize="{{page.id}}.body"> | |
{{content}} | |
</div> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> |
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
{% assign words = title | split:' ' %} | |
{% for word in words %}{% if forloop.last %} {% elsif forloop.index > 1 %} {% endif %}{{word}}{% endfor %} |
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
{% assign sorted_posts = posts.all | sort:'title' %} | |
{% for post in sorted_posts %} | |
<li>{{ post.title }}</li> | |
{% endfor %} |
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
{% for tag in taxonomy['tags'] %} | |
<h1>{{tag}}</h1> | |
<ul> | |
{% assign sorted_posts = tag.posts.all | sort:'title' %} | |
{% for post in sorted_posts %} | |
<li>{{post.title}}</li> | |
{% endfor %} | |
</ul> | |
{% endfor %} |
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
{% assign featured_ids = '' %} | |
Featured: | |
{% for post in taxonomy['tags']['featured'].posts limit:4 %} | |
{% assign featured_ids = featured_ids | append:',' | append:post.id %} | |
<li>{{post.title}}</li> | |
{% endfor %} | |
Everything else: | |
{% for post in posts %} |