From 4c81fd4023227be503068ec88200abe8d0793ecb Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 4 Nov 2021 12:35:44 +1100 Subject: [PATCH 1/4] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20minor=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/homepage-layout/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/docs/homepage-layout/index.md b/exampleSite/content/docs/homepage-layout/index.md index 94bff73e..e6a73c6f 100644 --- a/exampleSite/content/docs/homepage-layout/index.md +++ b/exampleSite/content/docs/homepage-layout/index.md @@ -37,7 +37,7 @@ If the built-in homepage layouts aren't sufficient for your needs, you have the To enable the custom layout, set `homepage.layout = "custom"` in the `params.toml` configuration file. -With the configuration value set, create a new `custom.html` file and place it in `layouts/partials/home/custom.html`. Now whatever is in the `custom.html` file will be placed in the content area of the site homepage. You can use whatever HTML, Tailwind, or Hugo templating functions to define your layout. +With the configuration value set, create a new `custom.html` file and place it in `layouts/partials/home/custom.html`. Now whatever is in the `custom.html` file will be placed in the content area of the site homepage. You may use whatever HTML, Tailwind, or Hugo templating functions you wish to define your layout. To include [recent articles](#recent-articles) on the custom layout, use the `recent-articles.html` partial. @@ -49,4 +49,4 @@ All homepage layouts have the option of displaying recent articles below the mai ![Profile layout with recent articles](home-profile-list.jpg) -The articles listed in this section are derived from the `homepage.listSections` setting which allows for whatever content types you are using on your website. For instance, if you had content sections for _posts_ and _projects_ you could set this setting to `["posts", "projects"]` and all the articles in these two sections would be used to populate the recent list. The theme expects this setting to be an array so if you only use one section for all your content, you should set this accordingly: `["blog"]`. +The articles listed in this section are derived from the `homepage.mainSections` setting which allows for whatever content types you are using on your website. For instance, if you had content sections for _posts_ and _projects_ you could set this setting to `["posts", "projects"]` and all the articles in these two sections would be used to populate the recent list. The theme expects this setting to be an array so if you only use one section for all your content, you should set this accordingly: `["blog"]`. From 648fd4779825704bf5b2c6672baf4c7306ce644e Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 4 Nov 2021 13:25:13 +1100 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=92=9A=20Update=20Netlify=20to=20late?= =?UTF-8?q?st=20Hugo=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index ca6a7a1f..093a5e25 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,17 +8,17 @@ HUGO_THEME = "repo" TZ = "Australia/Melbourne" [context.production.environment] -HUGO_VERSION = "0.87.0" +HUGO_VERSION = "0.89.0" HUGO_ENV = "production" [context.deploy-preview] command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.87.0" +HUGO_VERSION = "0.89.0" [context.branch-deploy] command = "cd exampleSite && hugo --gc --minify -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.87.0" +HUGO_VERSION = "0.89.0" From dfd189ee0585a81eb27867fc747de02d81b947c8 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 4 Nov 2021 14:19:02 +1100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=9A=91=20Rename=20vendor=20directory?= =?UTF-8?q?=20to=20lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ assets/{vendor => lib}/chart/chart.min.js | 0 assets/{vendor => lib}/katex/auto-render.min.js | 0 .../katex/fonts/KaTeX_AMS-Regular.ttf | Bin .../katex/fonts/KaTeX_AMS-Regular.woff | Bin .../katex/fonts/KaTeX_AMS-Regular.woff2 | Bin .../katex/fonts/KaTeX_Caligraphic-Bold.ttf | Bin .../katex/fonts/KaTeX_Caligraphic-Bold.woff | Bin .../katex/fonts/KaTeX_Caligraphic-Bold.woff2 | Bin .../katex/fonts/KaTeX_Caligraphic-Regular.ttf | Bin .../katex/fonts/KaTeX_Caligraphic-Regular.woff | Bin .../katex/fonts/KaTeX_Caligraphic-Regular.woff2 | Bin .../katex/fonts/KaTeX_Fraktur-Bold.ttf | Bin .../katex/fonts/KaTeX_Fraktur-Bold.woff | Bin .../katex/fonts/KaTeX_Fraktur-Bold.woff2 | Bin .../katex/fonts/KaTeX_Fraktur-Regular.ttf | Bin .../katex/fonts/KaTeX_Fraktur-Regular.woff | Bin .../katex/fonts/KaTeX_Fraktur-Regular.woff2 | Bin .../katex/fonts/KaTeX_Main-Bold.ttf | Bin .../katex/fonts/KaTeX_Main-Bold.woff | Bin .../katex/fonts/KaTeX_Main-Bold.woff2 | Bin .../katex/fonts/KaTeX_Main-BoldItalic.ttf | Bin .../katex/fonts/KaTeX_Main-BoldItalic.woff | Bin .../katex/fonts/KaTeX_Main-BoldItalic.woff2 | Bin .../katex/fonts/KaTeX_Main-Italic.ttf | Bin .../katex/fonts/KaTeX_Main-Italic.woff | Bin .../katex/fonts/KaTeX_Main-Italic.woff2 | Bin .../katex/fonts/KaTeX_Main-Regular.ttf | Bin .../katex/fonts/KaTeX_Main-Regular.woff | Bin .../katex/fonts/KaTeX_Main-Regular.woff2 | Bin .../katex/fonts/KaTeX_Math-BoldItalic.ttf | Bin .../katex/fonts/KaTeX_Math-BoldItalic.woff | Bin .../katex/fonts/KaTeX_Math-BoldItalic.woff2 | Bin .../katex/fonts/KaTeX_Math-Italic.ttf | Bin .../katex/fonts/KaTeX_Math-Italic.woff | Bin .../katex/fonts/KaTeX_Math-Italic.woff2 | Bin .../katex/fonts/KaTeX_SansSerif-Bold.ttf | Bin .../katex/fonts/KaTeX_SansSerif-Bold.woff | Bin .../katex/fonts/KaTeX_SansSerif-Bold.woff2 | Bin .../katex/fonts/KaTeX_SansSerif-Italic.ttf | Bin .../katex/fonts/KaTeX_SansSerif-Italic.woff | Bin .../katex/fonts/KaTeX_SansSerif-Italic.woff2 | Bin .../katex/fonts/KaTeX_SansSerif-Regular.ttf | Bin .../katex/fonts/KaTeX_SansSerif-Regular.woff | Bin .../katex/fonts/KaTeX_SansSerif-Regular.woff2 | Bin .../katex/fonts/KaTeX_Script-Regular.ttf | Bin .../katex/fonts/KaTeX_Script-Regular.woff | Bin .../katex/fonts/KaTeX_Script-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size1-Regular.ttf | Bin .../katex/fonts/KaTeX_Size1-Regular.woff | Bin .../katex/fonts/KaTeX_Size1-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size2-Regular.ttf | Bin .../katex/fonts/KaTeX_Size2-Regular.woff | Bin .../katex/fonts/KaTeX_Size2-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size3-Regular.ttf | Bin .../katex/fonts/KaTeX_Size3-Regular.woff | Bin .../katex/fonts/KaTeX_Size3-Regular.woff2 | Bin .../katex/fonts/KaTeX_Size4-Regular.ttf | Bin .../katex/fonts/KaTeX_Size4-Regular.woff | Bin .../katex/fonts/KaTeX_Size4-Regular.woff2 | Bin .../katex/fonts/KaTeX_Typewriter-Regular.ttf | Bin .../katex/fonts/KaTeX_Typewriter-Regular.woff | Bin .../katex/fonts/KaTeX_Typewriter-Regular.woff2 | Bin assets/{vendor => lib}/katex/katex.min.css | 0 assets/{vendor => lib}/katex/katex.min.js | 0 assets/{vendor => lib}/mermaid/mermaid.min.js | 0 layouts/partials/vendor.html | 15 ++++++++------- package.json | 12 ++++++------ 68 files changed, 18 insertions(+), 13 deletions(-) rename assets/{vendor => lib}/chart/chart.min.js (100%) rename assets/{vendor => lib}/katex/auto-render.min.js (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_AMS-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_AMS-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_AMS-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Caligraphic-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Fraktur-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-BoldItalic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-BoldItalic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-BoldItalic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Italic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Italic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Italic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Main-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-BoldItalic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-BoldItalic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-BoldItalic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-Italic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-Italic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Math-Italic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Bold.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Bold.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Bold.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Italic.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Italic.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Italic.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_SansSerif-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Script-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Script-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Script-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size1-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size1-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size1-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size2-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size2-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size2-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size3-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size3-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size3-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size4-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size4-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Size4-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Typewriter-Regular.ttf (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Typewriter-Regular.woff (100%) rename assets/{vendor => lib}/katex/fonts/KaTeX_Typewriter-Regular.woff2 (100%) rename assets/{vendor => lib}/katex/katex.min.css (100%) rename assets/{vendor => lib}/katex/katex.min.js (100%) rename assets/{vendor => lib}/mermaid/mermaid.min.js (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index d306d744..4666280d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- Hugo failing to build site when deploying as a module + ## [1.5.0] - 2021-11-04 ### Added diff --git a/assets/vendor/chart/chart.min.js b/assets/lib/chart/chart.min.js similarity index 100% rename from assets/vendor/chart/chart.min.js rename to assets/lib/chart/chart.min.js diff --git a/assets/vendor/katex/auto-render.min.js b/assets/lib/katex/auto-render.min.js similarity index 100% rename from assets/vendor/katex/auto-render.min.js rename to assets/lib/katex/auto-render.min.js diff --git a/assets/vendor/katex/fonts/KaTeX_AMS-Regular.ttf b/assets/lib/katex/fonts/KaTeX_AMS-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_AMS-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_AMS-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff b/assets/lib/katex/fonts/KaTeX_AMS-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff rename to assets/lib/katex/fonts/KaTeX_AMS-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_AMS-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_AMS-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.ttf b/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff b/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff b/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.ttf b/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff b/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff rename to assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff b/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Bold.ttf b/assets/lib/katex/fonts/KaTeX_Main-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_Main-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Bold.woff b/assets/lib/katex/fonts/KaTeX_Main-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Bold.woff rename to assets/lib/katex/fonts/KaTeX_Main-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_Main-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.ttf b/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.ttf rename to assets/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff b/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff rename to assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 b/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Italic.ttf b/assets/lib/katex/fonts/KaTeX_Main-Italic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Italic.ttf rename to assets/lib/katex/fonts/KaTeX_Main-Italic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Italic.woff b/assets/lib/katex/fonts/KaTeX_Main-Italic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Italic.woff rename to assets/lib/katex/fonts/KaTeX_Main-Italic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Italic.woff2 b/assets/lib/katex/fonts/KaTeX_Main-Italic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Italic.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-Italic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Main-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Main-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Regular.woff b/assets/lib/katex/fonts/KaTeX_Main-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Main-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Main-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Main-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Main-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Main-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.ttf b/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.ttf rename to assets/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff b/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff rename to assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 b/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 rename to assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Math-Italic.ttf b/assets/lib/katex/fonts/KaTeX_Math-Italic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-Italic.ttf rename to assets/lib/katex/fonts/KaTeX_Math-Italic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Math-Italic.woff b/assets/lib/katex/fonts/KaTeX_Math-Italic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-Italic.woff rename to assets/lib/katex/fonts/KaTeX_Math-Italic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Math-Italic.woff2 b/assets/lib/katex/fonts/KaTeX_Math-Italic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Math-Italic.woff2 rename to assets/lib/katex/fonts/KaTeX_Math-Italic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.ttf b/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.ttf rename to assets/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff b/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff rename to assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 b/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 rename to assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.ttf b/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.ttf rename to assets/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff b/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff rename to assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 b/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 rename to assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.ttf b/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff b/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff rename to assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Script-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Script-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Script-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Script-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Script-Regular.woff b/assets/lib/katex/fonts/KaTeX_Script-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Script-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Script-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Script-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Script-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Script-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Script-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size1-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size1-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size1-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size1-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size1-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size1-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size1-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size1-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size2-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size2-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size2-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size2-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size2-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size2-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size2-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size2-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size3-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size3-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size3-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size3-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size3-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size3-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size3-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size3-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Size4-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Size4-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size4-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Size4-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff b/assets/lib/katex/fonts/KaTeX_Size4-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Size4-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Size4-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Size4-Regular.woff2 diff --git a/assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.ttf b/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.ttf rename to assets/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf diff --git a/assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff b/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff rename to assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff diff --git a/assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 b/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 similarity index 100% rename from assets/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 rename to assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 diff --git a/assets/vendor/katex/katex.min.css b/assets/lib/katex/katex.min.css similarity index 100% rename from assets/vendor/katex/katex.min.css rename to assets/lib/katex/katex.min.css diff --git a/assets/vendor/katex/katex.min.js b/assets/lib/katex/katex.min.js similarity index 100% rename from assets/vendor/katex/katex.min.js rename to assets/lib/katex/katex.min.js diff --git a/assets/vendor/mermaid/mermaid.min.js b/assets/lib/mermaid/mermaid.min.js similarity index 100% rename from assets/vendor/mermaid/mermaid.min.js rename to assets/lib/mermaid/mermaid.min.js diff --git a/layouts/partials/vendor.html b/layouts/partials/vendor.html index 1932f8b2..80244d6e 100644 --- a/layouts/partials/vendor.html +++ b/layouts/partials/vendor.html @@ -1,7 +1,8 @@ {{/* Mermaid */}} {{ if .Page.HasShortcode "mermaid" }} - {{ $mermaidJS := resources.Get "vendor/mermaid/mermaid.min.js" }} - {{ $mermaidJS := $mermaidJS | resources.Fingerprint "sha512" }} + {{ $mermaidJS := resources.Get "lib/mermaid/mermaid.min.js" }} + {{ $mermaidJS := $mermaidJS | resources.Fingerprint "sha512" }} + - {{ $katexRenderJS := resources.Get "vendor/katex/auto-render.min.js" }} + {{ $katexRenderJS := resources.Get "lib/katex/auto-render.min.js" }} {{ $katexRenderJS := $katexRenderJS | resources.Fingerprint "sha512" }} - {{ $katexFonts := resources.Match "vendor/katex/fonts/*" }} + {{ $katexFonts := resources.Match "lib/katex/fonts/*" }} {{ range $katexFonts }} {{ end }} diff --git a/package.json b/package.json index f3faed3a..7c71eeeb 100644 --- a/package.json +++ b/package.json @@ -43,27 +43,27 @@ "devVendorCopy": [ { "from": "node_modules/mermaid/dist/mermaid.min.js", - "to": "assets/vendor/mermaid/mermaid.min.js" + "to": "assets/lib/mermaid/mermaid.min.js" }, { "from": "node_modules/chart.js/dist/chart.min.js", - "to": "assets/vendor/chart/chart.min.js" + "to": "assets/lib/chart/chart.min.js" }, { "from": "node_modules/katex/dist/katex.min.js", - "to": "assets/vendor/katex/katex.min.js" + "to": "assets/lib/katex/katex.min.js" }, { "from": "node_modules/katex/dist/katex.min.css", - "to": "assets/vendor/katex/katex.min.css" + "to": "assets/lib/katex/katex.min.css" }, { "from": "node_modules/katex/dist/contrib/auto-render.min.js", - "to": "assets/vendor/katex/auto-render.min.js" + "to": "assets/lib/katex/auto-render.min.js" }, { "from": "node_modules/katex/dist/fonts/", - "to": "assets/vendor/katex/fonts/" + "to": "assets/lib/katex/fonts/" } ] } From 968251bfca4831fceed33ad490bcdc93503ed139 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Thu, 4 Nov 2021 14:22:21 +1100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=94=A8=20Preparing=20release=20v1.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 ++++- assets/css/compiled/main.css | 2 +- assets/css/main.css | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4666280d..5f2d266c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [1.5.1] - 2021-11-04 + ### Fixed - Hugo failing to build site when deploying as a module @@ -155,7 +157,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Advanced customisation using simple Tailwind colour definitions and styles - Fully documented -[unreleased]: https://github.com/jpanther/Congo/compare/v1.5.0...HEAD +[unreleased]: https://github.com/jpanther/Congo/compare/v1.5.1...HEAD +[1.5.1]: https://github.com/jpanther/Congo/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/jpanther/Congo/compare/v1.4.0...v1.5.0 [1.4.0]: https://github.com/jpanther/Congo/compare/v1.3.0...v1.4.0 [1.3.0]: https://github.com/jpanther/Congo/compare/v1.2.1...v1.3.0 diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 432880ca..45722f6d 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,4 +1,4 @@ -/*! Congo v1.5.0 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v1.5.1 | MIT License | https://github.com/jpanther/congo */ /*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */ diff --git a/assets/css/main.css b/assets/css/main.css index f83a7d8b..d15a90e0 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,4 +1,4 @@ -/*! Congo v1.5.0 | MIT License | https://github.com/jpanther/congo */ +/*! Congo v1.5.1 | MIT License | https://github.com/jpanther/congo */ @tailwind base; @tailwind components; diff --git a/package.json b/package.json index 7c71eeeb..71bc3332 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-congo-theme", - "version": "1.5.0", + "version": "1.5.1", "description": "Congo theme for Hugo", "main": "index.js", "scripts": {