fixed taxonomy term page display (lieux, topologie, structure)

This commit is contained in:
2021-12-16 23:03:34 +01:00
parent 5cb1d7b63e
commit 4e3dcd61ab
5 changed files with 278 additions and 24 deletions
@@ -0,0 +1,36 @@
<!-- start article.node -->
<article id="node-<?php print $node->nid; ?>" class="node type-<?php print $node->type; ?><?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " unpublished"; } ?>">
<?php if ($page == 0 && isset($title)): ?>
<h1 class="nodetitle">
<?php $types = ['document', 'document_video', 'document_sonor', 'object']; // , 'effectuation' ?>
<?php if (!in_array($node->type, $types)) : ?>
<a href="<?php print $node_url?>"><?php print $title?></a>
<?php else: ?>
<?php print $title?>
<?php endif; ?>
</h1>
<?php endif; ?>
<section class="content">
<?php
hide($content['comments']);
hide($content['links']);
print render($content);
?>
</section>
<?php if ($submitted): ?>
<aside class="submitted">
<?php print $submitted?>
</aside>
<?php endif; ?>
<?php if (false && $links = render($content['links'])): ?>
<nav class="nav">
<?php print $links; ?>
</nav>
<?php endif; ?>
</article>
<!-- end article.node -->