feat: add 11ty template
This commit is contained in:
2
11ty/.gitignore
vendored
Normal file
2
11ty/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
_site
|
||||
22
11ty/README.md
Normal file
22
11ty/README.md
Normal 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
1
11ty/index.html
Normal file
@@ -0,0 +1 @@
|
||||
<!doctype html><title>11ty Page title</title><p>Hi</p>
|
||||
2181
11ty/package-lock.json
generated
Normal file
2181
11ty/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
11ty/package.json
Normal file
15
11ty/package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user