tchange php includes to be in a single line - mars - superminimal static website framework (HTM) git clone git://parazyd.org/mars.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 8d69737ace323cfe7d0babdba6a703f7dbd1981c (DIR) parent 15c898df0fdfd2de22ba63e9394700faa8d822f6 (HTM) Author: parazyd <parazyd@dyne.org> Date: Tue, 21 Jun 2016 09:54:58 +0200 change php includes to be in a single line Diffstat: M example/header.php | 4 +--- M example/index.php | 9 ++------- 2 files changed, 3 insertions(+), 10 deletions(-) --- (DIR) diff --git a/example/header.php b/example/header.php t@@ -11,6 +11,4 @@ <a id="headerLink" href="/">parazyd.cf</a> <span id="headerSubtitle">something something</span> </div> -<?php - include "navigation.php"; -?> +<?php include "navigation.php"; ?> (DIR) diff --git a/example/index.php b/example/index.php t@@ -1,11 +1,6 @@ -<?php -$title = "home"; -include "header.php"; -?> +<?php $title = "home"; include "header.php"; ?> <p> Welcome! This is an example php page that is generated into a static html page when you run <code>make</code></p> -<?php -include "footer.php"; -?> +<?php include "footer.php"; ?>