Joe Mooring
5a2a88cab1
[PATCH] tpl/tplimpl: Fix double-escaping in opengraph template
...
cherry-picked from gohugoio/hugo@fb51b69
2024-11-09 11:48:39 +05:30
Aditya Telange
d360267d4e
Re-add support for cover images in OpenGraph
...
4a4d0c0
2024-11-09 11:46:39 +05:30
Joe Mooring
8c5833bad0
[PATCH] tpl/tplimpl: Improve embedded opengraph template
...
Changes:
- Add tags per documentation
- Prefer site.Title over site.Params.title
- Plainify titles, tags, and descriptions
- Add fallback values for locale
- Fix pages related by series
- Improve readability
Co-authored-by: tomy0000000 <git@tomy.me>
Co-authored-by: sean-au <sean@powerfulwebdesign.com.au>
2024-11-09 11:39:26 +05:30
Aditya Telange
aebcc92712
JSON Schema uses 'image' for a Person and 'logo' for an Organization.
2024-11-08 21:35:34 +05:30
Hong Xu
0234865f62
Replace thumbnailUrl with logo for json schema ( #1488 )
...
thumbnailUrl is not part of Organization: https://schema.org/Organization
2024-11-08 21:20:24 +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
Aditya Telange
8a17bf8931
Update minimum required Hugo version to 0.125.7
2024-11-03 13:13:11 +05:30
Aditya Telange
f163fb1dc0
Use new 'Image render hook' template from Hugo. ( #1526 )
...
* Pull render-image template from Hugo
https://github.com/gohugoio/hugo/commits/master/tpl/tplimpl/embedded/templates/_default/_markup/render-image.html
cloned at b893a09aa62c01a62e32b0effdb02e86b51d46d6
* Add loading=lazy attribute
c353447d8e
2024-11-03 13:02:57 +05:30
Geeqla
a2eb47bb4b
Add a social icon for Wikipedia ( #1600 )
2024-09-15 13:41:52 +05:30
Geeqla
e2dad36011
Add a social icon for Dzen ( #1599 )
2024-09-15 13:38:44 +05:30
Saeed Esmaili
3f50861a0c
add 500px icon ( #1465 )
...
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2024-05-11 20:11:35 +05:30
Aditya Telange
8dfd322c8a
Refactor svgs
2024-05-11 19:54:06 +05:30
Aditya Telange
2dc859143c
alphabetize svgs by name
2024-05-11 19:24:11 +05:30
James Lamp
17132abed3
Add IMDb, Spacehey and fixed Pinterest logo ( #1510 )
2024-05-11 19:12:45 +05:30
Aditya Telange
6197654dc1
refactor svgs
2024-05-11 12:43:23 +05:30
Aditya Telange
f33b843ef7
Add credly icon
2024-05-11 12:28:50 +05:30
Aditya Telange
33e48f9892
Add anchor link to archive layout headers
2024-05-01 13:56:39 +05:30
Andrew D. Anderson
175059921f
add ethereum social icon ( #1495 )
2024-04-20 18:50:49 +05:30
Aditya Telange
28b86cb5a6
Introduce options to configure footer text
...
In site config =>
params:
footer:
text: "This is footer text - markdown suported"
hideCopyright: true
closes : #1481
2024-04-13 13:51:54 +05:30
Joe Mooring
74ceb5efc5
[PATCH] tpl/tplimpl: Update RSS template
...
- Use publication date for pubdate
- Include version in generator element
cherry-picked from f0a26cf58e
2024-04-13 11:49:09 +05:30
Dmitry Konishchev
beb281a1c6
Fix copyright field rendering HTML in RSS feed ( #1479 )
...
The copyright is rendered in footer as `{{ site.Copyright | markdownify }}`
which assumes it to be Markdown text, but RSS feed template doesn't ready
for Markdown now.
2024-04-13 11:35:52 +05:30
Geeqla
8577a8c887
Add social icon for Archive of Our Own. Fixes adityatelange/hugo-PaperMod#1072 ( #1468 )
2024-04-13 11:16:40 +05:30
Daniel Oliveira
ddc06cde92
add exercism social icon ( #1484 )
2024-04-13 11:14:35 +05:30
Geeqla
4b37729d48
Add social icon for Bandcamp. ( #1460 )
...
Fixes #1392
2024-03-17 01:21:49 +05:30
Geeqla
a2d561bce6
Add social icon for Keyoxide ( #1459 )
...
Fixes #866
2024-03-17 01:19:51 +05:30
sebin babu
3b0a811fb9
Fix hugo build fail due to "expected comma" error ( #1461 )
...
fixes adityatelange/hugo-PaperMod#1458
2024-03-16 21:34:55 +05:30
Aditya Telange
f5c737f872
Utilize page resources on the images page parameter on schema_json
2024-03-10 13:00:33 +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 14d85ec136
++ compatibility fixes for PaperMod
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2024-03-10 12:48:37 +05:30
Zelly Snyder
9e7a589f2c
Add social icon for Signal ( #1446 )
2024-03-07 20:35:26 +05:30
Michitoshi Yano
6e958e7ddb
Add raycast logo ( #1435 )
2024-03-07 20:29:45 +05:30
Aditya Telange
c8f72ab1f4
Fix separator displayed with Single lang sites
...
with Hugo 0.123.x
fixes #1449
2024-03-06 22:30:02 +05:30
Nicolas Duchastel de Montrouge
4278a07b74
Add support fo Tableau ( #1414 )
...
Tableau is one of the most used data visualisation tool.
It has its own very active #datafam community.
This adds an icon which links to someone's public.tableau.com web page.
2024-03-03 00:51:44 +05:30
Nicola Iarocci
944ddc3c7e
add buttondown logo svg ( #1419 )
2024-02-10 15:43:24 +05:30
Shan Gao
7063cdc920
add wantedly icon ( #1416 )
2024-02-10 13:33:37 +05:30
Daniel Terhorst-North
a184c53610
[PATCH] tpl/tplimpl: Fix incorrect lastBuildDate
...
cherry-pick from 87bf2b9688
Co-authored-by: Joe Mooring <joe@mooring.com>
2024-02-10 13:24:33 +05:30
Lucy M
66904cc4c2
Add Fediverse logo ( #1409 )
...
Added a fediverse social icon to svg.html
2024-02-03 21:03:41 +05:30
David Amador
a4a0f8dcfb
Adding xmlns:content namespace to RSS feed and only write content:encoded if something on .Content ( #1411 )
...
* Added xmlns:content namespace for valid RSS feeds with content:encoded
* Only write <content:encoded> in RSS if ShotFullTextinRSS and .Content has something
fixes : #1385
2024-02-03 20:55:52 +05:30
Lucas dos Santos
d6cd6d9175
Add Git SVG icon ( #1387 )
...
closes #1309
2024-01-14 20:10:12 +05:30
flexxindicomplex
71ce72b1bf
Use site.Home.Permalink
instead of site.BaseURL
in templates ( #1368 )
...
* Update schema_json.html
* Update breadcrumbs.html
---------
Co-authored-by: mumuramuri <149406589+mumuramuri@users.noreply.github.com>
2024-01-07 16:11:23 +05:30
Barnett Wilson
6a5a677308
add social icon of juejin ( #1347 )
2024-01-07 15:45:09 +05:30
Hiroshi Shimoju
9c6cf13399
Add the social icon for Bluesky ( #1383 )
2024-01-06 19:14:13 +05:30
Aditya Telange
045c08496d
Highlight.js -> Hugo's chromastyles ( #1364 )
...
* remove hljs
* rename var --hljs-bg to --code-block-bg
* bundle chroma-styles from css/includes/chroma-styles.css
* add compatibility fixes for papermod <-> chroma
* fix line-num and line padding and set width for line container to 100%
* After a lot of experimentation this compatiblity should work well
* fix inline line highlights not working
* Use catppuccin-macchiato as default theme with highlightStyle 'bg:#474733'
- hugo gen chromastyles --style catppuccin-macchiato --highlightStyle 'bg:#474733' > assets/css/includes/chroma-styles.css
2023-12-31 10:27:54 +05:30
Aditya Telange
0989c28a0e
Allow aligning social-icons in homeInfo mode
...
In Site config
homeInfoParams:
AlignSocialIconsTo: "center" # or left or right
2023-12-16 21:40:14 +05:30
Aditya Telange
fb1c0aeb6f
social icons refactor Params.socialIcons
2023-12-16 21:38:24 +05:30
Aditya Telange
e3ad0aeb70
Bump minimum Hugo version to 0.112.4
...
* language.LanguageCode is required for Fix/hugo depr 0.120.x #1328
2023-12-16 19:59:55 +05:30
Aditya Telange
f51ad49819
replace .Site with site & fix whitespace
2023-12-16 19:43:59 +05:30
Joe Mooring
ff7443b17f
[PATCH] tpl/tplimpl: Fix deprecation logic in RSS template
...
cherry-pick from 23fcfb7f74
2023-12-16 19:43:59 +05:30
Joe Mooring
00488d0146
[PATCH] tpl/tplimpl: Deprecate .Site.Author usage in RSS template
...
cherry-pick from d4016dd5cd
2023-12-16 19:43:59 +05:30
Joe Mooring
cf62fa3c40
[PATCH] tpl/tplimpl: Use .Language.LanguageCode in built-in templates
...
cherry-pick from ff77a927f9
2023-12-16 19:43:59 +05:30