Let's assume the following template folders and files in case you are
Twitter developer:
/layout/base.html
/layout/header.html
/layout/footer.html
/shared/tweetSingle.html
/shared/pagination.html
/tweets/tweets.html

Below is the content for each file:
************************************************
tweets.html
************************************************
{% extends "../layout/base.html" %}
{% block tweets %}
{% for tweet in tweets %}
{% include "../shared/tweetSingle.html" %}
{% endfor %}
{% include "../shared/pagination.html" %}
{% endblock %}
************************************************


************************************************
base.html
************************************************
{% include "../layout/header.html" %}
{% block tweets %}{% endblock %}
{% include "../layout/footer.html" %}


************************************************
header.html
************************************************
<html>
<head>
</head>
<body>


************************************************
footer.html
************************************************
</body>
</html>


************************************************
tweetSingle.html
************************************************
<div>{{ tweet.content }}</div>


************************************************
pagination.html
************************************************
<div>
<span style="float:right"><a href"{{ LINK_NEXT }}">Next</a></span>
<span><a href"{{ LINK_PREVIOUS }}">Previous</a></span>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to