Revision | d48da0be60013bb7eeb7ec433edeab6903d29cb1 (tree) |
---|---|
Time | 2009-09-29 07:44:17 |
Author | Steve Losh <steve@stev...> |
Commiter | Steve Losh |
Initial commit with sample data.
@@ -0,0 +1,14 @@ | ||
1 | +{% extends "_tip.html" %} | |
2 | + | |
3 | +{%hyde | |
4 | + title: Second Sample Tip | |
5 | + author_name: Steve Losh | |
6 | + author_link: http://stevelosh.com/ | |
7 | + created: 2009-09-24 | |
8 | +%} | |
9 | + | |
10 | +{% block tip %} | |
11 | + <h1>This is another tip!</h1> | |
12 | + | |
13 | + <p>Here you go again.</p> | |
14 | +{% endblock %} | |
\ No newline at end of file |
@@ -0,0 +1,16 @@ | ||
1 | +{% extends "_tip.html" %} | |
2 | + | |
3 | +{%hyde | |
4 | + title: Nudge -- A Gentler Version of Push | |
5 | + author_name: Steve Losh | |
6 | + author_link: http://stevelosh.com/ | |
7 | + created: 2009-09-28 | |
8 | +%} | |
9 | + | |
10 | +{% block excerpt %} | |
11 | + Add an alias to push only the working directory's parent(s). | |
12 | +{% endblock %} | |
13 | + | |
14 | +{% block tip %} | |
15 | + <p>Sometimes you might not want to push everything in your current repository!</p> | |
16 | +{% endblock %} | |
\ No newline at end of file |
@@ -0,0 +1,5 @@ | ||
1 | +{% extends "skeleton/_listing.html"%} | |
2 | +{% hyde | |
3 | + title: Advanced Tips | |
4 | + excerpt: True | |
5 | +%} |
@@ -0,0 +1,1 @@ | ||
1 | +{% extends "skeleton/_atom.xml" %} | |
\ No newline at end of file |
@@ -0,0 +1,12 @@ | ||
1 | +{% extends "_tip.html" %} | |
2 | + | |
3 | +{%hyde | |
4 | + title: Friendlier Logs with Graphlog | |
5 | + author_name: Steve Losh | |
6 | + author_link: http://stevelosh.com/ | |
7 | + created: 2009-09-24 | |
8 | +%} | |
9 | + | |
10 | +{% block tip %} | |
11 | + <p>The <code>graphlog</code> extension is your friend.</p> | |
12 | +{% endblock %} | |
\ No newline at end of file |
@@ -0,0 +1,17 @@ | ||
1 | +{% extends "_tip.html" %} | |
2 | + | |
3 | +{%hyde | |
4 | + title: Tip for Tomorrow | |
5 | + author_name: Steve Losh | |
6 | + author_link: http://stevelosh.com/ | |
7 | + created: 2009-09-25 | |
8 | +%} | |
9 | + | |
10 | + | |
11 | +{% block tip %} | |
12 | + <p>Creeps in this petty pace from day to day.</p> | |
13 | +{% endblock %} | |
14 | + | |
15 | +{% block excerpt %} | |
16 | + A small tip for a big day. | |
17 | +{% endblock %} | |
\ No newline at end of file |
@@ -0,0 +1,5 @@ | ||
1 | +{% extends "skeleton/_listing.html"%} | |
2 | +{% hyde | |
3 | + title: Beginner Tips | |
4 | + excerpt: True | |
5 | +%} |
@@ -0,0 +1,26 @@ | ||
1 | +{% extends "skeleton/_listing.html"%} | |
2 | +{% hyde | |
3 | + title: All Tips | |
4 | + excerpt: True | |
5 | +%} | |
6 | + | |
7 | + | |
8 | +{% block content %} | |
9 | + {% recent_posts tips 5000 %} | |
10 | + <ol class="tip-list"> | |
11 | + {% for tip in tips %} | |
12 | + {% if tip.display_in_list %} | |
13 | + <li> | |
14 | + <h3 class="tip-list-title"> | |
15 | + <a href="{{ tip.url }}">{{ tip.title }}</a> | |
16 | + </h3> | |
17 | + <span class="tip-list-info"> | |
18 | + by {{ tip.author_name }} | |
19 | + on {{ tip.created|date:"F j, Y" }} | |
20 | + </span> | |
21 | + <p class="tip-list-excerpt">{% render_excerpt tip %}</p> | |
22 | + </li> | |
23 | + {% endif %} | |
24 | + {% endfor %} | |
25 | + </ol> | |
26 | +{% endblock %} | |
\ No newline at end of file |