From bb81806bb58326f0dadfddc38705f0760c7c8d8f Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Mon, 20 Sep 2010 15:33:37 +0000 Subject: improved html structure and tweaked stylesheet accordingly --- templates/includes/recent_entries.html | 65 ++++++++++++------------- templates/includes/recent_entries_template.html | 25 +++++----- 2 files changed, 41 insertions(+), 49 deletions(-) (limited to 'templates/includes') diff --git a/templates/includes/recent_entries.html b/templates/includes/recent_entries.html index 3bcae08..fd9c7ef 100644 --- a/templates/includes/recent_entries.html +++ b/templates/includes/recent_entries.html @@ -1,36 +1,31 @@ +
+

Dinosaur National Monument, Part One: Echo Park

+

+ Dinosaur National Monument, Colorado   -

\ No newline at end of file + + Dinosaur National Monument, Part One: Echo Park +

+

Dinosaur National Monument was poorly named. The best parts of it are not the fossils in the quarry (which is closed for 2010 anyway) but the canyon country — some of the best, most remote canyon country you'll find in this part of the world.

+ +
+

The Endless Crowds of Yellowstone

+

+ Yellowstone National Park, Wyoming   + + + The Endless Crowds of Yellowstone +

+

There is wilderness in Yellowstone, even if it's just inches from the boardwalks that transport thousands around the geothermal pools. It may not be wilderness on a grand scale — the sweeping mountain peaks or wild rivers of other parks — but in some ways that makes it more enticing. As one Ranger told me, Yellowstone isn't about the big picture, the grand scenery, it's about the tiny details within each pool. To really see Yellowstone, he said, you have to take your time, move slowly and look closely.

+ +
+

Backpacking in the Grand Tetons

+

+ Grand Teton National Park, Wyoming   + + + Backpacking in the Grand Tetons +

+

Hiking into the wilderness empties your mind. You fall into the silence of the mountains and you can relax in a way that's very difficult to do in the midst of civilization. The white noise that surrounds us in our everyday lives, that noise we don't even notice as it adds thin layers of stress that build up over days, weeks, years, does not seem capable of following us into the mountains.

+ +
diff --git a/templates/includes/recent_entries_template.html b/templates/includes/recent_entries_template.html index 847dc47..97c05f9 100644 --- a/templates/includes/recent_entries_template.html +++ b/templates/includes/recent_entries_template.html @@ -1,14 +1,11 @@ -{% load typogrify %} - \ No newline at end of file +{% load typogrify %}{% for object in object_list %}
+

{{object.title|smartypants|widont|safe}}

+

+ {% if object.location.state.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.location.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.location.state.country.name}}{%endif%}   + + + {%if object.thumbnail%}{{ object.title }}{%endif%} +

+

{{object.dek|safe}}

+ +
{% endfor %} -- cgit v1.2.3-70-g09d2