Skip to content

Commit

Permalink
Merge pull request #5 from Danish-Society-of-EVs/netlify_cms
Browse files Browse the repository at this point in the history
Added netlify CMS
  • Loading branch information
AndersAskeland authored Jul 2, 2024
2 parents c3dd1c5 + 9223919 commit 09858bc
Show file tree
Hide file tree
Showing 24 changed files with 13,067 additions and 6,938 deletions.
4 changes: 4 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ const slugify = require("slugify");
const { string } = require("nunjucks/src/filters");
const md = require('markdown-it')()

// add to .eleventy.js


/*--------- Functions --------*/
/* Optimize logo (eleventy-img) */
Expand Down Expand Up @@ -107,6 +109,8 @@ module.exports = function (eleventyConfig) {
// Plugins
eleventyConfig.addPlugin(svgContents);

eleventyConfig.addPassthroughCopy("admin");

// Pass trough files (You dont need to write entire path)
eleventyConfig.addPassthroughCopy({ "./src/css/tailwind.css": "./style.css" });
eleventyConfig.addPassthroughCopy({ "./src/images": "./images/" });
Expand Down
66 changes: 0 additions & 66 deletions .forestry/front_matter/templates/board-members.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .forestry/front_matter/templates/featured-article.yml

This file was deleted.

112 changes: 0 additions & 112 deletions .forestry/front_matter/templates/main-settings.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .forestry/front_matter/templates/menu.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .forestry/front_matter/templates/news.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .forestry/front_matter/templates/page.yml

This file was deleted.

Loading

0 comments on commit 09858bc

Please sign in to comment.