This file contains hidden or 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
<img src="{{ asset.url }}" class="resrc"/> | |
<script src="//use.resrc.it/0.9"></script> | |
<script> | |
resrc.ready(function () { | |
resrc.run(); | |
}); | |
</script> |
This file contains hidden or 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
{{ asset.url | prepend:'//you.imgix.net' | append:'?w=500&h=500' }} |
This file contains hidden or 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 post in posts %} | |
{% if post.meta['KEY'].value == 'VALUE' %} | |
<p>Post found: {{post.title}}</p> | |
{% break %} | |
{% endfor %} | |
{% endfor %} |
This file contains hidden or 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
{ | |
"site": {{ site | json }}, | |
"pages": {{ site.pages | json }}, | |
"posts": {{ site.posts | json }} | |
} |
This file contains hidden or 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
<form> | |
<input id="password" type="password"/> | |
<button>Submit</button> | |
</form> |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
{% if meta.redirect %} | |
<meta http-equiv="refresh" content="0;url={{meta.redirect}}"> | |
{% endif %} | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains hidden or 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 %} |
This file contains hidden or 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 %} |