Patrice Chalin
a2f09c8c0d
[PATCH] tpl/tplimpl: Trim descriptions rather than just chomp
...
from https://github.com/gohugoio/hugo/commit/039845804fd545de18a3c4f17f8f7b3ad3bf615b
2026-03-08 22:37:57 +05:30
Joe Mooring
3f20d3cd77
[PATCH] tpl/tplimpl: Plainify title and description in twitter_cards.html
...
from https://github.com/gohugoio/hugo/commit/74ab839ccb397ea9df1c96d71c5347f49f2b231a
2026-03-08 22:36:23 +05:30
Jake Bailey
7cf752f864
Implement fixes for refreshed template system for Hugo v0.146.0+ ( #1726 )
2025-04-20 11:46:23 +05:30
Joe Mooring
862630533c
[PATCH] tpl/tplimpl: Remove trailing slash from void elements
...
cherry-picked from gohugoio/hugo@2f7df4b
2024-11-03 13:58:35 +05:30
Joe Mooring
65bd711a3b
[PATCH] hugolib: Deprecate site methods Author, Authors, and Social
...
cherry-picked from gohugoio/hugo@d4d49e0
2024-11-03 13:57:32 +05:30
Razon Yang
df330a05b5
[PATCH] tpl: Allow using page resources on the images page parameter
...
for `opengraph`, `schema` and `twitter_cards` templates
The page images selection order as follows:
1. Page's images parameter, image resources are supported.
2. Page's image resources that naming in *feature*, *cover* or *thumbnail* pattern.
3. If no page images specified, then the first one of site's images will be used as the fallback, supports site resources.
cherry-picked from https://github.com/gohugoio/hugo/commit/14d85ec136413dcfc96ad8e4d31633f8f9cbf410
++ compatibility fixes for PaperMod
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com >
2024-03-10 12:48:37 +05:30
Joe Mooring
87df659c18
[PATCH] tpl/tplimpl: Fix deprecation logic in embedded templates
...
cherry-picked from https://github.com/gohugoio/hugo/commit/cb98e9061b3d62b6f1e635a6cf9a8be57dc3f56c
2023-12-16 19:43:59 +05:30
Joe Mooring
3fb112bc85
[PATCH] tpl/tplimpl: Deprecate .Site.Social usage with internal templates
...
cherry-picked from https://github.com/gohugoio/hugo/commit/4910312ee75a1c67fad68c259ad9576dca854c62
2023-12-16 19:43:59 +05:30
Aditya Telange
575cc0ca8c
Use site function instead of .Site or $.Site
...
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30
Aditya Telange
24e5d82ecb
Update hugo internal templates
...
Remove .Site.Authors from embedded templates
https://github.com/gohugoio/hugo/commit/f6745ad3588a7b3aaae228fec18fe0027affd566
2021-05-01 11:32:45 +05:30
Aditya Telange
23636ab326
templates: social-meta: prefer cover image over other images
2020-10-12 17:26:45 +05:30
Aditya Telange
4a4d0c009c
templates: add cover image to be linked into meta
...
for opengraph, schema and twitter
2020-10-11 21:04:17 +05:30
Aditya Telange
6c4e094c91
templates: Add Twitter Cards, OpenGraph, Schema
...
This code is licensed under Apache License 2.0
and is part of https://github.com/gohugoio/hugo
2020-10-11 20:07:43 +05:30