31 lines
No EOL
802 B
PHP
31 lines
No EOL
802 B
PHP
<?php snippet('header') ?>
|
|
|
|
<main class="main" role="main">
|
|
<div class="mainwrapper">
|
|
|
|
<article class="text">
|
|
|
|
<h1><a href="<?php echo url('notes') ?>" > ↢</a> | <?php echo $page->title()->html() ?></h1>
|
|
|
|
<div class="articleinfo">
|
|
|
|
<time datetime="<?php echo $page->date('c') ?>" pubdate="pubdate"><?php echo $page->date('d.m.Y') ?></time>
|
|
|
|
<?php if($page->tags() != ''): ?> -
|
|
<span class="tagslocal">
|
|
<?php foreach(str::split($page->tags()) as $tag): ?>
|
|
<a href="<?php echo url('notes/tag:' . urlencode($tag)) ?>" >#<?php echo $tag; ?></a>
|
|
<?php endforeach ?>
|
|
</span>
|
|
<?php endif ?>
|
|
|
|
</div>
|
|
|
|
<?php echo $page->text()->kirbytext() ?>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
</main>
|
|
|
|
<?php snippet('footer') ?>
|