41 lines
1.3 KiB
Markdown
41 lines
1.3 KiB
Markdown
# 由点笔迹 App Support Page (Subpage)
|
|
|
|
This folder contains a simple, single-page public app support website for **由点笔迹** (offline app, no login required).
|
|
|
|
It now includes:
|
|
- `riji/index.html` for the support URL
|
|
- `riji/privacy/index.html` for the privacy policy URL
|
|
|
|
## Publish as a subpage (Recommended)
|
|
|
|
If you already have a GitHub Pages repo/site (with its own homepage), just copy the whole `riji/` folder into it.
|
|
|
|
The page URL will be `.../riji/` (a subpage), for example:
|
|
- Project pages: `https://<user>.github.io/<repo>/riji/`
|
|
- User/org pages: `https://<user>.github.io/riji/`
|
|
|
|
## New repo, but still a subpage
|
|
|
|
If you want a brand-new repo and still keep this as a subpage:
|
|
|
|
1. Create a new GitHub repository (public).
|
|
2. Put this folder into the repo as `riji/index.html`.
|
|
3. (Optional) Add a tiny root `index.html` that redirects to `/riji/`.
|
|
4. In GitHub: **Settings → Pages → Build and deployment → Deploy from a branch**
|
|
- Branch: `main`
|
|
- Folder: `/ (root)`
|
|
|
|
Example redirect file (optional):
|
|
|
|
```html
|
|
<!doctype html>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="refresh" content="0; url=./riji/" />
|
|
<title>Redirecting…</title>
|
|
<a href="./riji/">Open 由点笔迹 support page</a>
|
|
```
|
|
|
|
## If you want it as the homepage instead
|
|
|
|
Copy `riji/index.html` to the repo root as `index.html`.
|