rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit ef09037ffc5fac4c1ff92f5759d96ae4d3bcbd5e
parent dec531a7365195933f2a143334c4bfaa2ca3b006
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 10:40:49 +0100

some fixes

Diffstat:
Mthemes/jumbotron/index.php | 15++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -7,8 +7,10 @@ <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../core/libs/theme_engine/BootStrap/favicon.ico"> - - <title>RPICMS EXAMPLE THEME - Jumbotron Template</title> + + <?php + echo "<title>$blog_name</title>"; + ?> <!-- Bootstrap core CSS --> <link href="../../core/libs/theme_engine/BootStrap/css/bootstrap.min.css" rel="stylesheet"> @@ -29,6 +31,13 @@ <body> <?php + ####################### + # flush browser cache # + ####################### + header("Cache-Control: no-cache, must-revalidate, no-store"); + ########################## + # include required files # + ########################## require('../../core/backend/blog/posts.php'); require('../../core/config/variables.config.php') ?> @@ -67,7 +76,7 @@ <div class="container"> <h1> <?php - echo "<a href='#?id=$post_id' rel='bookmark'> $post_title </a>"; + echo "<a href='index.php?id=$post_id' rel='bookmark'> $post_title </a>"; ?> </h1> <div>