Skip to content

Commit

Permalink
feat: add localization feature and footer to test with (#30)
Browse files Browse the repository at this point in the history
* feat: add localization feature and footer to test with

* fix: update based on PR feedback

* fix: update package lock file
  • Loading branch information
chosww authored Nov 6, 2024
1 parent cd9c5b0 commit 38db80c
Show file tree
Hide file tree
Showing 17 changed files with 1,280 additions and 100 deletions.
7 changes: 3 additions & 4 deletions eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { EleventyRenderPlugin } from "@11ty/eleventy";
import fluidPlugin from "eleventy-plugin-fluid";
import footnotesPlugin from "eleventy-plugin-footnotes";

export default function eleventy(eleventyConfig) {
eleventyConfig.addPlugin(EleventyRenderPlugin);
eleventyConfig.addPlugin(footnotesPlugin);
eleventyConfig.addPlugin(fluidPlugin);

eleventyConfig.addPassthroughCopy({
"src/admin/config.yml": "admin/config.yml"
Expand All @@ -15,10 +17,7 @@ export default function eleventy(eleventyConfig) {

return {
dir: {
input: "src",
includes: "_includes",
layouts: "_layouts",
data: "_data"
input: "src"
},
templateFormats: ["njk", "md", "css", "png", "jpg", "svg"],
htmlTemplateEngine: "njk",
Expand Down
Loading

0 comments on commit 38db80c

Please sign in to comment.