Setup HTML Base plugin

Import Html Base Plugin (add it to the other named import)

import { EleventyHtmlBasePlugin } from '@11ty/eleventy';

Add plugin to eleventy.config.js to the default function

eleventyConfig.addPlugin (EleventyHtmlBasePlugin, {
  baseHref: "/<github-repo-name>/"
});

Add pathPrefix property to the config object

pathPrefix: "/<github-repo-name>/"

Test and see github repo name in url

npm run serve

Expectations

Commit

git add .
git commit -m 'Adds base directory config'
git push

Next
Setup Deployment