NMA 11ty Test Site

A demo static generated site using Eleventy via a starter project scaffold called Eleventy One.

Notable Features for this Demo Test Site

This site uses the following:

Notes

Advantages:

Disdvantages:

Example Post pages

The pages found in in the posts

External API data source ready

The following links were sourced from hawksworx.com and pre-rendered at build time.

Tech Details and Prerequisites

To Run locally

# clone the repo locally
git clone https://github.com/kccnma/eleventy-test1

# install the dependencies
npm install

# External data sources can be stashed locally
npm run seed

# It will then be available locally for building with
npm run start

Optional: Add Netlify Helpers

Netlify Dev adds the ability to use Netlify redirects, proxies, and serverless functions.

# install the Netlify CLI in order to get Netlify Dev
npm install -g netlify-cli

# run a local server with some added Netlify sugar in front of Eleventy
netlify dev

A serverless functions pipeline is included via Netlify Dev. By running netlify dev you'll be able to execute any of your serverless functions directly like this:

Redirects and proxies

Netlify's Redirects API can provide friendlier URLs as proxies to these URLs.