summaryrefslogtreecommitdiffstats
path: root/template/standard/html/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-20 22:10:01 +0100
committerThomas Lange <code@nerdmind.de>2017-03-20 22:10:01 +0100
commit37cf85eb36f14d5d6520e3e27f813edb8c4b6738 (patch)
tree9fccb9775715addf2d7149ed290d345c5644a2b3 /template/standard/html/main.php
parente33c245d910e55b8cab407a03e669470509a705d (diff)
downloadblog-37cf85eb36f14d5d6520e3e27f813edb8c4b6738.tar.gz
blog-37cf85eb36f14d5d6520e3e27f813edb8c4b6738.tar.xz
blog-37cf85eb36f14d5d6520e3e27f813edb8c4b6738.zip
The javascript part was outsourced to a new file to reduce duplicate code.
Diffstat (limited to 'template/standard/html/main.php')
-rw-r--r--template/standard/html/main.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/standard/html/main.php b/template/standard/html/main.php
index e6c0e10..c6cfa7d 100644
--- a/template/standard/html/main.php
+++ b/template/standard/html/main.php
@@ -47,6 +47,8 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
<link rel="alternate" type="application/rss+xml" title="<?=$Language->text('feed_name_posts', $BLOGMETA_NAME)?>" href="<?=Application::getURL('feed/post/')?>" />
<link rel="alternate" type="application/rss+xml" title="<?=$Language->text('feed_name_pages', $BLOGMETA_NAME)?>" href="<?=Application::getURL('feed/page/')?>" />
+ <script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script>
+
<title><?="{$HEAD_NAME} | {$BLOGMETA_NAME} {$BLOGMETA_DESC}"?></title>
</head>
<body>