diff --git a/.eleventy.js b/.eleventy.js new file mode 100644 index 0000000..c5f5740 --- /dev/null +++ b/.eleventy.js @@ -0,0 +1,10 @@ +module.exports = function (eleventyConfig) { + eleventyConfig.addPassthroughCopy("./src/style.css"); + + return { + dir: { + input: "src", + output: "public", + }, + }; +}; diff --git a/docker/Dockerfile b/docker/Dockerfile index ec08840..01a0788 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -5,6 +5,6 @@ WORKDIR /opt/app RUN npm init -y RUN npm install @11ty/eleventy -COPY ./src . +COPY . . CMD [ "npx", "@11ty/eleventy" ] diff --git a/index.html b/index.html deleted file mode 100644 index 0b46e67..0000000 --- a/index.html +++ /dev/null @@ -1,7 +0,0 @@ - -
- - diff --git a/justfile b/justfile index 7eec2fc..02c4ff4 100644 --- a/justfile +++ b/justfile @@ -10,4 +10,4 @@ build: # Run development server dev: build - docker run -p 1280:8080 11ty:latest npx @11ty/eleventy --serve + docker run -it -p 1280:8080 11ty:latest npx @11ty/eleventy --serve diff --git a/src/_includes/base.html b/src/_includes/base.html new file mode 100644 index 0000000..091dd5a --- /dev/null +++ b/src/_includes/base.html @@ -0,0 +1,30 @@ + + + + +
- Welcome to my personal website! This started out as a side project
- to learn about web development and UI design, but it has since
- expanded into a professional portfolio and blog (sort of). If you
- are a fan of dark mode, try out the toggle button in the upper right
- corner!
-
-
-
- On this website, you can find information about my
- educational and
- professional career
- as well as some of my
- personal interests. If you are looking
- to create your own website and are curious about how I created and
- hosted this one, please see the
- documentation
- page.
-
-
-
- This website is a constant work in progress and updates will be made
- as I find time. You can follow development and make suggestions on
- GitHub.
-