1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-09 07:06:41 +02:00

feat: add a favicon

Add a favicon at the root level and remove incorrect favicon links in error pages.

fix #128
This commit is contained in:
oupala
2019-05-29 14:50:53 +02:00
parent 2b13b41cca
commit b393699e57
8 changed files with 2 additions and 8 deletions

BIN
apaxy/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -22,8 +22,8 @@ IndexOptions +Charset=UTF-8 +FancyIndexing +FoldersFirst +HTMLTable +IconsAreLin
# meta viewport
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
# hide ".htaccess" file and "/theme" directory
IndexIgnore .htaccess /theme
# hide ".htaccess" file, "favicon.ico" file and "/theme" directory
IndexIgnore .htaccess favicon.ico /theme
#

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 400</title>
<link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head>

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 403</title>
<link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head>

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 404</title>
<link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head>

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 408</title>
<link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head>

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 500</title>
<link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head>

View File

@@ -4,7 +4,6 @@
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 502</title>
<link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets -->
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head>