Move hx attributes up, boost page/post contents
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<article class=auto>
|
||||
<h1 class=entry-title>{{ page.title }}</h1>
|
||||
<div class=entry-content>{{ page.text }}</div>
|
||||
<div class=entry-content hx-boost:inherited=true>{{ page.text }}</div>
|
||||
{%- if is_logged_on %}
|
||||
<p><small><a href="{{ page | edit_page_link }}">Edit Page</a></small></p>
|
||||
<p><small><a hx-boost=false href="{{ page | edit_page_link }}">Edit Page</a></small></p>
|
||||
{% endif -%}
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user