forked from prose/starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul of stuff to reflect some of the new changes in Jekyll and co…
…nfiguration options in prose
- Loading branch information
tristen
committed
Jun 12, 2013
1 parent
f712d17
commit d35d517
Showing
17 changed files
with
218 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
auto: true | ||
server: true | ||
baseurl: | ||
permalink: /:title | ||
baseurl: /starter | ||
permalink: pretty | ||
markdown: rdiscount |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<item> | ||
<title>{{item.title | xml_escape}}</title> | ||
<link>http://mapbox.com{{item.url}}</link> | ||
<description>{{item.content | markdownify | xml_escape}}</description> | ||
<pubDate>{{item.date | date_to_xmlschema}}</pubDate> | ||
<dc:creator>SITE NAME</dc:creator> | ||
<guid isPermaLink="true">{{site.baseurl}}{{item.url}}</guid> | ||
</item> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class='col4 margin3 pad4'> | ||
<a class='rss' href='{{site.baseurl}}/blog.rss'>Subscribe via RSS</a> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
layout: default | ||
section: blog | ||
--- | ||
|
||
{% if page.splash %} | ||
{% if page.splash contains 'http' %} | ||
{% capture url %}{{page.splash}}{% endcapture %} | ||
{% else %} | ||
{% capture url %}{{site.baseurl}}{{page.splash}}/{% endcapture %} | ||
{% endif %} | ||
|
||
<div class='col12 splash'> | ||
<img src='{{url}}' alt='' /> | ||
</div> | ||
{% endif %} | ||
|
||
<div class='listing col6 pad4h margin3'> | ||
<div class='heading'> | ||
<h1>{{page.title}}</h1><span class='date'>{{page.date | date:"%b %d"}}</span> | ||
</div> | ||
|
||
<div class='prose'> | ||
{{content}} | ||
</div> | ||
</div> | ||
|
||
{% include rss-link.html %} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class='listing col6 pad4h margin3'> | ||
<h2>{{page.title}}</h2> | ||
<div class='prose'> | ||
{{content}} | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: blog | ||
category: blog | ||
splash: 'http://placehold.it/1600x500' | ||
--- | ||
|
||
Proin at eros non eros adipiscing mollis. Donec semper turpis sed diam. Sed consequat ligula nec tortor. Integer eget sem. Ut vitae enim eu est vehicula gravida. Morbi ipsum ipsum, porta nec, tempor id, auctor vitae, purus. Pellentesque neque. Nulla luctus erat vitae libero. Integer nec enim. Phasellus aliquam enim et tortor. Quisque aliquet, quam elementum condimentum feugiat, tellus odio consectetuer wisi, vel nonummy sem neque in elit. Curabitur eleifend wisi iaculis ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non velit non ligula laoreet ultrices. Praesent ultricies facilisis nisl. Vivamus luctus elit sit amet mi. Phasellus pellentesque, erat eget elementum volutpat, dolor nisl porta neque, vitae sodales ipsum nibh in ligula. Maecenas mattis pulvinar diam. Curabitur sed leo. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: blog | ||
category: blog | ||
splash: 'http://placehold.it/1600x500' | ||
--- | ||
|
||
Proin at eros non eros adipiscing mollis. Donec semper turpis sed diam. Sed consequat ligula nec tortor. Integer eget sem. Ut vitae enim eu est vehicula gravida. Morbi ipsum ipsum, porta nec, tempor id, auctor vitae, purus. Pellentesque neque. Nulla luctus erat vitae libero. Integer nec enim. Phasellus aliquam enim et tortor. Quisque aliquet, quam elementum condimentum feugiat, tellus odio consectetuer wisi, vel nonummy sem neque in elit. Curabitur eleifend wisi iaculis ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non velit non ligula laoreet ultrices. Praesent ultricies facilisis nisl. Vivamus luctus elit sit amet mi. Phasellus pellentesque, erat eget elementum volutpat, dolor nisl porta neque, vitae sodales ipsum nibh in ligula. Maecenas mattis pulvinar diam. Curabitur sed leo. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: blog | ||
category: blog | ||
splash: 'http://placehold.it/1600x500' | ||
--- | ||
|
||
Proin at eros non eros adipiscing mollis. Donec semper turpis sed diam. Sed consequat ligula nec tortor. Integer eget sem. Ut vitae enim eu est vehicula gravida. Morbi ipsum ipsum, porta nec, tempor id, auctor vitae, purus. Pellentesque neque. Nulla luctus erat vitae libero. Integer nec enim. Phasellus aliquam enim et tortor. Quisque aliquet, quam elementum condimentum feugiat, tellus odio consectetuer wisi, vel nonummy sem neque in elit. Curabitur eleifend wisi iaculis ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non velit non ligula laoreet ultrices. Praesent ultricies facilisis nisl. Vivamus luctus elit sit amet mi. Phasellus pellentesque, erat eget elementum volutpat, dolor nisl porta neque, vitae sodales ipsum nibh in ligula. Maecenas mattis pulvinar diam. Curabitur sed leo. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
layout: page | ||
permalink: about/ | ||
--- | ||
|
||
Proin at eros non eros adipiscing mollis. Donec semper turpis sed diam. Sed consequat ligula nec tortor. Integer eget sem. Ut vitae enim eu est vehicula gravida. Morbi ipsum ipsum, porta nec, tempor id, auctor vitae, purus. Pellentesque neque. Nulla luctus erat vitae libero. Integer nec enim. Phasellus aliquam enim et tortor. Quisque aliquet, quam elementum condimentum feugiat, tellus odio consectetuer wisi, vel nonummy sem neque in elit. Curabitur eleifend wisi iaculis ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non velit non ligula laoreet ultrices. Praesent ultricies facilisis nisl. Vivamus luctus elit sit amet mi. Phasellus pellentesque, erat eget elementum volutpat, dolor nisl porta neque, vitae sodales ipsum nibh in ligula. Maecenas mattis pulvinar diam. Curabitur sed leo. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
prose: | ||
rooturl: '_posts' | ||
siteurl: 'http://prose.io/starter' | ||
relativeLinks: 'http://prose.io/starter/links.jsonp' | ||
media: '_posts/media' | ||
metadata: | ||
_posts: | ||
- name: "category" | ||
field: | ||
element: "hidden" | ||
value: "blog" | ||
- name: "layout" | ||
element: "layout" | ||
value: "blog" | ||
- name: "Title" | ||
element: "text" | ||
label: "Title" | ||
value: "" | ||
- name: "splash" | ||
element: "text" | ||
label: "Splash image" | ||
value: "" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
origin: / | ||
title: Blog | ||
description: Occasional Blog Posts | ||
--- | ||
|
||
<?xml version='1.0' encoding='utf-8' ?> | ||
<rss version='2.0' xml:base='{{page.url}}' xmlns:dc='http://purl.org/dc/elements/1.1/'> | ||
<channel> | ||
<title>{{page.title}}</title> | ||
<link>{{site.baseurl}}</link> | ||
<description>{{page.description}}</description> | ||
<language>en</language> | ||
{% for item in site.categories.blog limit:40 %}{% include rss-item.xml %}{% endfor %} | ||
</channel> | ||
</rss> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
--- | ||
layout: default | ||
title: untitled | ||
section: blog | ||
--- | ||
|
||
<div class='listing col6 pad4h margin3'> | ||
{% for item in site.categories.blog limit:1000 %} | ||
{% capture date %}{{ item.date | date: '%B %Y' }}{% endcapture %} | ||
{% capture ndate %}{{ item.next.date | date: '%B %Y' }}{% endcapture %} | ||
|
||
Hello World! | ||
{% if date != ndate %} | ||
<h4 class='month'>{{item.date | date: '%B %Y'}}</h4> | ||
{% endif %} | ||
<a class='item' href='{{site.baseurl}}{{item.url}}'>{{item.title}} <span class='date'>~ {{item.date | date:"%b %d"}}</span></a> | ||
{% endfor %} | ||
</div> | ||
|
||
{% include rss-link.html %} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
--- | ||
callback([ | ||
{% for post in site.posts reversed | sort: title %} | ||
{ | ||
"text": "{{post.title | replace:'"','\"'}}", | ||
"href": "{{site.baseurl}}{{post.url}}" | ||
} {% unless forloop.last %},{% endunless%} | ||
{% 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