mirror of https://github.com/jpanther/congo.git
Compare commits
3 Commits
a96fead3dd
...
915f62ddb8
Author | SHA1 | Date |
---|---|---|
Wolf Noble | 915f62ddb8 | |
James Panther | c87c9adece | |
Wolf Noble | 984bb01c79 |
|
@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Article metadata HTML is output as text when using Hugo v0.120.0 ([#689](https://github.com/jpanther/congo/pull/689))
|
||||||
|
|
||||||
## [2.7.2] - 2023-10-26
|
## [2.7.2] - 2023-10-26
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<div class="flex flex-row flex-wrap items-center">
|
<div class="flex flex-row flex-wrap items-center">
|
||||||
{{/* Output partials */}}
|
{{/* Output partials */}}
|
||||||
{{ with ($meta.Get "partials") }}
|
{{ with ($meta.Get "partials") }}
|
||||||
{{ delimit . "<span class=\"px-2 text-primary-500\">·</span>" }}
|
{{ delimit . "<span class=\"px-2 text-primary-500\">·</span>" | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* Output draft label */}}
|
{{/* Output draft label */}}
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
{{ with .Site.Author.image }}
|
{{ with .Site.Author.image }}
|
||||||
{{ $authorImage := resources.Get . }}
|
{{ $authorImage := resources.Get . }}
|
||||||
{{ if $authorImage }}
|
{{ if $authorImage }}
|
||||||
|
{{- if ne $authorImage.MediaType.SubType "svg" }}
|
||||||
{{ $authorImage := $authorImage.Fill "192x192 Center" }}
|
{{ $authorImage := $authorImage.Fill "192x192 Center" }}
|
||||||
|
{{- end }}
|
||||||
<img
|
<img
|
||||||
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
|
class="!mb-0 !mt-0 me-4 h-24 w-24 rounded-full"
|
||||||
width="96"
|
width="96"
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
{{ with .Site.Author.image }}
|
{{ with .Site.Author.image }}
|
||||||
{{ $authorImage := resources.Get . }}
|
{{ $authorImage := resources.Get . }}
|
||||||
{{ if $authorImage }}
|
{{ if $authorImage }}
|
||||||
|
{{- if ne $authorImage.MediaType.SubType "svg" }}
|
||||||
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
{{ $authorImage := $authorImage.Fill "288x288 Center" }}
|
||||||
|
{{- end }}
|
||||||
<img
|
<img
|
||||||
class="mb-2 h-36 w-36 rounded-full"
|
class="mb-2 h-36 w-36 rounded-full"
|
||||||
width="144"
|
width="144"
|
||||||
|
|
Loading…
Reference in New Issue