From 7d6fc3336bad6e9244e8370a7026fa989cf28697 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 21 Jan 2017 14:44:57 -0500 Subject: [PATCH] Do not duplicate head tag --- app/templates/auth/login.php | 15 +-------------- app/templates/common/head.php | 17 +++++++++++++++++ app/templates/layout.php | 18 +----------------- 3 files changed, 19 insertions(+), 31 deletions(-) create mode 100644 app/templates/common/head.php diff --git a/app/templates/auth/login.php b/app/templates/auth/login.php index 1a0aec9..d9b8304 100644 --- a/app/templates/auth/login.php +++ b/app/templates/auth/login.php @@ -5,20 +5,7 @@ > - - - - - - - - - - - - - - Miniflux + diff --git a/app/templates/common/head.php b/app/templates/common/head.php new file mode 100644 index 0000000..d4f21af --- /dev/null +++ b/app/templates/common/head.php @@ -0,0 +1,17 @@ + + + + + + + +<?php echo isset($title) ? Miniflux\Helper\escape($title) : 'Miniflux' ?> + + + + + + + + + diff --git a/app/templates/layout.php b/app/templates/layout.php index 28a8fcf..5933981 100644 --- a/app/templates/layout.php +++ b/app/templates/layout.php @@ -5,23 +5,7 @@ > - - - - - - - - <?php echo isset($title) ? Miniflux\Helper\escape($title) : t('Miniflux') ?> - - - - - - - - - +