Skip to content

ishchow/personal-site

Repository files navigation

Netlify Status

Personal website created using Eleventy and TailwindCSS. Hosted on Netlify.

License

Contents of this site (blog posts etc.) are licensed under CC BY-NC-4.0. Source code used to render and display content is licensed under the MIT.

Setup Dependencies

Install the latest LTS release of NodeJS. Then install the required node packages:

npm install

Start Dev Server

Compile assets then build and serve the static website using Eleventy. The local site can be found in localhost:8080. Site is contained in /dist.

npm run dev

Run production builds

Compile and minify assets and then build the pages using Eleventy. Site is contained in /dist.

npm run build

Clean site folder

Remove /dist folder containing site. This is done automatically before production builds.

npm run clean

Create a new post

Create a new Markdown file for new post based on a given title and current date. Filename is automatically formatted based on current date and slugified title. Front matter variables are automatically generated.

npm run newpost -- --title="Post Title"

Run lighthouse

Run lighthouse and view the report in your browser. Useful for checking performance, accessibility, seo compliance, and PWA compliance.

npx run lighthouse https://www.ishaat.ca --view

About

Personal website created using Eleventy and TailwindCSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published