hesabixSite/templates/post/page.html.twig

37 lines
872 B
Twig
Raw Normal View History

2025-01-09 10:21:26 +03:30
{% extends 'base.html.twig' %}
2025-02-24 16:42:42 +03:30
{% block keywords %}
{{item.keywords}}
{% endblock %}
2025-01-09 10:21:26 +03:30
{% block title %}
{{ item.title }}
{% endblock %}
2025-01-10 03:04:35 +03:30
{% block des %}
{{ item.intro }}
{% endblock %}
2025-01-09 10:21:26 +03:30
{% block body %}
{% if item.plain is not null %}
{{ item.plain | raw}}
{% endif %}
{% if item.body is not null %}
2025-09-05 11:52:08 +03:30
<main class="min-h-screen bg-gray-50">
<div class="container mx-auto px-4 py-12">
<div class="max-w-4xl mx-auto">
<div class="bg-white rounded-2xl shadow-soft p-8 lg:p-12">
<!-- عنوان صفحه -->
<h1 class="text-3xl lg:text-4xl font-bold text-gray-900 mb-8 leading-tight">
{{item.title}}
</h1>
<!-- محتوای صفحه -->
<div class="prose prose-lg max-w-none text-gray-800 leading-relaxed">
{{ item.body | raw}}
</div>
</div>
2025-01-09 10:21:26 +03:30
</div>
</div>
2025-09-05 11:52:08 +03:30
</main>
2025-01-09 10:21:26 +03:30
{% endif %}
{% endblock %}