Skip to content

gwagner57/web-engineering

Repository files navigation

web-engineering website via 11ty

This website is being build using Eleventy site generator (using the v2.0.1 release).

Netlify Status

Getting Started

  1. Make a directory and navigate to it:
mkdir web-engineering
cd web-engineering
  1. Clone this Repository
git clone https://github.com/gwagner57/web-engineering.git .

Optional: Review .eleventy.js and package.json to configure the site’s options and data.

  1. Install dependencies
npm install
  1. Run Eleventy

Generate a production-ready build to the _site folder:

npx @11ty/eleventy

Or build and host on a local development server:

npx @11ty/eleventy --serve |or| npm start

Or you can run debug mode to see all the internals.

Features of 11ty

Deploy this site

Deploy this Eleventy site in just a few clicks on these services:

  • Get your own Eleventy web site on CloudFlare
  • If you run Eleventy locally you can use _site folder to check the output of the website.
  • Deployment of website by connecting to the GitHub Repository to CloudFlare.
  • On the build configurations in CloudFlare edit as noted:
  • Framework present: Eleventy
  • Build command: npx eleventy
  • Build output directory: _site
  • Read more about Deploying an Eleventy project to the web.

Implementation Notes

  • src/index.html is the main homepage.
  • /_includes/ has the all the blog posts, forum posts, tutorials and all other html files which are needed to build the website.
  • The _includes, assets folders in your input directory will be copied to the output folder (via addPassthroughCopy in the .eleventy.js file).
  • This project uses two Eleventy Layouts:
    • _includes/layouts/base.html: the top level HTML structure
    • _includes/layouts/basetutorials.html: also top level HTML structure
  • Also, you can find two "head" files which are used to build the webpages, and contain the CSS links.
    • _includes/basehead.html
    • _includes/basehead.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published