The source code for derekonay.com, my personal portfolio website.
This is a static site generated using Eleventy. It features:
- Markdown for content management.
- Esbuild for bundling and minifying JavaScript.
- Eleventy Image for high-performance image optimization.
- Netlify for deployment.
- SSG: Eleventy v3.0
- Bundler: esbuild
- Styling: CSS / Sass
- Deployment: Netlify
-
Clone the repository:
git clone https://github.com/yourusername/portfolio.git cd portfolio -
Install dependencies:
npm install
To start the development server with hot-reloading:
npm startThis runs eleventy --serve and will be accessible at http://localhost:8080.
To build the project for production:
npm run buildThis command:
- Cleans the output directory (
public). - Runs Eleventy to generate static HTML.
- Optimizes images.
- Bundles JavaScript via esbuild.
src/: Source files._data/: Global data files._includes/: Layouts and partials.assets/: Static assets (CSS, JS, Images, Fonts).projects/: Project content pages.
.eleventy.js: Eleventy configuration.netlify.toml: Netlify deployment configuration.
