aboutsummaryrefslogtreecommitdiffstats
path: root/theme/default
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
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')
-rw-r--r--theme/default/html/feed/main.php2
-rw-r--r--theme/default/html/main.php10
-rw-r--r--theme/default/static/css/import/_fontello.scss (renamed from theme/default/rsrc/css/import/_fontello.scss)0
-rw-r--r--theme/default/static/css/import/_fonts.scss (renamed from theme/default/rsrc/css/import/_fonts.scss)0
-rw-r--r--theme/default/static/css/import/_responsive.scss (renamed from theme/default/rsrc/css/import/_responsive.scss)0
-rw-r--r--theme/default/static/css/main.css (renamed from theme/default/rsrc/css/main.css)0
-rw-r--r--theme/default/static/css/main.scss (renamed from theme/default/rsrc/css/main.scss)0
-rw-r--r--theme/default/static/font/fontello.json (renamed from theme/default/rsrc/font/fontello.json)0
-rw-r--r--theme/default/static/font/fontello.woff2 (renamed from theme/default/rsrc/font/fontello.woff2)bin16864 -> 16864 bytes
-rw-r--r--theme/default/static/font/ruda-n-400.woff2 (renamed from theme/default/rsrc/font/ruda-n-400.woff2)bin9120 -> 9120 bytes
-rw-r--r--theme/default/static/font/ruda-n-700.woff2 (renamed from theme/default/rsrc/font/ruda-n-700.woff2)bin9116 -> 9116 bytes
-rw-r--r--theme/default/static/logo.png (renamed from theme/default/rsrc/logo.png)bin2595 -> 2595 bytes
-rw-r--r--theme/default/static/main.js (renamed from theme/default/rsrc/main.js)0
13 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">
diff --git a/theme/default/rsrc/css/import/_fontello.scss b/theme/default/static/css/import/_fontello.scss
index 04c13c9..04c13c9 100644
--- a/theme/default/rsrc/css/import/_fontello.scss
+++ b/theme/default/static/css/import/_fontello.scss
diff --git a/theme/default/rsrc/css/import/_fonts.scss b/theme/default/static/css/import/_fonts.scss
index 109a541..109a541 100644
--- a/theme/default/rsrc/css/import/_fonts.scss
+++ b/theme/default/static/css/import/_fonts.scss
diff --git a/theme/default/rsrc/css/import/_responsive.scss b/theme/default/static/css/import/_responsive.scss
index d248bf4..d248bf4 100644
--- a/theme/default/rsrc/css/import/_responsive.scss
+++ b/theme/default/static/css/import/_responsive.scss
diff --git a/theme/default/rsrc/css/main.css b/theme/default/static/css/main.css
index 5fe9eed..5fe9eed 100644
--- a/theme/default/rsrc/css/main.css
+++ b/theme/default/static/css/main.css
diff --git a/theme/default/rsrc/css/main.scss b/theme/default/static/css/main.scss
index 4ea6a2b..4ea6a2b 100644
--- a/theme/default/rsrc/css/main.scss
+++ b/theme/default/static/css/main.scss
diff --git a/theme/default/rsrc/font/fontello.json b/theme/default/static/font/fontello.json
index aae4194..aae4194 100644
--- a/theme/default/rsrc/font/fontello.json
+++ b/theme/default/static/font/fontello.json
diff --git a/theme/default/rsrc/font/fontello.woff2 b/theme/default/static/font/fontello.woff2
index 75d56e6..75d56e6 100644
--- a/theme/default/rsrc/font/fontello.woff2
+++ b/theme/default/static/font/fontello.woff2
Binary files differ
diff --git a/theme/default/rsrc/font/ruda-n-400.woff2 b/theme/default/static/font/ruda-n-400.woff2
index 6435a0d..6435a0d 100644
--- a/theme/default/rsrc/font/ruda-n-400.woff2
+++ b/theme/default/static/font/ruda-n-400.woff2
Binary files differ
diff --git a/theme/default/rsrc/font/ruda-n-700.woff2 b/theme/default/static/font/ruda-n-700.woff2
index 0066431..0066431 100644
--- a/theme/default/rsrc/font/ruda-n-700.woff2
+++ b/theme/default/static/font/ruda-n-700.woff2
Binary files differ
diff --git a/theme/default/rsrc/logo.png b/theme/default/static/logo.png
index 7a62549..7a62549 100644
--- a/theme/default/rsrc/logo.png
+++ b/theme/default/static/logo.png
Binary files differ
diff --git a/theme/default/rsrc/main.js b/theme/default/static/main.js
index 164c50f..164c50f 100644
--- a/theme/default/rsrc/main.js
+++ b/theme/default/static/main.js