Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c981130e8 | |||
| df8c73a68e | |||
| 26f3beb031 | |||
| 3dbe393220 |
@@ -12,4 +12,4 @@ open-ww3-project-ww3-tw
|
||||
|
||||
**署名**
|
||||
|
||||
skimrme
|
||||
<a href="https://wiki.ww3.tw/doku.php?id=zh_cn:skimrme">skimrme</a>
|
||||
|
||||
1
public/blog/google02f6a3f6004a32c6.html
Normal file
1
public/blog/google02f6a3f6004a32c6.html
Normal file
@@ -0,0 +1 @@
|
||||
google-site-verification: google02f6a3f6004a32c6.html
|
||||
@@ -9,7 +9,6 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="app-canvas">
|
||||
|
||||
<header>
|
||||
<h1 style="margin: 80px 0 0 0; color:aqua;">open-ww3-project</h1>
|
||||
</header>
|
||||
@@ -31,12 +30,17 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- 倒过来的箱子 真不明白,为什么我会称呼箱子为open-ww3-project-->
|
||||
<div style="margin: 80px -30px -100px 180px;">
|
||||
<img id="open-ww3-project-img" width="10%" src="./src/img/open-ww3-project.png" alt="open-ww3-project-img">
|
||||
</div>
|
||||
<!-- gitea 图标 -->
|
||||
<a style="background-color: blueviolet; position: absolute;" href="https://gitea.ww3.tw/skimrme/open-ww3-project-ww3-tw">
|
||||
<img id="gitea-img" src="https://gitea.ww3.tw/assets/img/logo.svg" width="150px" alt="gitea" >
|
||||
</a>
|
||||
|
||||
<!-- 导航栏 -->
|
||||
<div id="content-area">
|
||||
<!--div>
|
||||
<img id="open-ww3-project-img" width="10%" src="../src/img/open-ww3-project.png" alt="open-ww3-project-img">
|
||||
</div-->
|
||||
<!-- 屑站日志 -->
|
||||
<h3 style="margin: 70px 0 30px -50px;">屑站日志:<br></h3>
|
||||
<div id="logs">
|
||||
@@ -102,9 +106,10 @@
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 私の娘 -->
|
||||
<div id="my_girl" style="margin: -40px 0 0 1100px;"></div>
|
||||
<!-- 私の娘 -->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -190,9 +195,51 @@
|
||||
/* up、right、down、left */
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
#gitea-img
|
||||
{
|
||||
margin: -150px 0 0 1150px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<!-- js 部分-->
|
||||
<script src="./src/js/main.js"> 引入js页面蓝图 </script>
|
||||
|
||||
<!-- 私の娘 -->
|
||||
<!-- https://cdn.jsdelivr.net/npm/sakana-widget@2.7.1/lib/sakana.min.css -->
|
||||
<!-- https://cdn.jsdelivr.net/npm/sakana-widget@2.7.1/lib/sakana.min.js -->
|
||||
<!-- https://cdnjs.cloudflare.com/ajax/libs/sakana-widget/2.7.1/sakana.min.css -->
|
||||
<!-- https://cdnjs.cloudflare.com/ajax/libs/sakana-widget/2.7.1/sakana.min.js -->
|
||||
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/sakana-widget@2.7.1/lib/sakana.min.css"
|
||||
/>
|
||||
|
||||
<script>
|
||||
function initSakanaWidget(){
|
||||
const customImageUrl = 'https://open-ww3-project.ww3.tw/blog/src/img/my_girl.png';
|
||||
const baseCharacter = SakanaWidget.getCharacter('chisato');
|
||||
const myCharacter = {
|
||||
image: customImageUrl,
|
||||
initialState: baseCharacter.initialState,
|
||||
};
|
||||
|
||||
SakanaWidget.registerCharacter('my_girl', myCharacter);
|
||||
new SakanaWidget({
|
||||
character: 'my_girl',
|
||||
size: 200,
|
||||
autoFit: true,
|
||||
controls: true
|
||||
}).mount('#my_girl');
|
||||
}
|
||||
</script>
|
||||
|
||||
<script
|
||||
async
|
||||
onload="initSakanaWidget()"
|
||||
src="https://cdn.jsdelivr.net/npm/sakana-widget@2.7.1/lib/sakana.min.js">
|
||||
</script>
|
||||
<!-- 私の娘 -->
|
||||
7
public/blog/robots.txt
Normal file
7
public/blog/robots.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
User-agent: *
|
||||
|
||||
Allow: /
|
||||
|
||||
Disallow: /admin/
|
||||
|
||||
Sitemap: https://open-ww3-project.ww3.tw/blog/sitemap.xml
|
||||
@@ -1,24 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="www.sitemaps.org">
|
||||
|
||||
<!-- 首页 -->
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://open-ww3-project.ww3.tw/blog/</loc>
|
||||
<lastmod>2025-12-12</lastmod>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
|
||||
<!-- 关于页面 -->
|
||||
<url>
|
||||
<loc>https://open-ww3-project.ww3.tw/blog/about/</loc>
|
||||
<lastmod>2025-12-12</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
<!-- 文章列表 -->
|
||||
<url>
|
||||
<loc>https://open-ww3-project.ww3.tw/blog/post/</loc>
|
||||
<lastmod>2025-12-12</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://open-ww3-project.ww3.tw/blog/test.html</loc>
|
||||
<lastmod>2025-12-13</lastmod>
|
||||
<priority>0.1</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
BIN
public/blog/src/img/my_girl.png
Normal file
BIN
public/blog/src/img/my_girl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
5033
public/blog/test.html
Normal file
5033
public/blog/test.html
Normal file
File diff suppressed because one or more lines are too long
1
public/blog/video.html
Normal file
1
public/blog/video.html
Normal file
@@ -0,0 +1 @@
|
||||
<iframe src="//player.bilibili.com/player.html?isOutside=true&aid=115578442356850&bvid=BV12CCdBkEL6&cid=34120008494&p=1&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" style="width: 100%; height: 100%;"></iframe>
|
||||
0
public/index.php
Executable file → Normal file
0
public/index.php
Executable file → Normal file
29
public/index.php.back
Executable file
29
public/index.php.back
Executable file
@@ -0,0 +1,29 @@
|
||||
<!-- 主路由配置 -->
|
||||
<?php
|
||||
|
||||
$request_uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
|
||||
// 定义条件
|
||||
$found_route = false;
|
||||
|
||||
|
||||
switch($request_uri){
|
||||
case '/':
|
||||
include './re_blog.php';
|
||||
exit(); // 执行成功立即结束
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
// posts 路由
|
||||
// 整改中
|
||||
|
||||
|
||||
// 所有路由匹配结束后,检查是否找到路由
|
||||
if (!$found_route) {
|
||||
// 设置 HTTP 状态码为 404
|
||||
header("HTTP/1.0 404 Not Found");
|
||||
// 包含 404 页面文件
|
||||
//exit();
|
||||
include "../src/views/error/404.html";
|
||||
exit(); // 执行成功立即结束
|
||||
}
|
||||
Reference in New Issue
Block a user