- JavaScript 62.6%
- CSS 30%
- HTML 6.1%
- Nunjucks 1.3%
| src | ||
| .editorconfig | ||
| .gitignore | ||
| eleventy.config.js | ||
| LICENSE-content | ||
| LICENSE.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Leilukin's Hub
Source code of my hobby website, Leilukin's Hub. Built with Eleventy.
More technical information about this website can be found on the site's colophon page.
Run Locally
Requirement: Node.js.
- Clone the project repository locally:
git clone https://git.leilukin.com/Leilukin/leilukin-site.git - Install dependencies:
npm install - Run the project:
npm run dev - Open http://localhost:1414/ in your web browser.
The npm run dev command runs both Eleventy and Pagefind to build the website and create the website's search index respectively, then serve the project output in a local server.
After creating and updating the website's search index, if you want to run the website locally again, you can instead run the npm run dev-11ty command, which runs Eleventy to build the website and serve the output in a hot-reloading local server, then open http:localhost:8080/ in your web browser.
If you want to rebuild the website, you can run npm run re. If you want to rebuild the website and run it locally, you can run npm run re-dev.
Licence
The content of this project itself is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying source code used to format and display that content is licensed under the GNU Affero General Public License 3.0.