aboutsummaryrefslogtreecommitdiff
path: root/app/views/partials
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2018-11-22 01:47:25 -0500
committerThedro Neely <thedroneely@gmail.com>2018-11-22 01:47:25 -0500
commit945c6fee7c59559fbb1e6f00cebb7e83b8bfa422 (patch)
treed38b49d8114098105360587ac77b67bfdd7d0bcc /app/views/partials
parent42b0d31422e28eb445735cd8477ef7a4fd0ee769 (diff)
downloadthedroneely.com-945c6fee7c59559fbb1e6f00cebb7e83b8bfa422.tar.gz
thedroneely.com-945c6fee7c59559fbb1e6f00cebb7e83b8bfa422.tar.bz2
thedroneely.com-945c6fee7c59559fbb1e6f00cebb7e83b8bfa422.zip
app/views/partials: Dry up header views by splitting it up into snippets
Minor CSS changes
Diffstat (limited to 'app/views/partials')
-rw-r--r--app/views/partials/header.php12
-rw-r--r--app/views/partials/header.posts.php12
2 files changed, 6 insertions, 18 deletions
diff --git a/app/views/partials/header.php b/app/views/partials/header.php
index e69aee4..558ea2a 100644
--- a/app/views/partials/header.php
+++ b/app/views/partials/header.php
@@ -12,16 +12,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index,follow">
- <link href="/rss.xml" rel="feed" type="application/rss+xml" title="Thedro Neely"/>
+ <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/snippets/rss.php'; ?>
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
- <link rel="manifest" href="/site.webmanifest">
- <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
- <meta name="msapplication-TileColor" content="#b91d47">
- <meta name="theme-color" content="#ffffff">
+ <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/snippets/favicons.php'; ?>
- <link rel="stylesheet" href="/css/tdro.css">
+ <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/snippets/stylesheets.php'; ?>
</head>
diff --git a/app/views/partials/header.posts.php b/app/views/partials/header.posts.php
index 5825116..6cd9b45 100644
--- a/app/views/partials/header.posts.php
+++ b/app/views/partials/header.posts.php
@@ -7,14 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index,follow">
- <link href="/rss.xml" rel="feed" type="application/rss+xml" title="Thedro Neely"/>
+ <<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/snippets/rss.php'; ?>
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
- <link rel="manifest" href="/site.webmanifest">
- <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
- <meta name="msapplication-TileColor" content="#b91d47">
- <meta name="theme-color" content="#ffffff">
+ <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/snippets/favicons.php'; ?>
- <link rel="stylesheet" href="/css/tdro.css">
+ <?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/app/views/snippets/stylesheets.php'; ?>