triển khai drupal để làm FE
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme implementation to display a node.
|
||||
*/
|
||||
#}
|
||||
<article{{ attributes.addClass('node-article') }}>
|
||||
{% if not label is empty and not page %}
|
||||
<h2{{ title_attributes }}>
|
||||
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
||||
</h2>
|
||||
{% endif %}
|
||||
|
||||
<div{{ content_attributes.addClass('node-content') }}>
|
||||
{{ content }}
|
||||
</div>
|
||||
</article>
|
||||
Reference in New Issue
Block a user