Created
August 25, 2021 13:05
-
-
Save wizhippo/942ad14db7471194d76ee8979e04a96a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article class="view-type view-type-{{ view_type }} {{ content.contentType.identifier|replace({'_': '-'}) }}"> | |
<div class="title file mime-type-{{ content.getField('file').value.mimeType|replace({'/': '-'})|replace({'.': '-'}) }}"> | |
{{ ez_render_field(content, 'file') }} | |
</div> | |
<div class="info"> | |
{{ content.contentType.name }} | |
</div> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment