images | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
{% for image page.images %}
{% for post in site.posts %} | |
{% if post.categories contains 'Foo' %} | |
<li>{{ post.title }}</li> | |
{% endif %} | |
{% endfor %} |
defaults: | |
- scope: | |
path: '' | |
type: posts | |
values: | |
permalink: "/:categories/:title/" |
<li>{{ include.item.title }} | |
{% if include.item.items.size > 0 %} | |
<ul> | |
{% for item in include.item.items %} | |
{% include item.html item=item %} | |
{% endfor %} | |
</ul> | |
{% endif %} | |
</li> |
--- | |
--- | |
[ | |
{% for post in site.posts limit:10 %} | |
{ | |
"title": {{ post.title | jsonify }}, | |
"url": {{ post.url | jsonify }} | |
} | |
{% unless forloop.last %},{% endunless %} | |
{% endfor %} |
images | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
{% for image page.images %}
//Make sure you scroll down to get all data loaded | |
var text = ''; | |
$('.col-email').each(function(index,el) { | |
if (index == 0) { | |
text = 'Email, First Name, Last Name, Status, Date\n'; | |
} | |
else { | |
text = text + $.trim($(el).find("a").text()) + ','; | |
//First Name |
menu: | |
- title: Home | |
url: / | |
- title: About | |
url: /about | |
children: | |
- title: Contact | |
url: /about/contact | |
- title: Team | |
url: /about/team |
--- | |
defaults: | |
- scope: | |
path: '' | |
type: posts | |
values: | |
list_with_placeholder: ["placeholder"] | |
empty_list: [] | |
empty_object: {} |
for i in $(gem search '^GEMNAME$' --all \ | |
| grep -o '\((.*)\)$' \ | |
| tr -d '() ' \ | |
| tr ',' "\n") | |
do | |
gem install GEMNAME -v $i --no-document | |
done |