2025-2-26-fixed
This commit is contained in:
16
themes/next/layout/post.swig
Normal file
16
themes/next/layout/post.swig
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends '_layout.swig' %}
|
||||
{% import '_macro/sidebar.swig' as sidebar_template with context %}
|
||||
|
||||
{% block title %}{{ page.title }} | {{ title }}{% endblock %}
|
||||
|
||||
{% block class %}post posts-expand{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ partial('_macro/post.swig', {post: page}) }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{{ sidebar_template.render(true) }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user