This commit is contained in:
creations 2025-05-10 21:54:12 -04:00
parent e438f308b8
commit 395b9fa305
Signed by: creations
GPG key ID: 8F553AA4320FC711
3 changed files with 49 additions and 1 deletions

31
README.md Normal file
View file

@ -0,0 +1,31 @@
# banana.me static site
This repository powers your personal static website at:
```
https://<yourusername>.banana.me/
```
## Setup
1. Create a new repo named **pages**.
2. Add a basic `index.html` file (see examples in this repo).
3. Push to the `static-pages` branch:
```bash
git checkout -b static-pages
git push -u origin static-pages
```
Your site will be live shortly at `https://<yourusername>.banana.me/`
## Directory structure
- `index.html` → Homepage
- `style.css`, images, etc. are supported too
## Notes
- Only the `static-pages` branch is served
- Use subdirectories if you want, e.g. `/blog/index.html`
- Full repo path (e.g. `/repo`) is also accessible if needed

View file

@ -1 +1,12 @@
<h1>Hello from Forgejo Pages</h1>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>banana.me Site</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Hello from banana.me!</h1>
<p>This is a personal static site.</p>
</body>
</html>

6
style.css Normal file
View file

@ -0,0 +1,6 @@
body {
font-family: sans-serif;
background-color: #f4f4f4;
text-align: center;
margin-top: 50px;
}