Skip to content

Instantly share code, notes, and snippets.

View mikedory's full-sized avatar

Mike Dory mikedory

View GitHub Profile

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@mikedory
mikedory / hyde_page_listing.html
Created March 24, 2012 21:09 — forked from navilan/hyde_page_listing.html
Sample code for listing a set of pages that belong to a node.
{% for node in page.node.walk %}
<ul>
{% for list_page in node.pages %}
{% if list_page.display_in_list %}
<li>
<h1><a href="{{list_page.url}}">{{list_page.title}}</a></h1>
{% if page.excerpt %}
<div class="page-excerpt">
{{ render_excerpt(list_page) }}
</div>