mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 01:32:25 +01:00
Fix cover-image
and post
templates (closes #18)
This commit is contained in:
parent
9e88eb770a
commit
be3745579c
@ -1,3 +1,3 @@
|
||||
<?php if ($page->has('cover-image')): ?>
|
||||
<div class="cover-image" style="background-image:url(<?= $page->get('cover-image') ?>);"></div>
|
||||
<?php if ($page->has('image')): ?>
|
||||
<div class="cover-image" style="background-image:url(<?= $page->get('image') ?>);"></div>
|
||||
<?php endif; ?>
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?= $this->insert('_header') ?>
|
||||
<?= $this->insert('_cover-image') ?>
|
||||
<main>
|
||||
<div class="container">
|
||||
<article>
|
||||
|
Loading…
x
Reference in New Issue
Block a user