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-29 15:10:40 +0100
commitebc5cf9ac20b959c6d4a6a34643eb8657cf9db84 (patch)
tree6a17f88f2afd17f8afac6a0d744d6369e2a65cdb /theme/default/html/main.php
parent52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff)
downloadblog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.tar.gz
blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.tar.xz
blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.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 subdirectories 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">