Skip to content

Commit

Permalink
Bump eleventy to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrHovhannisyan committed Mar 19, 2023
1 parent 3124127 commit 055d7e6
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 65 deletions.
1 change: 1 addition & 0 deletions .eleventy.js
Expand Up @@ -54,6 +54,7 @@ module.exports = (eleventyConfig) => {
eleventyConfig.addWatchTarget(scriptDirs.input);

// Pass-through copy for static assets
eleventyConfig.setServerPassthroughCopyBehavior("passthrough");
eleventyConfig.addPassthroughCopy(path.join(dir.input, dir.assets, 'fonts'));
eleventyConfig.addPassthroughCopy(path.join(dir.input, dir.assets, 'videos'));
eleventyConfig.addPassthroughCopy(path.join(imagePaths.input, 'art'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -30,7 +30,7 @@
"sanitize-html": "^2.6.1"
},
"devDependencies": {
"@11ty/eleventy": "2.0.0-canary.10",
"@11ty/eleventy": "2.0.0",
"@11ty/eleventy-cache-assets": "^2.3.0",
"@11ty/eleventy-img": "^1.0.0",
"@11ty/eleventy-upgrade-help": "^1.0.1",
Expand Down
3 changes: 1 addition & 2 deletions src/_layouts/base.html
Expand Up @@ -8,8 +8,7 @@
{%- assign pageTitle = site.title -%}
{%- else -%}
{%- assign pageTitle = title | default: renderData.title -%}
{%- assign pipe = " | " -%}{%- comment -%}Get an error otherwise, probably a Liquid/11ty bug{%- endcomment -%}
{%- assign pageTitle = pageTitle | append: pipe | append: site.title -%}
{%- assign pageTitle = pageTitle | append: " | " | append: site.title -%}
{%- endif -%}
{%- assign description = description | default: site.description -%}
{%- assign keywords = keywords | default: site.keywords -%}
Expand Down

0 comments on commit 055d7e6

Please sign in to comment.