diff options
author | Thomas Lange <code@nerdmind.de> | 2024-11-21 20:59:05 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2024-11-21 21:27:03 +0100 |
commit | 5ccca11a448ea315a6e64453e630694ba2c20e66 (patch) | |
tree | d29b46acc6ade8c3d94e272695122e7d1c611bf6 /theme/default/html | |
parent | 52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff) | |
download | blog-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')
-rw-r--r-- | theme/default/html/feed/main.php | 2 | ||||
-rw-r--r-- | theme/default/html/main.php | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/theme/default/html/feed/main.php b/theme/default/html/feed/main.php index bdd0a48..9f8e0b9 100644 --- a/theme/default/html/feed/main.php +++ b/theme/default/html/feed/main.php @@ -23,7 +23,7 @@ $self = Application::getURL('feed/'); <image> <title><?=$title?></title> - <url><?=Application::getTemplateURL('rsrc/logo.png')?></url> + <url><?=Application::getTemplateURL('static/logo.png')?></url> <link><?=Application::getURL()?></link> </image> 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"> |