diff options
author | luxagraf <sng@luxagraf.net> | 2023-07-27 08:55:31 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-07-27 08:55:31 -0500 |
commit | 94dc3eb97f4ddb09da3dde887703e95d5a876576 (patch) | |
tree | e6c5dbee693fe99fa9dd338583e26e12e7849022 /app/posts/templates | |
parent | 3e31c2bb0e5984d344a1c5d7144fb956b395f062 (diff) |
posts: added top level link to new stuff
Diffstat (limited to 'app/posts/templates')
-rw-r--r-- | app/posts/templates/posts/post_list.html | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/app/posts/templates/posts/post_list.html b/app/posts/templates/posts/post_list.html index 316a11b..17828a6 100644 --- a/app/posts/templates/posts/post_list.html +++ b/app/posts/templates/posts/post_list.html @@ -4,11 +4,20 @@ {%endblock%} {% block primary %} <main class="content"> - <ul>{% for object in object_list %} - <li> - <a href="/post/{{object.id}}/notes">{{object.title}}</a> - </li>{% endfor %} - </ul> + <div class="narrow mtop"> + <h2>New Guides</h2> + <ul>{% for object in object_list %} + <li> + <a href="/post/{{object.id}}/notes">{{object.title}}</a> + </li>{% endfor %} + </ul> + <h2>Reviews and Raves</h2> + <ul>{% for object in reviews %} + <li> + <a href="{{object.get_absolute_url}}">{{object.title}}</a> + </li>{% endfor %} + </ul> + </div> </main> {% endblock %} {% block js %} |