Created
December 21, 2012 13:36
-
-
Save soulston/4352889 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 id="node-{{ node.nid }}" class="clearfix {{ attributes.class }}"{{ attributes }}> | |
<div class="test">This code should be output at the top of the node</div> | |
{{ title_prefix }} | |
{% if not page %} | |
<h2><a href="{{ node_url }}" rel="bookmark">{{ title }}</a></h2> | |
{% endif %} | |
{{ title_suffix }} | |
{% if display_submitted %} | |
<footer> | |
{{ user_picture }} | |
{% set args = {'!author': author, '!date': created} %} | |
<p class="submitted">{{ 'by !author on !date' | t(args) }}</p> | |
</footer> | |
{% endif %} | |
<div class="content {{ content_attributes.class }}"{{ content_attributes }}> | |
{# We hide the comments and links now so that we can render them later. #} | |
{{ hide(content.comments) }} | |
{{ hide(content.links) }} | |
{{ content }} | |
</div> | |
{{ content.links }} | |
{{ content.comments }} | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment