Created
May 4, 2015 14:28
-
-
Save thijsvdanker/6bd702539e5c07195ef1 to your computer and use it in GitHub Desktop.
donttrustthem
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
<div id="page"> | |
<header id="header" role="banner"> | |
<?php if ($logo): ?> | |
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></a> | |
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo-mobile"><img src="<?php print $base_path; ?><?php print $directory; ?>/logo-mobile.png" alt="<?php print t('Home'); ?>" /></a> | |
<?php endif; ?> | |
<?php if ($site_name || $site_slogan): ?> | |
<hgroup id="name-and-slogan"> | |
<?php if ($site_name): ?> | |
<h1 id="site-name"> | |
<a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a> | |
</h1> | |
<?php endif; ?> | |
<?php if ($site_slogan): ?> | |
<h2 id="site-slogan"><?php print $site_slogan; ?></h2> | |
<?php endif; ?> | |
</hgroup><!-- /#name-and-slogan --> | |
<?php endif; ?> | |
<?php print render($page['header']); ?> | |
</header> | |
<?php print render($page['highlighted']); ?> | |
<div id="main"> | |
<div class="inter-content"> | |
<?php print render($page['inter_content']); ?> | |
</div> | |
<div id="content" class="column" role="main"> | |
<?php print $breadcrumb; ?> | |
<a id="main-content"></a> | |
<?php print render($title_prefix); ?> | |
<?php if ($title): ?> | |
<h1 class="title" id="page-title"><?php print $title; ?></h1> | |
<?php endif; ?> | |
<?php print render($title_suffix); ?> | |
<?php print $messages; ?> | |
<?php print render($tabs); ?> | |
<?php print render($page['help']); ?> | |
<?php if ($action_links): ?> | |
<ul class="action-links"><?php print render($action_links); ?></ul> | |
<?php endif; ?> | |
<?php print render($page['content']); ?> | |
<?php print $feed_icons; ?> | |
</div><!-- /#content --> | |
<?php print render($page['navigation']); ?> | |
<?php | |
// Render the sidebars to see if there's anything in them. | |
$sidebar_first = render($page['sidebar_first']); | |
$sidebar_second = render($page['sidebar_second']); | |
?> | |
<?php if ($sidebar_first || $sidebar_second): ?> | |
<aside class="sidebars"> | |
<?php print $sidebar_first; ?> | |
<?php print $sidebar_second; ?> | |
</aside><!-- /.sidebars --> | |
<?php endif; ?> | |
</div><!-- /#main --> | |
</div><!-- /#page --> | |
<div id="page-footer-wide"> | |
<?php print render($page['footer']); ?> | |
<?php print render($page['bottom']); ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't you just move
To the top or bottom of the file? (outside of the