pupupu

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

commit
c40c046368100ec75757cd8b934488be8ff0088c
parent
c2b55517879caf4b53253afc6532a7fbcfcee5ce
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-10-25 10:41
include domain in title

Diffstat

M index.php 1 +
M templates/base.html 2 +-

2 files changed, 2 insertions, 1 deletions


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

@@ -24,6 +24,7 @@ if (isset($_SERVER['REQUEST_METHOD'])) {
   24    24     $loader = new Twig_Loader_Filesystem('templates');
   25    25     $twig = new Twig_Environment($loader);
   26    26     $twig->addFilter(new Twig_Filter('trans', 'trans'));
   -1    27     $twig->addGlobal('site_title', $_SERVER['HTTP_HOST']);
   27    28 
   28    29     try {
   29    30         $auth = getAuth();

diff --git a/templates/base.html b/templates/base.html

@@ -3,7 +3,7 @@
    3     3 <head>
    4     4     <meta charset="utf-8">
    5     5     <meta name="viewport" content="width=device-width">
    6    -1     <title>pupupu</title>
   -1     6     <title>pupupu - {{ site_title }}</title>
    7     7     <link rel="stylesheet" type="text/css" href="node_modules/font-awesome/css/font-awesome.min.css">
    8     8     <link rel="stylesheet" type="text/css" href="node_modules/simplemde/dist/simplemde.min.css">
    9     9     <link rel="stylesheet" type="text/css" href="static/main.css">