docs/docs/pages.md
2026-04-26 15:02:13 +00:00

19 lines
No EOL
1.2 KiB
Markdown

# Using ARI.LT pages
We support static pages hosting via our Forgejo service. The usage is straight-forward:
1. Create a public repository at <https://git.ari.lt/>.
- `.webpage` repository is special! It allows you to create your "lander" page at `https://pg.ari.lt/YOUR_USERNAME`.
- Any other repository name must be specified in the URL later on.
2. Upload HTML files to your repository. The repository root is treated as the repository root, therefore, `index.html` should be at the top-level of your project.
3. Visit your live website:
- `https://pages.ari.lt/YOUR_USERNAME` (for `.webpage`) (e.g., <https://git.ari.lt/ari/.webpage> maps to <https://pg.ari.lt/ari>)
- `https://pages.ari.lt/YOUR_USERNAME/YOUR_REPOSITORY` (e.g., <https://git.ari.lt/ari/testerpage> maps to <https://pg.ari.lt/ari/testerpage>)
Shrimple as that!
Note that the TOR version is available as well via `http://pg.arija664fy4c6zhfbsytbqcbz5gcc3qjuwaz4ue6cium5c5fo2fgakyd.onion/user/repo`
Our pages hosting source code: <https://git.0011.lt/0011/forgejo-pages-proxy> - running upstream (mirror: https://git.ari.lt/mirror/forgejo-pages-proxy)
P.S. if you're creating a page on a repo, it'd be pretty cool if you added the `pages` topic to the repo :)