Commit Graph

457 Commits

Author SHA1 Message Date
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
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
Lucy M
66904cc4c2 Add Fediverse logo (#1409)
Added a fediverse social icon to svg.html
2024-02-03 21:03:41 +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
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
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
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
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
Berk Elyesa Yıldırım
4230109ff7 Add svg for pixelfed (#87) (#1272) 2023-08-05 12:01:43 +05:30
Rook1e
1521cc77a2 feat: allow hiding author in post_meta (#1250)
* feat: allow hiding author in post_meta

For a person's site, in most cases the author is the person, and displaying it
on every post and list may be redundant.

Setting the `params.author` in the configuration to empty will achieve
the hidden effect, but it will also empty the value of `<meta name="author">`.

So add hideAuthor
2023-08-05 11:52:30 +05:30
Morc
6f29d35d73 Add svg for root-me.org (#1174) 2023-07-23 14:14:45 +05:30
Markus Dick
faa73a4ee8 add printables and thingiverse logo (#1216)
source of the logos is simpleicons.org
2023-07-23 14:06:25 +05:30
Andreas Deininger
61bf918a0d socialIcons, fix: apply safeURL to make all URI schemes work (#1266) 2023-07-23 14:02:18 +05:30
Tarak Parab
804a8682f3 Icon for Google Play Store (#1242) 2023-07-09 11:10:43 +05:30
Roland Thomas Jr
c52abfb09b Add social icon for Tidal (#1259) 2023-07-09 11:10:07 +05:30
Geeqla
8ac719fb56 Add social icon for Threads (#1256) 2023-07-09 11:08:57 +05:30
Timon Back
d6f911cc05 Allow loading cover from assets folder (#1187)
By default, the cover is loaded from the page resources folder (same folder).
If the image is not found, the (global) assets folder is searched as well. If found, the same processing is done.
Otherwise, the fallback remains with linking to the image directly.
2023-04-28 20:13:57 +05:30
Shivan Sivakumaran
a34784c3ed Add social icon for substack (#1197) 2023-04-23 19:17:29 +05:30
Douglas Tofoli
031e2ba57e Add condition to disable edit post on single pages (#1143)
editPost:
    disabled: true

---------

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2023-04-02 00:34:56 +05:30