pupupu

simple static CMS for crappy servers
git clone https://git.ce9e.org/pupupu.git

commit
8809d19493521df274c28d545f34ff7f654cfe06
parent
6fd5397f0cb38c37448fb2b52c962674f4d7486f
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-10-19 13:38
rename base.html to default.html

Diffstat

M index.php 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/index.php b/index.php

@@ -218,7 +218,7 @@ class Pupupu
  218   218         $site = $this->getYaml('/_site');
  219   219         $body = $this->getMarkdown($path);
  220   220 
  221    -1         $template = $page['_template'] ?? 'base.html';
   -1   221         $template = $page['_template'] ?? 'default.html';
  222   222         $html = $this->twig->render($template, array(
  223   223             'page' => $page,
  224   224             'site' => $site,