fix(decap): fix config
This commit is contained in:
3
public/404.html
Normal file
3
public/404.html
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<title>404 Not Found</title>
|
||||||
|
<h1>404 Not Found</h1>
|
||||||
@@ -2,9 +2,13 @@ backend:
|
|||||||
name: gitea
|
name: gitea
|
||||||
branch: main
|
branch: main
|
||||||
repo: admin/my-blog
|
repo: admin/my-blog
|
||||||
|
api_root: https://gitea.shay7sev.site/api/v1
|
||||||
base_url: https://gitea.shay7sev.site # 你的 Gitea 域名
|
base_url: https://gitea.shay7sev.site # 你的 Gitea 域名
|
||||||
auth_type: token
|
# auth_type: token
|
||||||
token: 18067b7eb7befdf6711c28bf0cba648f28fa0887
|
# token: 18067b7eb7befdf6711c28bf0cba648f28fa0887
|
||||||
|
auth_endpoint: https://gitea.shay7sev.site/api/v1/login/oauth/authorize
|
||||||
|
app_id: c1281d27-51c4-44f0-88ed-eb54e5ebfcc7
|
||||||
|
app_secret: gto_ed5awdwu6jxqmtxfr4tgnwl7difbphutkaruv3ixh72agv2it7aa
|
||||||
media_folder: "static/uploads"
|
media_folder: "static/uploads"
|
||||||
public_folder: "/uploads"
|
public_folder: "/uploads"
|
||||||
|
|
||||||
|
|||||||
43
public/index.html
Normal file
43
public/index.html
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Zola</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<h1>Welcome to Zola!</h1>
|
||||||
|
<p>
|
||||||
|
You're seeing this page because we couldn't find a template to render.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
To modify this page, create a <b>index.html</b> file in the templates directory or
|
||||||
|
<a href="https://www.getzola.org/documentation/themes/installing-and-using-themes/" target="_blank">install a theme</a>.
|
||||||
|
<br>
|
||||||
|
You can find what variables are available in this template in the <a href="https://www.getzola.org/documentation/templates/pages-sections/#section-variables" target="_blank">documentation</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<a href="https://www.getzola.org/documentation/getting-started/cli-usage/" target="_blank">Get started with Zola</a>
|
||||||
|
</footer>
|
||||||
|
<style>
|
||||||
|
html {
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
font-family: "sans-serif";
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 20vh;
|
||||||
|
padding: 2rem;
|
||||||
|
background: #e9e9e9;
|
||||||
|
}
|
||||||
|
footer {
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
bottom: 1rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
4
public/robots.txt
Normal file
4
public/robots.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow:
|
||||||
|
Allow: /
|
||||||
|
Sitemap: https://zolablog.shay7sev.site/sitemap.xml
|
||||||
6
public/sitemap.xml
Normal file
6
public/sitemap.xml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<url>
|
||||||
|
<loc>https://zolablog.shay7sev.site/</loc>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
||||||
@@ -2,9 +2,13 @@ backend:
|
|||||||
name: gitea
|
name: gitea
|
||||||
branch: main
|
branch: main
|
||||||
repo: admin/my-blog
|
repo: admin/my-blog
|
||||||
|
api_root: https://gitea.shay7sev.site/api/v1
|
||||||
base_url: https://gitea.shay7sev.site # 你的 Gitea 域名
|
base_url: https://gitea.shay7sev.site # 你的 Gitea 域名
|
||||||
auth_type: token
|
# auth_type: token
|
||||||
token: 18067b7eb7befdf6711c28bf0cba648f28fa0887
|
# token: 18067b7eb7befdf6711c28bf0cba648f28fa0887
|
||||||
|
auth_endpoint: https://gitea.shay7sev.site/api/v1/login/oauth/authorize
|
||||||
|
app_id: c1281d27-51c4-44f0-88ed-eb54e5ebfcc7
|
||||||
|
app_secret: gto_ed5awdwu6jxqmtxfr4tgnwl7difbphutkaruv3ixh72agv2it7aa
|
||||||
media_folder: "static/uploads"
|
media_folder: "static/uploads"
|
||||||
public_folder: "/uploads"
|
public_folder: "/uploads"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user