update default website

This commit is contained in:
xiaoqi.cxq 2022-06-07 07:49:58 +08:00
parent 8b55b32ec8
commit 9651197c5c
10 changed files with 111 additions and 18 deletions

View File

@ -26,13 +26,14 @@ StackEdit的作者可能因为什么原因已经很久不维护了Github
**Gogs目前无法支持因为API目前不支持直接把Markdown推上去如果后续Gogs的API支持了再添加**
**已汉化主要功能部分2022-06-01**
对应Docker版本5.15.5, tag: v5.15.5
**接下来修改主文档空间为Gitee**
**已完成修改主文档空间为Gitee2022-06-04**
对应Docker版本5.15.6, tag: v5.15.6
### 目前已部署地址
https://edit.qicoder.com/
https://stackedit.cn/
该地址可以作为试用或长期使用本人承诺绝对没采集任何人的Token等敏感信息不需要担心私有仓库泄漏。

View File

@ -15,10 +15,10 @@
},
"app": {
"urls": [
"https://edit.qicoder.com/"
"https://stackedit.cn/"
],
"launch": {
"web_url": "https://edit.qicoder.com/app"
"web_url": "https://stackedit.cn/app"
}
},
"offline_enabled": true,

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>StackEdit中文版</title>
<link rel="canonical" href="https://edit.qicoder.com/app">
<link rel="canonical" href="https://stackedit.cn/app">
<meta name="description" content="Free, open-source, full-featured Markdown editor.">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="mobile-web-app-capable" content="yes">

View File

@ -37,6 +37,8 @@ module.exports = (app) => {
// Serve landing.html
app.get('/', (req, res) => res.sendFile(resolvePath('static/landing/index.html')));
// Serve privacy_policy.html
app.get('/privacy_policy.html', (req, res) => res.sendFile(resolvePath('static/landing/privacy_policy.html')));
// Serve sitemap.xml
app.get('/sitemap.xml', (req, res) => res.sendFile(resolvePath('static/sitemap.xml')));
// Serve callback.html

View File

@ -79,16 +79,16 @@ turndown:
# GitHub/GitLab/Gitee/Gitea commit messages
git:
createFileMessage: '{{path}} created from https://edit.qicoder.com/'
updateFileMessage: '{{path}} updated from https://edit.qicoder.com/'
deleteFileMessage: '{{path}} deleted from https://edit.qicoder.com/'
createFileMessage: '{{path}} created from https://stackedit.cn/'
updateFileMessage: '{{path}} updated from https://stackedit.cn/'
deleteFileMessage: '{{path}} deleted from https://stackedit.cn/'
# Default content for new files
newFileContent: |
> Written with [StackEdit](https://edit.qicoder.com/).
> Written with [StackEdit](https://stackedit.cn/).
# Default properties for new files
newFileProperties: |

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{files.0.name}}</title>
<link rel="stylesheet" href="https://edit.qicoder.com/style.css" />
<link rel="stylesheet" href="https://stackedit.cn/style.css" />
</head>
{{#if pdf}}

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{files.0.name}}</title>
<link rel="stylesheet" href="https://edit.qicoder.com/style.css" />
<link rel="stylesheet" href="https://stackedit.cn/style.css" />
</head>
{{#if pdf}}

View File

@ -3,7 +3,7 @@
<head>
<title>StackEdit中文版 浏览器内 Markdown 编辑器</title>
<link rel="canonical" href="https://edit.qicoder.com/">
<link rel="canonical" href="https://stackedit.cn/">
<link rel="icon" href="static/landing/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="static/landing/favicon.ico" type="image/x-icon">
<meta charset="UTF-8">
@ -13,7 +13,7 @@
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612">
<meta name="google-site-verification" content="iWDn0T2r2_bDQWp_nW23MGePbO9X0M8wQSzbOU70pFQ" />
<link rel="stylesheet" href="https://edit.qicoder.com/style.css">
<link rel="stylesheet" href="https://stackedit.cn/style.css">
<style>
body {
background-color: #fbfbfb;
@ -450,7 +450,7 @@
</a>
</div>
<a href="app" title="The app">The app</a> <a href="https://gitee.com/mafgwo/stackedit/issues" target="_blank" title="The app">Community</a><br>
Copyright 2022 <a href="https://gitee.com/mafgwo" target="_blank">豆萁</a><br>
© 2022 <a href="https://gitee.com/mafgwo" target="_blank">豆萁</a> <a href="https://beian.miit.gov.cn/" target="_blank">粤ICP备18096694号</a><br>
Licensed under an
<a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a>
<a href="privacy_policy.html" target="_blank">隐私策略</a>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="renderer" content="webkit" />
<meta name="viewport" id="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
<title> 隐私权政策</title>
<style>
html {
font-size: 14px;
color: #666;
}
* {
margin: 0;
padding: 0;
}
.title {
padding: 10px;
font-size: 16px;
color: #333;
text-align: center;
}
.date-text {
text-align: right;
padding-right: 20px;
color: #333;
padding-bottom: 6px;
}
body {
padding: 10px 10px 20px;
}
.main-text {
padding: 10px 0;
text-indent: 20px;
color: #333;
font-size: 16px;
}
.content {
text-indent: 20px;
line-height: 22px;
}
</style>
</head>
<body>
<h3 class="title"> 隐私权政策 </h3>
<div class="content">
【StackEdit中文版】以下简称“此站”深知个人信息对您的重要性 故不会特意收集个人信息。
</div>
<div class="content">
请在使用我们的产品(或服务)前,仔细阅读并了解本《隐私权政策》。
</div>
<div class="main-text">
一、我们不会收集个人文档信息
</div>
<div class="content">
个人文档都是存储在第三方此站仅仅是通过前端缓存的token来获取或保存文档到第三方并不会在本站后端保存用户的任何文档信息。
</div>
<div class="main-text">
二、我们不会收集个人第三方的Token或用户信息
</div>
<div class="content">
本站不存在注册行为不会收集个人信息但是为了正常从第三方把Markdown文档读取或写入有时需要借助本站后端获取第三方网站Token信息再返回给前端但是本站承诺绝不会收集个人第三方网站的Token信息只会在后端获取到之后返回给本站前端供前端使用。
</div>
<div class="main-text">
三、如何联系我们
</div>
<div class="content">
如果您对本隐私政策有任何疑问、意见或建议,通过以下方式与我们联系:
</div>
<div class="content">
邮箱【mafgwo@163.com】
</div>
<div class="content">
微信【qicoding】
</div>
<div class="content">
一般情况下,我们将在一周内回复。
</div>
</body>
</html>

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://edit.qicoder.com/</loc>
<loc>https://stackedit.cn/</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://edit.qicoder.com/app</loc>
<loc>https://stackedit.cn/app</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
@ -16,7 +16,7 @@
<priority>0.8</priority>
</url>
<url>
<loc>https://edit.qicoder.com/privacy_policy.html</loc>
<loc>https://stackedit.cn/privacy_policy.html</loc>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>