added base plugin

This commit is contained in:
jeena 2013-07-10 13:12:17 +02:00
parent fcad3b07f1
commit 193bfd2247
5 changed files with 23 additions and 26 deletions

View file

@ -1,3 +1,12 @@
this is my site
<?php if($this->header_image): ?>
<img id="header_image" src="<?php echo $this->base ?>/img/header/<?php echo $this->header_image ?>" alt="">
<?php endif ?>
Title (<?php echo $this->title; ?>)
<h1><?php echo $this->title ?></h1>
<?php if($this->subtitle): ?>
<h2><?php echo $this->subtitle ?></h2>
<?php endif ?>
<div id="content">
<?php echo $this->content ?>
</div>

View file

@ -59,20 +59,7 @@
</header>
<article id="stage">
<?php if($this->headerImage): ?>
<img id="header_image" src="<?php echo $this->headerImage ?>" alt="">
<?php endif ?>
<h1><?php echo Navigation::getTitle(); ?></h1>
<?php if(Navigation::getSubtitle()): ?>
<h2><?php echo Navigation::getSubtitle(); ?></h2>
<?php endif ?>
<div id="content">
<?php echo $this->stageContent ?>
</div>
<?php echo $this->stageContent ?>
</article>
<footer>