You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1012 B

3 years ago
3 years ago
  1. <?php
  2. /**
  3. * page
  4. *
  5. * @package custom
  6. */
  7. $this->need('header.php');
  8. ?>
  9. <div class="blank"></div>
  10. <div class="headertop"></div>
  11. <?php if (array_key_exists('thumbnail',unserialize($this->___fields())) & $this->fields->thumbnail != null): ?>
  12. <div class="pattern-center">
  13. <div class="pattern-attachment-img" style="background-image: url(<?php $this->fields->thumbnail(); ?>)"></div>
  14. <header class="pattern-header"><h1 class="entry-title"><?php $this->title() ?></h1></header>
  15. </div>
  16. <?php endif; ?>
  17. <div id="content" class="site-content">
  18. <div id="primary" class="content-area">
  19. <main id="main" class="site-main" role="main">
  20. <article class="hentry">
  21. <header class="entry-header">
  22. <h1 class="entry-title"><?php $this->title() ?></h1>
  23. </header>
  24. <div class="entry-content">
  25. <?php $this->content(); ?>
  26. </div>
  27. </article>
  28. </main>
  29. </div>
  30. </div>
  31. <?php $this->need('comments.php'); ?>
  32. </div>
  33. </section>
  34. <?php $this->need('footer.php'); ?>