mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Shortcodes placed after code blocks with line numbers are rendered with incorrect spacing ([#987](https://github.com/jpanther/congo/issues/987))
|
- Shortcodes placed after code blocks with line numbers are rendered with incorrect spacing ([#987](https://github.com/jpanther/congo/issues/987))
|
||||||
|
- Error building site due to template system changes in Hugo v0.146.0 or later ([#1049](https://github.com/jpanther/congo/issues/1049))
|
||||||
|
|
||||||
## [2.11.0] - 2025-02-24
|
## [2.11.0] - 2025-02-24
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{- partial "partials/functions/warnings.html" .Site -}}
|
{{- partial "functions/warnings.html" .Site -}}
|
||||||
{{- partial "partials/functions/init.html" . -}}
|
{{- partial "functions/init.html" . -}}
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html
|
<html
|
||||||
lang="{{- site.Language.LanguageCode | default "" -}}"
|
lang="{{- site.Language.LanguageCode | default "" -}}"
|
||||||
@@ -20,11 +20,11 @@
|
|||||||
>{{ i18n "nav.skip_to_main" }}</a
|
>{{ i18n "nav.skip_to_main" }}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
{{ $header := print "partials/header/" .Site.Params.header.layout ".html" }}
|
{{ $header := print "header/" .Site.Params.header.layout ".html" }}
|
||||||
{{ if templates.Exists $header }}
|
{{ if templates.Exists $header }}
|
||||||
{{ partial $header . }}
|
{{ partial $header . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ partial "partials/header/basic.html" . }}
|
{{ partial "header/basic.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="relative flex grow flex-col">
|
<div class="relative flex grow flex-col">
|
||||||
<main id="main-content" class="grow">
|
<main id="main-content" class="grow">
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $partial := print "partials/home/" .Site.Params.homepage.layout ".html" }}
|
{{ $partial := print "home/" .Site.Params.homepage.layout ".html" }}
|
||||||
{{ if templates.Exists $partial }}
|
{{ if templates.Exists $partial }}
|
||||||
{{ partial $partial . }}
|
{{ partial $partial . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ partial "partials/home/page.html" . }}
|
{{ partial "home/page.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{ if .Get "default" }}
|
{{ if .Get "default" }}
|
||||||
{{ template "_internal/shortcodes/figure.html" . }}
|
{{ template "_shortcodes/figure.html" . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $url := urls.Parse (.Get "src") }}
|
{{ $url := urls.Parse (.Get "src") }}
|
||||||
{{ $altText := .Get "alt" }}
|
{{ $altText := .Get "alt" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user