aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2017-01-08 21:17:16 +0100
committerFran├žois Kooman <fkooman@tuxed.net>2017-01-08 21:17:16 +0100
commit6c24c8625db5b310a775c9b6c881b2bef99cecb1 (patch)
treeb393617d1e1dc06a961d8b345625c8fba38df315
parentc44287313ec05665f4e9b2df8fb4db4ce2cb7b7e (diff)
downloadwww.tuxed.net-6c24c8625db5b310a775c9b6c881b2bef99cecb1.zip
www.tuxed.net-6c24c8625db5b310a775c9b6c881b2bef99cecb1.tar.gz
www.tuxed.net-6c24c8625db5b310a775c9b6c881b2bef99cecb1.tar.xz
fix footer
-rw-r--r--.php_cs.dist16
-rw-r--r--generate.php2
-rw-r--r--views/footer.twig2
3 files changed, 18 insertions, 2 deletions
diff --git a/.php_cs.dist b/.php_cs.dist
new file mode 100644
index 0000000..7caac44
--- /dev/null
+++ b/.php_cs.dist
@@ -0,0 +1,16 @@
+<?php
+
+$finder = PhpCsFixer\Finder::create()
+ ->in(__DIR__)
+;
+
+return PhpCsFixer\Config::create()
+ ->setRules([
+ '@PSR2' => true,
+ '@Symfony' => true,
+ 'ordered_imports' => true,
+ 'array_syntax' => ['syntax' => 'short'],
+ 'ordered_class_elements' => true,
+ ])
+ ->setFinder($finder)
+;
diff --git a/generate.php b/generate.php
index 33978a7..ff8cb9a 100644
--- a/generate.php
+++ b/generate.php
@@ -111,7 +111,7 @@ $indexPage = $twig->render(
'pageTitle' => 'Blog',
'blogTitle' => $blogTitle,
'blogDescription' => $blogDescription,
- 'blogAuthor' => $blogAuthor
+ 'blogAuthor' => $blogAuthor,
]
);
diff --git a/views/footer.twig b/views/footer.twig
index fb2743e..7405193 100644
--- a/views/footer.twig
+++ b/views/footer.twig
@@ -1,5 +1,5 @@
<div class="footer">
- <p>&copy; 2017 <a href="contact.html">{{ blogAuthor }}</a></p>
+ <p>&copy; 2017 {{ blogAuthor }}</p>
</div>
</body>