summaryrefslogtreecommitdiff
path: root/controllers/static.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2018-08-01 17:08:07 -0700
committerAaron Parecki <aaron@parecki.com>2018-08-01 17:08:07 -0700
commit782780234a4d5eefc692b14b4a620fc24444f2db (patch)
tree70bf1014c799cf4b71ab596016c4482db919ef47 /controllers/static.php
parentf860747857830229ecf0d3e309f6d49e131b7e30 (diff)
improvements to login UI, upgrades libraries
makes the login experience a bit friendlier to non-developer users
Diffstat (limited to 'controllers/static.php')
-rw-r--r--controllers/static.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/controllers/static.php b/controllers/static.php
index 9822d6b..8c4425d 100644
--- a/controllers/static.php
+++ b/controllers/static.php
@@ -11,7 +11,7 @@ function doc_pages($page=null) {
'syndication' => 'Syndication',
'post-status' => 'Post Status',
];
- if($page == null)
+ if($page == null)
return $pages;
else
return $pages[$page];
@@ -28,7 +28,7 @@ $app->get('/', function($format='html') use($app) {
render('index', array(
'title' => 'Quill',
'meta' => '',
- 'authorizing' => false
+ 'authorizing' => false,
));
});
@@ -42,7 +42,7 @@ $app->get('/creating-a-micropub-endpoint', function() use($app) {
$app->get('/docs', function() use($app) {
render('docs/index', array(
- 'title' => 'Documentation',
+ 'title' => 'Documentation',
'authorizing' => false,
'pages' => doc_pages()
));
@@ -51,7 +51,7 @@ $app->get('/docs', function() use($app) {
$app->get('/docs/:page', function($page) use($app) {
if(file_exists('views/docs/'.$page.'.php'))
render('docs/'.$page, array(
- 'title' => doc_pages($page).' - Quill Documentation',
+ 'title' => doc_pages($page).' - Quill Documentation',
'authorizing' => false
));
else