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:
BIN
apaxy/favicon.ico
Normal file
BIN
apaxy/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
@@ -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
|
||||
|
||||
|
||||
#
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user