Compare commits
1 Commits
39803578af
...
a1e11c10d4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1e11c10d4 |
@@ -6,11 +6,3 @@
|
|||||||
{% include '_types/post/admin/_nav_entries.html' %}
|
{% include '_types/post/admin/_nav_entries.html' %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# Admin link #}
|
|
||||||
{% if post and has_access('blog.post.admin.admin') %}
|
|
||||||
{% import 'macros/links.html' as links %}
|
|
||||||
{% call links.link(url_for('blog.post.admin.admin', slug=post.slug), hx_select_search, select_colours, True, aclass=styles.nav_button) %}
|
|
||||||
<i class="fa fa-cog" aria-hidden="true"></i>
|
|
||||||
{% endcall %}
|
|
||||||
{% endif %}
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% import 'macros/links.html' as links %}
|
{% import 'macros/links.html' as links %}
|
||||||
{% macro header_row(oob=False) %}
|
{% macro header_row(oob=False) %}
|
||||||
{% call links.menu_row(id='post-row', oob=oob) %}
|
{% call links.menu_row(id='post-row', oob=oob) %}
|
||||||
{% call links.link(url_for('blog.post.post_detail', slug=post.slug), hx_select_search ) %}
|
<a href="{{ coop_url('/' + post.slug + '/') }}" class="flex items-center gap-2 px-3 py-2 rounded whitespace-normal text-center break-words leading-snug">
|
||||||
{% if post.feature_image %}
|
{% if post.feature_image %}
|
||||||
<img
|
<img
|
||||||
src="{{ post.feature_image }}"
|
src="{{ post.feature_image }}"
|
||||||
@@ -11,8 +11,8 @@
|
|||||||
<span>
|
<span>
|
||||||
{{ post.title | truncate(160, True, '…') }}
|
{{ post.title | truncate(160, True, '…') }}
|
||||||
</span>
|
</span>
|
||||||
{% endcall %}
|
</a>
|
||||||
{% call links.desktop_nav() %}
|
{% call links.desktop_nav() %}
|
||||||
{% include '_types/post/_nav.html' %}
|
{% include '_types/post/_nav.html' %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|||||||
Reference in New Issue
Block a user