mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 18:01:36 -04:00
@@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Featured images overlap page title when article metadata hidden ([#827](https://github.com/jpanther/congo/issues/827))
|
- Featured images overlap page title when article metadata hidden ([#827](https://github.com/jpanther/congo/issues/827))
|
||||||
|
- Inconsistent picture rendering between `figure` shortcode and Markdown render hook ([#828](https://github.com/jpanther/congo/issues/828))
|
||||||
|
|
||||||
## [2.8.2] - 2024-04-17
|
## [2.8.2] - 2024-04-17
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{{ $altText := .Get "alt" }}
|
{{ $altText := .Get "alt" }}
|
||||||
{{ $caption := .Get "caption" }}
|
{{ $caption := .Get "caption" }}
|
||||||
{{ $href := .Get "href" }}
|
{{ $href := .Get "href" }}
|
||||||
{{ $class := .Get "class" }}
|
{{ $class := default "mx-auto my-0 rounded-md" (.Get "class") }}
|
||||||
|
|
||||||
{{ $file := $url.Path }}
|
{{ $file := $url.Path }}
|
||||||
{{ $img := .Page.Resources.GetMatch $file }}
|
{{ $img := .Page.Resources.GetMatch $file }}
|
||||||
|
|||||||
Reference in New Issue
Block a user