diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 0000000..def305d
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,39 @@
+name: Deploy to GitHub Pages
+
+on:
+ # Trigger the workflow every time you push to the `main` branch
+ # Using a different branch name? Replace `main` with your branch’s name
+ push:
+ branches: [main]
+ # Allows you to run this workflow manually from the Actions tab on GitHub.
+ workflow_dispatch:
+
+# Allow this job to clone the repo and create a page deployment
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout your repository using git
+ uses: actions/checkout@v4
+ - name: Install, build, and upload your site
+ uses: withastro/action@v2
+ with:
+ # path: . # The root location of your Astro project inside the repository. (optional)
+ # node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
+ package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
+
+ deploy:
+ needs: build
+ runs-on: ubuntu-latest
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v4
diff --git a/.gitignore b/.gitignore
index ec39776..16d54bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,21 +1,24 @@
-# Logs
-logs
-*.log
-npm-debug.log*
+# build output
+dist/
+# generated types
+.astro/
-# Dependencies
+# dependencies
node_modules/
-# package-lock.json
-# Eleventy
-_site/
+# logs
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
-# Misc
-.DS_Store
+
+# environment variables
.env
+.env.production
-# Local Netlify folder
-.netlify
+# macOS-specific files
+.DS_Store
-gh-pages
-gh-pages.pub
+# jetbrains setting folder
+.idea/
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000..56f043d
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,4 @@
+{
+ "recommendations": ["astro-build.astro-vscode", "unifiedjs.vscode-mdx"],
+ "unwantedRecommendations": []
+}
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..d642209
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,11 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "command": "./node_modules/.bin/astro dev",
+ "name": "Development server",
+ "request": "launch",
+ "type": "node-terminal"
+ }
+ ]
+}
diff --git a/.eleventy.js b/11ty/.eleventy.js
similarity index 95%
rename from .eleventy.js
rename to 11ty/.eleventy.js
index 8fe43a8..331fa28 100644
--- a/.eleventy.js
+++ b/11ty/.eleventy.js
@@ -5,6 +5,7 @@ const EleventyPluginNavigation = require('@11ty/eleventy-navigation')
const EleventyPluginRss = require('@11ty/eleventy-plugin-rss')
const EleventyPluginSyntaxhighlight = require('@11ty/eleventy-plugin-syntaxhighlight')
const EleventyVitePlugin = require('@11ty/eleventy-plugin-vite')
+const { EleventyHtmlBasePlugin } = require('@11ty/eleventy')
const rollupPluginCritical = require('rollup-plugin-critical').default
@@ -25,7 +26,7 @@ module.exports = function (eleventyConfig) {
alwaysWrapLineHighlights: false,
trim: true
})
-
+ eleventyConfig.addPlugin(EleventyHtmlBasePlugin)
eleventyConfig.addPlugin(EleventyVitePlugin, {
tempFolderName: '.11ty-vite', // Default name of the temp folder
@@ -35,7 +36,8 @@ module.exports = function (eleventyConfig) {
clearScreen: false,
server: {
mode: 'development',
- middlewareMode: true
+ middlewareMode: true,
+ base: '/wdd231-course/'
},
appType: 'custom',
assetsInclude: ['**/*.xml', '**/*.txt'],
@@ -139,6 +141,7 @@ module.exports = function (eleventyConfig) {
includes: '_includes',
layouts: 'layouts',
data: '_data'
- }
+ },
+ pathPrefix: '/wdd231-course/'
}
}
diff --git a/.github/workflows/build.yml b/11ty/.github/workflows/build.yml
similarity index 100%
rename from .github/workflows/build.yml
rename to 11ty/.github/workflows/build.yml
diff --git a/.github/workflows/build_and_deploy.yml b/11ty/.github/workflows/build_and_deploy.yml
similarity index 100%
rename from .github/workflows/build_and_deploy.yml
rename to 11ty/.github/workflows/build_and_deploy.yml
diff --git a/11ty/.gitignore b/11ty/.gitignore
new file mode 100644
index 0000000..ec39776
--- /dev/null
+++ b/11ty/.gitignore
@@ -0,0 +1,21 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+
+# Dependencies
+node_modules/
+# package-lock.json
+
+# Eleventy
+_site/
+
+# Misc
+.DS_Store
+.env
+
+# Local Netlify folder
+.netlify
+
+gh-pages
+gh-pages.pub
diff --git a/.nojekyll b/11ty/.nojekyll
similarity index 100%
rename from .nojekyll
rename to 11ty/.nojekyll
diff --git a/.prettierrc b/11ty/.prettierrc
similarity index 100%
rename from .prettierrc
rename to 11ty/.prettierrc
diff --git a/LICENSE b/11ty/LICENSE
similarity index 100%
rename from LICENSE
rename to 11ty/LICENSE
diff --git a/11ty/README.md b/11ty/README.md
new file mode 100644
index 0000000..437f3e4
--- /dev/null
+++ b/11ty/README.md
@@ -0,0 +1 @@
+# Course materials for WDD 231
\ No newline at end of file
diff --git a/netlify.toml b/11ty/netlify.toml
similarity index 100%
rename from netlify.toml
rename to 11ty/netlify.toml
diff --git a/oldpostcss.config.js b/11ty/oldpostcss.config.js
similarity index 100%
rename from oldpostcss.config.js
rename to 11ty/oldpostcss.config.js
diff --git a/package-lock.json b/11ty/package-lock.json
similarity index 100%
rename from package-lock.json
rename to 11ty/package-lock.json
diff --git a/11ty/package.json b/11ty/package.json
new file mode 100644
index 0000000..4c55adf
--- /dev/null
+++ b/11ty/package.json
@@ -0,0 +1,57 @@
+{
+ "name": "eleventy-plus-vite",
+ "version": "0.2.2",
+ "description": "A clean and simple Eleventy 2 Starter Kit with Vite",
+ "browserslist": [
+ "> 0.5%",
+ "not IE 11"
+ ],
+ "scripts": {
+ "start": "npx @11ty/eleventy --serve",
+ "watch": "npx @11ty/eleventy --watch",
+ "serve": "npx @11ty/eleventy --serve",
+ "bench": "DEBUG=Eleventy:Benchmark* npx @11ty/eleventy",
+ "build": "npx @11ty/eleventy",
+ "build:sass:prod": "sass src/static/scss:public/static/css --style compressed",
+ "build:eleventy:prod": "ELEVENTY_ENV=production eleventy",
+ "build:prod": "npm run build:eleventy:prod & npm run build:sass:prod",
+ "clean": "del-cli _site",
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://matthiasott@github.com/matthiasott/11ty22.git"
+ },
+ "author": "Matthias Ott",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/matthiasott/11ty22/issues"
+ },
+ "homepage": "https://github.com/matthiasott/11ty22#readme",
+ "devDependencies": {
+ "@11ty/eleventy": "^2.0.1",
+ "@11ty/eleventy-img": "^3.1.0",
+ "@11ty/eleventy-navigation": "^0.3.5",
+ "@11ty/eleventy-plugin-rss": "^1.2.0",
+ "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
+ "@11ty/eleventy-plugin-vite": "^4.0.0",
+ "autoprefixer": "^10.4.7",
+ "cssnano": "^6.0.1",
+ "cssremedy": "^0.1.0-beta.2",
+ "del-cli": "^5.1.0",
+ "eslint": "^8.18.0",
+ "eslint-config-standard": "^17.0.0",
+ "eslint-plugin-import": "^2.26.0",
+ "eslint-plugin-n": "^15.2.3",
+ "eslint-plugin-promise": "^6.0.0",
+ "focus-visible": "^5.2.0",
+ "luxon": "^3.4.3",
+ "markdown-it": "^13.0.1",
+ "markdown-it-anchor": "^8.6.7",
+ "npm-run-all": "^4.1.5",
+ "postcss-nesting": "^12.0.1",
+ "rollup-plugin-critical": "^1.0.12",
+ "sass": "^1.67.0",
+ "vite": "^4.4.9"
+ }
+}
\ No newline at end of file
diff --git a/public/assets/fonts/.gitkeep b/11ty/public/assets/fonts/.gitkeep
similarity index 100%
rename from public/assets/fonts/.gitkeep
rename to 11ty/public/assets/fonts/.gitkeep
diff --git a/public/assets/icons/github.svg b/11ty/public/assets/icons/github.svg
similarity index 100%
rename from public/assets/icons/github.svg
rename to 11ty/public/assets/icons/github.svg
diff --git a/public/assets/images/byui-logo_blue.webp b/11ty/public/assets/images/byui-logo_blue.webp
similarity index 100%
rename from public/assets/images/byui-logo_blue.webp
rename to 11ty/public/assets/images/byui-logo_blue.webp
diff --git a/public/assets/images/byui-logo_white.png b/11ty/public/assets/images/byui-logo_white.png
similarity index 100%
rename from public/assets/images/byui-logo_white.png
rename to 11ty/public/assets/images/byui-logo_white.png
diff --git a/public/assets/images/favicon/apple-touch-icon.png b/11ty/public/assets/images/favicon/apple-touch-icon.png
similarity index 100%
rename from public/assets/images/favicon/apple-touch-icon.png
rename to 11ty/public/assets/images/favicon/apple-touch-icon.png
diff --git a/public/assets/images/favicon/favicon-16x16.png b/11ty/public/assets/images/favicon/favicon-16x16.png
similarity index 100%
rename from public/assets/images/favicon/favicon-16x16.png
rename to 11ty/public/assets/images/favicon/favicon-16x16.png
diff --git a/public/assets/images/favicon/favicon-196x196.png b/11ty/public/assets/images/favicon/favicon-196x196.png
similarity index 100%
rename from public/assets/images/favicon/favicon-196x196.png
rename to 11ty/public/assets/images/favicon/favicon-196x196.png
diff --git a/public/assets/images/favicon/favicon-32x32.png b/11ty/public/assets/images/favicon/favicon-32x32.png
similarity index 100%
rename from public/assets/images/favicon/favicon-32x32.png
rename to 11ty/public/assets/images/favicon/favicon-32x32.png
diff --git a/public/assets/images/favicon/favicon.ico b/11ty/public/assets/images/favicon/favicon.ico
similarity index 100%
rename from public/assets/images/favicon/favicon.ico
rename to 11ty/public/assets/images/favicon/favicon.ico
diff --git a/public/assets/images/nps1-finish.webp b/11ty/public/assets/images/nps1-finish.webp
similarity index 100%
rename from public/assets/images/nps1-finish.webp
rename to 11ty/public/assets/images/nps1-finish.webp
diff --git a/public/assets/images/webicon.png b/11ty/public/assets/images/webicon.png
similarity index 100%
rename from public/assets/images/webicon.png
rename to 11ty/public/assets/images/webicon.png
diff --git a/public/examples/site-plan.css b/11ty/public/examples/site-plan.css
similarity index 100%
rename from public/examples/site-plan.css
rename to 11ty/public/examples/site-plan.css
diff --git a/public/examples/site-plan.html b/11ty/public/examples/site-plan.html
similarity index 100%
rename from public/examples/site-plan.html
rename to 11ty/public/examples/site-plan.html
diff --git a/src/404.md b/11ty/src/404.md
similarity index 100%
rename from src/404.md
rename to 11ty/src/404.md
diff --git a/src/_data/build.js b/11ty/src/_data/build.js
similarity index 100%
rename from src/_data/build.js
rename to 11ty/src/_data/build.js
diff --git a/src/_data/meta.json b/11ty/src/_data/meta.json
similarity index 100%
rename from src/_data/meta.json
rename to 11ty/src/_data/meta.json
diff --git a/src/_includes/footer.njk b/11ty/src/_includes/footer.njk
similarity index 100%
rename from src/_includes/footer.njk
rename to 11ty/src/_includes/footer.njk
diff --git a/src/_includes/header.njk b/11ty/src/_includes/header.njk
similarity index 100%
rename from src/_includes/header.njk
rename to 11ty/src/_includes/header.njk
diff --git a/src/_includes/meta.njk b/11ty/src/_includes/meta.njk
similarity index 95%
rename from src/_includes/meta.njk
rename to 11ty/src/_includes/meta.njk
index 7af8a85..2c356e9 100644
--- a/src/_includes/meta.njk
+++ b/11ty/src/_includes/meta.njk
@@ -1,4 +1,4 @@
-{%- set absolutePageUrl -%}{{ page.url | url | absoluteUrl(meta.url) }}{%- endset -%}
+{%- set absolutePageUrl -%}{{ page.url | absoluteUrl(meta.url) }}{%- endset -%}
{# General #}
diff --git a/src/_includes/navigation.njk b/11ty/src/_includes/navigation.njk
similarity index 77%
rename from src/_includes/navigation.njk
rename to 11ty/src/_includes/navigation.njk
index fec48bd..9edd79d 100644
--- a/src/_includes/navigation.njk
+++ b/11ty/src/_includes/navigation.njk
@@ -1,4 +1,5 @@
-
+
{# Nav Links #}
-
+
\ No newline at end of file
diff --git a/src/_includes/postslist.njk b/11ty/src/_includes/postslist.njk
similarity index 83%
rename from src/_includes/postslist.njk
rename to 11ty/src/_includes/postslist.njk
index 8455c56..bd58c13 100644
--- a/src/_includes/postslist.njk
+++ b/11ty/src/_includes/postslist.njk
@@ -1,7 +1,7 @@
{% for post in postslist %}
-
+
{% if post.data.title %}
{{ post.data.title }}
@@ -13,7 +13,7 @@
{{ post.date | dateToFormat('dd LLL yyyy') }}
{% for tag in post.data.tags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slug }}/{% endset %}
- {{ tag }}
+ {{ tag }}
{% endfor %}
{% endfor %}
diff --git a/src/_includes/unitslist.njk b/11ty/src/_includes/unitslist.njk
similarity index 90%
rename from src/_includes/unitslist.njk
rename to 11ty/src/_includes/unitslist.njk
index c3f3a23..6d58979 100644
--- a/src/_includes/unitslist.njk
+++ b/11ty/src/_includes/unitslist.njk
@@ -1,7 +1,7 @@
{% for post in postslist %}
-
+
{% if post.data.title %}
{{ post.data.title }}
diff --git a/src/assets/css/1-settings/_global.scss b/11ty/src/assets/css/1-settings/_global.scss
similarity index 100%
rename from src/assets/css/1-settings/_global.scss
rename to 11ty/src/assets/css/1-settings/_global.scss
diff --git a/src/assets/css/2-design-tokens/_colors.scss b/11ty/src/assets/css/2-design-tokens/_colors.scss
similarity index 100%
rename from src/assets/css/2-design-tokens/_colors.scss
rename to 11ty/src/assets/css/2-design-tokens/_colors.scss
diff --git a/src/assets/css/2-design-tokens/_fonts.scss b/11ty/src/assets/css/2-design-tokens/_fonts.scss
similarity index 100%
rename from src/assets/css/2-design-tokens/_fonts.scss
rename to 11ty/src/assets/css/2-design-tokens/_fonts.scss
diff --git a/src/assets/css/2-design-tokens/_media-queries.scss b/11ty/src/assets/css/2-design-tokens/_media-queries.scss
similarity index 100%
rename from src/assets/css/2-design-tokens/_media-queries.scss
rename to 11ty/src/assets/css/2-design-tokens/_media-queries.scss
diff --git a/src/assets/css/2-design-tokens/_spacing.scss b/11ty/src/assets/css/2-design-tokens/_spacing.scss
similarity index 100%
rename from src/assets/css/2-design-tokens/_spacing.scss
rename to 11ty/src/assets/css/2-design-tokens/_spacing.scss
diff --git a/src/assets/css/2-design-tokens/_typography.scss b/11ty/src/assets/css/2-design-tokens/_typography.scss
similarity index 100%
rename from src/assets/css/2-design-tokens/_typography.scss
rename to 11ty/src/assets/css/2-design-tokens/_typography.scss
diff --git a/src/assets/css/3-tools/_accessibility.scss b/11ty/src/assets/css/3-tools/_accessibility.scss
similarity index 100%
rename from src/assets/css/3-tools/_accessibility.scss
rename to 11ty/src/assets/css/3-tools/_accessibility.scss
diff --git a/src/assets/css/3-tools/_aspect-ratio.scss b/11ty/src/assets/css/3-tools/_aspect-ratio.scss
similarity index 100%
rename from src/assets/css/3-tools/_aspect-ratio.scss
rename to 11ty/src/assets/css/3-tools/_aspect-ratio.scss
diff --git a/src/assets/css/3-tools/_clearfix.scss b/11ty/src/assets/css/3-tools/_clearfix.scss
similarity index 100%
rename from src/assets/css/3-tools/_clearfix.scss
rename to 11ty/src/assets/css/3-tools/_clearfix.scss
diff --git a/src/assets/css/4-generic/_normalize.scss b/11ty/src/assets/css/4-generic/_normalize.scss
similarity index 100%
rename from src/assets/css/4-generic/_normalize.scss
rename to 11ty/src/assets/css/4-generic/_normalize.scss
diff --git a/src/assets/css/4-generic/_print.scss b/11ty/src/assets/css/4-generic/_print.scss
similarity index 100%
rename from src/assets/css/4-generic/_print.scss
rename to 11ty/src/assets/css/4-generic/_print.scss
diff --git a/src/assets/css/5-elements/_body.scss b/11ty/src/assets/css/5-elements/_body.scss
similarity index 100%
rename from src/assets/css/5-elements/_body.scss
rename to 11ty/src/assets/css/5-elements/_body.scss
diff --git a/src/assets/css/5-elements/_buttons.scss b/11ty/src/assets/css/5-elements/_buttons.scss
similarity index 100%
rename from src/assets/css/5-elements/_buttons.scss
rename to 11ty/src/assets/css/5-elements/_buttons.scss
diff --git a/src/assets/css/5-elements/_code.scss b/11ty/src/assets/css/5-elements/_code.scss
similarity index 100%
rename from src/assets/css/5-elements/_code.scss
rename to 11ty/src/assets/css/5-elements/_code.scss
diff --git a/src/assets/css/5-elements/_details.scss b/11ty/src/assets/css/5-elements/_details.scss
similarity index 100%
rename from src/assets/css/5-elements/_details.scss
rename to 11ty/src/assets/css/5-elements/_details.scss
diff --git a/src/assets/css/5-elements/_forms.scss b/11ty/src/assets/css/5-elements/_forms.scss
similarity index 100%
rename from src/assets/css/5-elements/_forms.scss
rename to 11ty/src/assets/css/5-elements/_forms.scss
diff --git a/src/assets/css/5-elements/_headings.scss b/11ty/src/assets/css/5-elements/_headings.scss
similarity index 100%
rename from src/assets/css/5-elements/_headings.scss
rename to 11ty/src/assets/css/5-elements/_headings.scss
diff --git a/src/assets/css/5-elements/_images.scss b/11ty/src/assets/css/5-elements/_images.scss
similarity index 100%
rename from src/assets/css/5-elements/_images.scss
rename to 11ty/src/assets/css/5-elements/_images.scss
diff --git a/src/assets/css/5-elements/_links.scss b/11ty/src/assets/css/5-elements/_links.scss
similarity index 100%
rename from src/assets/css/5-elements/_links.scss
rename to 11ty/src/assets/css/5-elements/_links.scss
diff --git a/src/assets/css/5-elements/_lists.scss b/11ty/src/assets/css/5-elements/_lists.scss
similarity index 100%
rename from src/assets/css/5-elements/_lists.scss
rename to 11ty/src/assets/css/5-elements/_lists.scss
diff --git a/src/assets/css/5-elements/_paragraphs.scss b/11ty/src/assets/css/5-elements/_paragraphs.scss
similarity index 100%
rename from src/assets/css/5-elements/_paragraphs.scss
rename to 11ty/src/assets/css/5-elements/_paragraphs.scss
diff --git a/src/assets/css/6-skeleton/_grid.scss b/11ty/src/assets/css/6-skeleton/_grid.scss
similarity index 100%
rename from src/assets/css/6-skeleton/_grid.scss
rename to 11ty/src/assets/css/6-skeleton/_grid.scss
diff --git a/src/assets/css/6-skeleton/_layouts.scss b/11ty/src/assets/css/6-skeleton/_layouts.scss
similarity index 100%
rename from src/assets/css/6-skeleton/_layouts.scss
rename to 11ty/src/assets/css/6-skeleton/_layouts.scss
diff --git a/src/assets/css/6-skeleton/_objects.scss b/11ty/src/assets/css/6-skeleton/_objects.scss
similarity index 100%
rename from src/assets/css/6-skeleton/_objects.scss
rename to 11ty/src/assets/css/6-skeleton/_objects.scss
diff --git a/src/assets/css/7-components/_bigSteps.scss b/11ty/src/assets/css/7-components/_bigSteps.scss
similarity index 100%
rename from src/assets/css/7-components/_bigSteps.scss
rename to 11ty/src/assets/css/7-components/_bigSteps.scss
diff --git a/src/assets/css/7-components/_callout.scss b/11ty/src/assets/css/7-components/_callout.scss
similarity index 100%
rename from src/assets/css/7-components/_callout.scss
rename to 11ty/src/assets/css/7-components/_callout.scss
diff --git a/src/assets/css/7-components/_fig-block.scss b/11ty/src/assets/css/7-components/_fig-block.scss
similarity index 100%
rename from src/assets/css/7-components/_fig-block.scss
rename to 11ty/src/assets/css/7-components/_fig-block.scss
diff --git a/src/assets/css/7-components/_footer.scss b/11ty/src/assets/css/7-components/_footer.scss
similarity index 100%
rename from src/assets/css/7-components/_footer.scss
rename to 11ty/src/assets/css/7-components/_footer.scss
diff --git a/src/assets/css/7-components/_header.scss b/11ty/src/assets/css/7-components/_header.scss
similarity index 100%
rename from src/assets/css/7-components/_header.scss
rename to 11ty/src/assets/css/7-components/_header.scss
diff --git a/src/assets/css/7-components/_postlist.scss b/11ty/src/assets/css/7-components/_postlist.scss
similarity index 100%
rename from src/assets/css/7-components/_postlist.scss
rename to 11ty/src/assets/css/7-components/_postlist.scss
diff --git a/src/assets/css/7-components/_videoWrapper.scss b/11ty/src/assets/css/7-components/_videoWrapper.scss
similarity index 100%
rename from src/assets/css/7-components/_videoWrapper.scss
rename to 11ty/src/assets/css/7-components/_videoWrapper.scss
diff --git a/src/assets/css/8-utilities/_modifiers.scss b/11ty/src/assets/css/8-utilities/_modifiers.scss
similarity index 100%
rename from src/assets/css/8-utilities/_modifiers.scss
rename to 11ty/src/assets/css/8-utilities/_modifiers.scss
diff --git a/src/assets/css/8-utilities/_states.scss b/11ty/src/assets/css/8-utilities/_states.scss
similarity index 100%
rename from src/assets/css/8-utilities/_states.scss
rename to 11ty/src/assets/css/8-utilities/_states.scss
diff --git a/src/assets/css/_shame.scss b/11ty/src/assets/css/_shame.scss
similarity index 100%
rename from src/assets/css/_shame.scss
rename to 11ty/src/assets/css/_shame.scss
diff --git a/src/assets/css/course.css b/11ty/src/assets/css/course.css
similarity index 100%
rename from src/assets/css/course.css
rename to 11ty/src/assets/css/course.css
diff --git a/src/assets/css/main.scss b/11ty/src/assets/css/main.scss
similarity index 100%
rename from src/assets/css/main.scss
rename to 11ty/src/assets/css/main.scss
diff --git a/src/assets/js/main.js b/11ty/src/assets/js/main.js
similarity index 100%
rename from src/assets/js/main.js
rename to 11ty/src/assets/js/main.js
diff --git a/src/assets/js/modules/nav.js b/11ty/src/assets/js/modules/nav.js
similarity index 100%
rename from src/assets/js/modules/nav.js
rename to 11ty/src/assets/js/modules/nav.js
diff --git a/src/block/block.json b/11ty/src/block/block.json
similarity index 100%
rename from src/block/block.json
rename to 11ty/src/block/block.json
diff --git a/src/block/unit1.md b/11ty/src/block/unit1.md
similarity index 100%
rename from src/block/unit1.md
rename to 11ty/src/block/unit1.md
diff --git a/src/block/unit2.md b/11ty/src/block/unit2.md
similarity index 100%
rename from src/block/unit2.md
rename to 11ty/src/block/unit2.md
diff --git a/src/block/unit3.md b/11ty/src/block/unit3.md
similarity index 100%
rename from src/block/unit3.md
rename to 11ty/src/block/unit3.md
diff --git a/src/block/unit4.md b/11ty/src/block/unit4.md
similarity index 100%
rename from src/block/unit4.md
rename to 11ty/src/block/unit4.md
diff --git a/src/block/unit5.md b/11ty/src/block/unit5.md
similarity index 100%
rename from src/block/unit5.md
rename to 11ty/src/block/unit5.md
diff --git a/src/block/unit6.md b/11ty/src/block/unit6.md
similarity index 100%
rename from src/block/unit6.md
rename to 11ty/src/block/unit6.md
diff --git a/src/build.txt.njk b/11ty/src/build.txt.njk
similarity index 100%
rename from src/build.txt.njk
rename to 11ty/src/build.txt.njk
diff --git a/11ty/src/feed.xml.njk b/11ty/src/feed.xml.njk
new file mode 100644
index 0000000..d651ba3
--- /dev/null
+++ b/11ty/src/feed.xml.njk
@@ -0,0 +1,33 @@
+---
+permalink: /public/feed.xml
+eleventyExcludeFromCollections: true
+---
+
+
+
+ {{ meta.title }}
+ {{ meta.description }}
+
+
+
+ {{ meta.title }}
+
+ {% if collections.posts %}
+ {{ collections.posts | rssLastUpdatedDate }}
+ {% endif %}
+ {{ meta.url }}/
+ {%- for post in collections.posts | reverse -%}
+ {% set absolutePostUrl %}{{ post.url | absoluteUrl(meta.url) }}{% endset %}
+
+ {{ post.data.title }}
+
+ {{ post.date | rssDate }}
+ {{ absolutePostUrl }}
+
+
+
+
+ {%- endfor -%}
+
\ No newline at end of file
diff --git a/src/index.njk b/11ty/src/index.njk
similarity index 100%
rename from src/index.njk
rename to 11ty/src/index.njk
diff --git a/src/layouts/base.njk b/11ty/src/layouts/base.njk
similarity index 66%
rename from src/layouts/base.njk
rename to 11ty/src/layouts/base.njk
index 0cc15b3..a85d820 100644
--- a/src/layouts/base.njk
+++ b/11ty/src/layouts/base.njk
@@ -10,16 +10,11 @@
https://www.zachleat.com/web/comprehensive-webfonts/#critical-foft-with-preload */
/* (function () { if ("fonts" in document) { // Optimization for Repeat Views if
(sessionStorage.fontsLoadedCriticalFoftPreload) { document.documentElement.className += " fonts-loaded-2"; return; }
- document .fonts .load("1em 'DM Sans Subset'") .then(function () {
- document.documentElement.className += " fonts-loaded-1";
- Promise.all(
- [document.fonts.load("400 1em 'DM Sans'"), document.fonts.load("700 1em 'DM Sans'"), document.fonts.load("italic 1em 'DM Sans'"), document.fonts.load("italic 700 1em 'DM Sans'")]
- ).then(function () {
- document.documentElement.className += " fonts-loaded-2";
- // Optimization for Repeat Views
- sessionStorage.fontsLoadedCriticalFoftPreload = true;
- });
- }); } })(); */
+ document .fonts .load("1em 'DM Sans Subset'") .then(function () { document.documentElement.className += "
+ fonts-loaded-1"; Promise.all( [document.fonts.load("400 1em 'DM Sans'"), document.fonts.load("700 1em 'DM Sans'"),
+ document.fonts.load("italic 1em 'DM Sans'"), document.fonts.load("italic 700 1em 'DM Sans'")] ).then(function () {
+ document.documentElement.className += " fonts-loaded-2"; // Optimization for Repeat Views
+ sessionStorage.fontsLoadedCriticalFoftPreload = true; }); }); } })(); */
@@ -32,5 +27,5 @@
{% include "footer.njk" %}
-
+