aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default/html/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2024-11-21 20:59:05 +0100
committerThomas Lange <code@nerdmind.de>2024-11-21 21:27:03 +0100
commit5ccca11a448ea315a6e64453e630694ba2c20e66 (patch)
treed29b46acc6ade8c3d94e272695122e7d1c611bf6 /theme/default/html/main.php
parent52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff)
downloadblog-5ccca11a448ea315a6e64453e630694ba2c20e66.tar.gz
blog-5ccca11a448ea315a6e64453e630694ba2c20e66.tar.xz
blog-5ccca11a448ea315a6e64453e630694ba2c20e66.zip
Rename "rsrc" directories to "static"
Stop using "rsrc" as name for the directories which contain static files and rename them to "static". This affects the global static directory and the static sub-directories in the theme directories. If you've stored your own files in the old global "rsrc" directory, you must move them to the new "static" directory.
Diffstat (limited to 'theme/default/html/main.php')
-rw-r--r--theme/default/html/main.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/theme/default/html/main.php b/theme/default/html/main.php
index f226ff1..223464c 100644
--- a/theme/default/html/main.php
+++ b/theme/default/html/main.php
@@ -32,7 +32,7 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
<meta property="og:site_name" content="<?=$BLOGMETA_NAME?>">
<meta property="og:title" content="<?=$HEAD_NAME?>">
- <meta property="og:image" content="<?=Application::getTemplateURL('rsrc/logo.png')?>">
+ <meta property="og:image" content="<?=Application::getTemplateURL('static/logo.png')?>">
<?php if(isset($HEAD['OG_IMAGES'])): ?>
<?php foreach($HEAD['OG_IMAGES'] as $imageURL): ?>
@@ -40,11 +40,11 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
<?php endforeach; ?>
<?php endif; ?>
- <link rel="icon" href="<?=Application::getTemplateURL('rsrc/favicon.ico')?>">
- <link rel="stylesheet" href="<?=Application::getTemplateURL('rsrc/css/main.css')?>" title="<?=$BLOGMETA_NAME?>">
+ <link rel="icon" href="<?=Application::getTemplateURL('static/favicon.ico')?>">
+ <link rel="stylesheet" href="<?=Application::getTemplateURL('static/css/main.css')?>" title="<?=$BLOGMETA_NAME?>">
<link rel="alternate" type="application/rss+xml" title="<?=$BLOGMETA_NAME?>" href="<?=Application::getURL('feed/')?>">
- <script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script>
+ <script defer src="<?=Application::getTemplateURL('static/main.js')?>"></script>
<title><?="{$HEAD_NAME} | {$BLOGMETA_NAME} {$BLOGMETA_DESC}"?></title>
</head>
@@ -53,7 +53,7 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']);
<header id="main-header">
<div>
<a href="<?=Application::getURL()?>" title="<?="{$BLOGMETA_NAME} {$BLOGMETA_DESC}"?>">
- <img id="main-logo" src="<?=Application::getTemplateURL('rsrc/logo.png')?>" alt="<?=$BLOGMETA_NAME?>">
+ <img id="main-logo" src="<?=Application::getTemplateURL('static/logo.png')?>" alt="<?=$BLOGMETA_NAME?>">
</a>
</div>
<nav id="main-navi">