summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/pages/admin.py3
-rw-r--r--design/templates/archives/essays.html5
2 files changed, 3 insertions, 5 deletions
diff --git a/app/pages/admin.py b/app/pages/admin.py
index b5e41b4..7018195 100644
--- a/app/pages/admin.py
+++ b/app/pages/admin.py
@@ -16,8 +16,7 @@ class PageEntryForm(forms.ModelForm):
class PageAdmin(admin.ModelAdmin):
form = PageEntryForm
-
- list_display = ('title', 'slug',)
+ list_display = ('title', 'slug', 'path')
search_fields = ['title', 'body_markdown']
prepopulated_fields = {"slug": ('title',)}
fieldsets = (
diff --git a/design/templates/archives/essays.html b/design/templates/archives/essays.html
index e5b1178..648d7e9 100644
--- a/design/templates/archives/essays.html
+++ b/design/templates/archives/essays.html
@@ -10,9 +10,8 @@
<li>Essays</li>
</ul>
<main role="main" id="essay-archive" class="src-archive">
- <h1 class="topic-hed">Essays </h1>
- <h3 class="latest">Stuff that isn't really travel related</h3>
- {% for object in object_list %}
+ <h1 class="topic-hed">Essays</h1>
+ <h4>Stuff that isn't really travel related</h4>{% for object in object_list %}
<article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}" itemscope itemType="http://schema.org/Article">
<h2><a href="{{object.get_absolute_url}}">{{object.title|safe|smartypants|widont}}</a></h2>
<p>{{object.meta_description|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read&nbsp;more.</a></p>