From 03397290395cb16c008c74a4bbb954f7e848fabd Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sun, 22 Aug 2021 16:58:25 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20externalUrl=20not=20workin?= =?UTF-8?q?g=20on=20some=20list=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +-- layouts/partials/article-link.html | 12 ++++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cf49323..ccd47348 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,6 @@ All notable changes to Congo will be documented in this file. Things that need a The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ---- - ## [Unreleased] ### Added @@ -26,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Hugo Modules would fail when using default theme config file - Some content not centred correctly on the profile homepage layout - Some links missing the correct styles when in Firefox +- `externalUrl` front matter not working on some list pages ## [1.1.1] - 2020-08-19 diff --git a/layouts/partials/article-link.html b/layouts/partials/article-link.html index 85764197..74678ae1 100644 --- a/layouts/partials/article-link.html +++ b/layouts/partials/article-link.html @@ -1,19 +1,19 @@

- {{ if isset .Params "externalUrl" }} + {{ with .Params.externalUrl }} {{ .Title }}{{ $.Title }} + ↗ + {{ else }}