diff --git a/package-lock.json b/package-lock.json index bfca6e2..d3d5df8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,7 @@ "postcss-cli": "^10.1.0", "postcss-import": "^15.1.0", "postcss-import-ext-glob": "^2.1.1", + "postcss-nested": "^6.0.0", "prettier": "^2.8.3", "tailwindcss": "^3.2.4" } diff --git a/package.json b/package.json index b0b0e76..e36cb26 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "postcss-cli": "^10.1.0", "postcss-import": "^15.1.0", "postcss-import-ext-glob": "^2.1.1", + "postcss-nested": "^6.0.0", "prettier": "^2.8.3", "tailwindcss": "^3.2.4" } diff --git a/postcss.config.js b/postcss.config.js index 40dd863..6e7ddcf 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,6 +3,7 @@ module.exports = { 'postcss-import-ext-glob': {}, 'postcss-import': {}, 'tailwindcss/nesting': {}, + 'postcss-nested': {}, tailwindcss: {}, autoprefixer: {}, }, diff --git a/src/_data/today.js b/src/_data/today.js new file mode 100644 index 0000000..6d4f976 --- /dev/null +++ b/src/_data/today.js @@ -0,0 +1,7 @@ +const today = new Date(); + +module.exports = { + year: today.getFullYear(), + month: today.getMonth(), + day: today.getDate() + 1, +} \ No newline at end of file diff --git a/src/_includes/base.njk b/src/_includes/base.njk index b37d8b4..9f23501 100644 --- a/src/_includes/base.njk +++ b/src/_includes/base.njk @@ -4,13 +4,14 @@