mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-09 20:26:42 +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
|
# meta viewport
|
||||||
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
|
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />"
|
||||||
|
|
||||||
# hide ".htaccess" file and "/theme" directory
|
# hide ".htaccess" file, "favicon.ico" file and "/theme" directory
|
||||||
IndexIgnore .htaccess /theme
|
IndexIgnore .htaccess favicon.ico /theme
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Error 400</title>
|
<title>Error 400</title>
|
||||||
<link rel="shortcut icon" href="img/icon.png">
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Error 403</title>
|
<title>Error 403</title>
|
||||||
<link rel="shortcut icon" href="img/icon.png">
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Error 404</title>
|
<title>Error 404</title>
|
||||||
<link rel="shortcut icon" href="img/icon.png">
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Error 408</title>
|
<title>Error 408</title>
|
||||||
<link rel="shortcut icon" href="img/icon.png">
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Error 500</title>
|
<title>Error 500</title>
|
||||||
<link rel="shortcut icon" href="img/icon.png">
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@@ -4,7 +4,6 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>Error 502</title>
|
<title>Error 502</title>
|
||||||
<link rel="shortcut icon" href="img/icon.png">
|
|
||||||
<!-- Stylesheets -->
|
<!-- Stylesheets -->
|
||||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||||
</head>
|
</head>
|
||||||
|
Reference in New Issue
Block a user