commit 8d69737ace323cfe7d0babdba6a703f7dbd1981c
parent 15c898df0fdfd2de22ba63e9394700faa8d822f6
Author: parazyd <parazyd@dyne.org>
Date: Tue, 21 Jun 2016 09:54:58 +0200
change php includes to be in a single line
Diffstat:
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/example/header.php b/example/header.php
@@ -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"; ?>
diff --git a/example/index.php b/example/index.php
@@ -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"; ?>