diff options
author | Thomas Lange <code@nerdmind.de> | 2024-01-23 20:22:35 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2024-01-23 20:22:35 +0100 |
commit | 53c035918a4f34b826728e06d9b77e4bcb440517 (patch) | |
tree | 468f763d1fc4237e77b0c85771c20f69b3ac0ed2 /theme/default/html/main.php | |
parent | 09f52cfcc8ced8bed60e5c1702e6f35cf3fe1f29 (diff) | |
download | blog-53c035918a4f34b826728e06d9b77e4bcb440517.tar.gz blog-53c035918a4f34b826728e06d9b77e4bcb440517.tar.xz blog-53c035918a4f34b826728e06d9b77e4bcb440517.zip |
Remove trailing slash on void elements
The trailing slash on void elements (self-closing tags) doesn't have any
effect, isn't required by HTML5 and it is recommended to not use it.
Diffstat (limited to 'theme/default/html/main.php')
-rw-r--r-- | theme/default/html/main.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/theme/default/html/main.php b/theme/default/html/main.php index 18d5d40..46dcc84 100644 --- a/theme/default/html/main.php +++ b/theme/default/html/main.php @@ -18,31 +18,31 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']); <!DOCTYPE html> <html lang="<?=$BLOGMETA['LANG']?>"> <head> - <meta charset="UTF-8" /> - <meta name="referrer" content="origin-when-crossorigin" /> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta charset="UTF-8"> + <meta name="referrer" content="origin-when-crossorigin"> + <meta name="viewport" content="width=device-width, initial-scale=1"> <?php if(isset($HEAD_DESC)): ?> - <meta name="description" content="<?=$HEAD_DESC?>" /> + <meta name="description" content="<?=$HEAD_DESC?>"> <?php endif; ?> <?php if(isset($HEAD['PERM'])): ?> - <link rel="canonical" href="<?=$HEAD['PERM']?>" /> + <link rel="canonical" href="<?=$HEAD['PERM']?>"> <?php endif; ?> - <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:site_name" content="<?=$BLOGMETA_NAME?>"> + <meta property="og:title" content="<?=$HEAD_NAME?>"> + <meta property="og:image" content="<?=Application::getTemplateURL('rsrc/logo.png')?>"> <?php if(isset($HEAD['OG_IMAGES'])): ?> <?php foreach($HEAD['OG_IMAGES'] as $imageURL): ?> - <meta property="og:image" content="<?=$imageURL?>" /> + <meta property="og:image" content="<?=$imageURL?>"> <?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="alternate" type="application/rss+xml" title="<?=$BLOGMETA_NAME?>" href="<?=Application::getURL('feed/')?>" /> + <link rel="icon" href="<?=Application::getTemplateURL('rsrc/favicon.ico')?>"> + <link rel="stylesheet" href="<?=Application::getTemplateURL('rsrc/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> @@ -53,12 +53,12 @@ $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('rsrc/logo.png')?>" alt="<?=$BLOGMETA_NAME?>"> </a> </div> <nav id="main-navi"> <label for="toogle-nav" id="toogle-nav-label" class="fa fa-bars"></label> - <input type="checkbox" id="toogle-nav" /> + <input type="checkbox" id="toogle-nav"> <ul> <li> <a href="<?=Application::getURL()?>" title="<?=$Language->text('navigation_home_desc', $BLOGMETA_NAME)?>"> |