personal website
- HTML 76.7%
- JavaScript 16.6%
- CSS 6.2%
- Nunjucks 0.5%
| _site | fix nav styles and player | |
| public | update deps and add new entry | |
| src | fix nav styles and player | |
| .gitignore | test | |
| .pages.json | test | |
| .phcode.json | fix nav styles and player | |
| bun.lockb | update deps and add new entry | |
| eleventy.config.js | update deps and add new entry | |
| LICENSE | test | |
| package.json | update deps and add new entry | |
| README.md | test | |
eleventy-base-webc
A minimalist bare-bones Eleventy-official starter project useful for demos/experiments with WebC and the Eleventy site generator (using the v3.0 release).
Features
- Eleventy WebC plugin preconfigured:
- Includes the
<is-land>WebC component ready for use. - Add your own
*.webcfiles to the_componentsfolder.
- Includes the
- Using the new
nodefront matter type for arbitrary JavaScript front matter (vianode-retrieve-globals) - Simple WebC Eleventy Layout file with streamlined critical CSS and JS bundles (see
_includes/layouts/base.webc)
Get Started
- Make a copy of this code with one of these on the command line (both install into the current folder):
git clone https://github.com/11ty/eleventy-base-webc.git .npx degit 11ty/eleventy-base-webc- ...or you can use the "Use this template" button on GitHub.
- Install the dependencies by running
npm install - Run it with
npm start(see the other commands inpackage.jsonor on the CLI docs) - Navigate to
http://localhost:8080in your web browser. - Edit
content/index.webcto change content on the home page.
Demo
- Cloudflare Pages
- Netlify
- Learn more about deploying an Eleventy project to the web.