diff options
author | luxagraf <sng@luxagraf.net> | 2022-12-29 19:30:46 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-12-29 19:30:46 -0600 |
commit | 60bf1a8b71750b4423f36730a8e1d2c6093cd06a (patch) | |
tree | 37d4112fdbb59dae6cfb28eca1eb91a93222ccce | |
parent | 171e38c61daced0b97081a226bc2beb215730509 (diff) |
posts: changed notes intro again
-rw-r--r-- | app/posts/templates/posts/note_list.html | 9 | ||||
-rw-r--r-- | app/utils/views.py | 2 |
2 files changed, 4 insertions, 7 deletions
diff --git a/app/posts/templates/posts/note_list.html b/app/posts/templates/posts/note_list.html index 1ad353e..559933c 100644 --- a/app/posts/templates/posts/note_list.html +++ b/app/posts/templates/posts/note_list.html @@ -1,15 +1,14 @@ {% extends 'base.html' %} {% load typogrify_tags %} -{% block pagetitle %}Notes to My Children - By Scott Gilbertson {% endblock %} +{% block pagetitle %}Notes On Living - By Scott Gilbertson {% endblock %} {% block metadescription %}Musings and stories on self-reliance, DIY ethics, repair, living well, Gods, stoicism, tools, walking and other ephemera.{% endblock %} {% block breadcrumbs %}{% if breadcrumbs %}{% include "lib/breadcrumbs.html" with breadcrumbs=breadcrumbs %}{%endif%}{% endblock %} {% block primary %}<main class="archive-wrapper"> <div class="archive-intro"> - <h2 class="archive-hed">Notes to My Children</h2> - <p>This started off as a place to collect things I was publishing in various magazines, and there are some of those below. But then the excitement of publishing elsewhere wore off. This is the web after all, why not just publish it myself? So I am.</p> - <p>But I thought, who really is the audience here? Most of what I write about these days I'd like my kids to know when they're older and trying to figure life out. Other people seem to enjoy these as well though. Please feel free to email me regarding them, I'd love to hear your thoughts. Otherwise, please enjoy.</p> - </div> <h1 class="archive-sans">Notes</h1> + <p><em>Être fort pour être utile</em></p> + <p>Some of the essays below have appeared elsewhere, but they live here now, along with all the newer stuff. Please feel free to email me or leave a comment, I'd love to hear your thoughts on the ideas explored here. Otherwise, please enjoy.</p> + </div> <ul class="archive-list">{% for object in object_list %} <li class="h-entry hentry archive-list-card archive-list-card-sm" itemscope itemType="http://schema.org/Article"> <span class="date dt-published card-smcaps">{{object.pub_date|date:"F Y"}}</span> diff --git a/app/utils/views.py b/app/utils/views.py index 3422d1e..5b1e4fd 100644 --- a/app/utils/views.py +++ b/app/utils/views.py @@ -65,11 +65,9 @@ class LuxDetailView(DetailView): context['crumb_url'] = "/%ss/" % slugify(self.object.get_post_type_display()) else: context['breadcrumbs'] = (self.object._meta.verbose_name_plural,) - print(context['crumb_url']) try: context['crumb_url'] except KeyError: - print("something") try: context['crumb_url'] = reverse('%s:list' % slugify(self.object._meta.verbose_name_plural)) except: |