feat: add 11ty template

This commit is contained in:
Michał Ordon
2025-04-01 02:38:02 +01:00
parent 729efb7d29
commit 8075bf7b64
6 changed files with 2222 additions and 0 deletions

2
11ty/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules
_site

22
11ty/README.md Normal file
View File

@@ -0,0 +1,22 @@
# 11ty Example
This repository contains an example of 11ty application that is deployed on Dokploy.
1. **Use Git Provider in Your Application**:
- Repository: `https://github.com/Dokploy/examples.git`
- Branch: `main`
- Build path: `/11ty`
- Publish Directory: `./_site` (Nixpacks)
3. **Click on Deploy**:
- Deploy your application by clicking the deploy button.
4. **Generate a Domain**:
- Click on generate domain button.
- A new domain will be generated for you.
- Set Port `80`
- You can use this domain to access your application.
If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).

1
11ty/index.html Normal file
View File

@@ -0,0 +1 @@
<!doctype html><title>11ty Page title</title><p>Hi</p>

2181
11ty/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

15
11ty/package.json Normal file
View File

@@ -0,0 +1,15 @@
{
"name": "11ty",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"dev": "npx @11ty/eleventy --serve",
"build": "npx @11ty/eleventy"
},
"keywords": [],
"description": "",
"type": "module",
"dependencies": {
"@11ty/eleventy": "^3.0.0"
}
}