Commit graph

607 commits

Author SHA1 Message Date
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
Joe Mooring
87df659c18 [PATCH] tpl/tplimpl: Fix deprecation logic in embedded templates
cherry-picked from cb98e9061b
2023-12-16 19:43:59 +05:30
Joe Mooring
3fb112bc85 [PATCH] tpl/tplimpl: Deprecate .Site.Social usage with internal templates
cherry-picked from 4910312ee7
2023-12-16 19:43:59 +05:30
Razon Yang
102e089bc3 [PATCH] tpl/embedded: Make Open Graph's series optional
cherry-picked from b82b547acb
2023-12-16 19:43:59 +05:30
Aditya Telange
60984fd136
Add icon for 'draft' posts
https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Aedit_note%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048

LICENSE: https://developers.google.com/fonts/faq#can_i_use_any_font_in_a_commercial_product
2023-12-16 14:06:46 +05:30
Aditya Telange
65c2720ab9
lazy load cover images in lists only 2023-12-16 13:09:19 +05:30
Aditya Telange
2ecb08a5ba
Plainify items insize toc list 2023-12-15 22:08:25 +05:30
Aditya Telange
e0fc64c43e
Optimize footer margins 2023-12-10 12:36:05 +05:30
Aditya Telange
b288ede80c
[breaking?] Allow page-specific cover settings to override site-level settings
Fixes:  #818 #185
2023-11-25 18:06:31 +05:30
Aditya Telange
ac444fc0f5
Update discord icon
Mark only from https://discord.com/branding
2023-11-19 20:03:41 +05:30
Josh Müller
5a99ab779d
Add Wordpress Icon (#1114) 2023-11-11 20:53:59 +05:30
Aditya Telange
ba739cfe29
Set maxlength for search input to 64 chars
fixes  #1329
2023-11-11 12:15:11 +05:30
Aditya Telange
72ab73ffe5
Error out if hugo.Version used is less than min required version 2023-11-04 16:01:44 +05:30
Sebastian Zanoni
50cafe4b1c
Add X icon in Share and Social buttons (replaces twitter share icon) (#1273)
* Add svg for X

* Add X share button

* Remove twitter share button

* Add backwards compatibility for twitter share button

* simplify condition

* alphabetize x svg

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2023-11-04 10:32:55 +05:30
Aditya Telange
7795c90f6f
Add safeHTML to post_meta
- delimit now returns a string and not a template.HTML from hugo v0.120.0
- no impact found with min req version for Papermod
https://github.com/gohugoio/hugo/releases/tag/v0.120.0

fixes #1325
2023-10-31 21:34:19 +05:30
Kevin Chung
4bbd551d2b
feat: add bugcrowd and intigriti to svg.html (#1205) 2023-10-28 13:25:25 +05:30
Thanos Apollo
abe49a5ad4
Add codeberg icon (#1310)
Resolve #1268
2023-10-28 13:21:42 +05:30
COxDE
efe4cb4516
Add social icon for Pleroma (#1293) 2023-08-26 20:18:57 +05:30
COxDE
3a064f5c76
Add the social icon for Firefish (#1294) 2023-08-26 20:18:14 +05:30
black jack
9d4a9e825a
add social icon of leetcode (#1286)
* add social icon of leetcode
from https://simpleicons.org/

* alphabetize

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2023-08-12 17:52:00 +05:30
Aditya Telange
ac1e041419
Add news.ycombinator share button 2023-08-09 21:19:17 +05:30
Bob Zheng
69cec7a0ba
feat: add wechat icon (#1149)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2023-08-05 12:12:02 +05:30