From 16edb5da3bce7b9714f59f56dabd79cb254a50d5 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:25:55 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ layouts/_default/_markup/render-link.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 325b3633..9a4e40c7 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] +### Added + +- Warning when building if links to markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691)) + ### Removed - Fathom Analytics custom domain parameter as this is no longer supported by Fathom diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 079d8d37..141f8020 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -9,7 +9,7 @@ {{ $link = printf "%s%s" .RelPermalink $fragment }} {{ else }} {{- if hasSuffix $url.Path ".md" }} - {{ warnf "Can't resolve: %s" .Destination }} + {{ warnf "[CONGO] Can't resolve: %s" .Destination }} {{ end -}} {{ end -}} {{ end -}}