From 12e15eeaddd5d2cf1ea6c17d6e90d6f1daf26364 Mon Sep 17 00:00:00 2001 From: Hugo Gruson <10783929+Bisaloo@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:30:29 +0200 Subject: [PATCH] Add netlify plug in to check links --- custom.scss | 4 ++-- netlify.toml | 5 +++++ package.json | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/custom.scss b/custom.scss index 3a30b8c..f099b78 100644 --- a/custom.scss +++ b/custom.scss @@ -1,5 +1,5 @@ -@import 'https://fonts.googleapis.com/css?family=DM+Sans:300,400,600,700'; -@import 'https://fonts.googleapis.com/css2?family=Roboto+Mono:400'; +@import 'https://fonts.googleapis.com/css?family=DM+Sans:wght@300,400,600,700'; +@import 'https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400'; /*-- scss:defaults --*/ $bs-body-font-family: 'DM Sans', sans-serif; diff --git a/netlify.toml b/netlify.toml index 0881c2b..513d19e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,2 +1,7 @@ [[plugins]] package = "@quarto/netlify-plugin-quarto" + +[[plugins]] +package = "netlify-plugin-checklinks" + [plugins.inputs] + checkExternal = false diff --git a/package.json b/package.json index 0995263..e078915 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { - "@quarto/netlify-plugin-quarto": "^0.0.5" + "@quarto/netlify-plugin-quarto": "^0.0.5", + "netlify-plugin-checklinks": "^4.1.1" } }