New design/layout for page_title block for all twig files#22
New design/layout for page_title block for all twig files#22OStefan2001 wants to merge 2 commits into
Conversation
alexmerlin
left a comment
There was a problem hiding this comment.
Other than those repeating elements in each template (that could be moved to a different template and each file would extend that new template), nothing to complain.
|
I will change that |
|
is this way okay ? and in title-section partial conditions if data exists to display that div |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #22 +/- ##
==========================================
Coverage 21.12% 21.12%
Complexity 195 195
==========================================
Files 45 45
Lines 871 871
==========================================
Hits 184 184
Misses 687 687 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
It is ok. {% block page_title %}
{{
include('@partial/title-section.html.twig', {
back_href: url('page::blog'),
back_label: 'Back to Blog',
badge: 'Headless Platform',
article: article,
})
}}
{% endblock %}Then, in |
No description provided.