Commit Graph

640 Commits

Author SHA1 Message Date
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 https://github.com/gohugoio/hugo/commit/23fcfb7f741a417f53a8ef4997bb68e64631df01
2023-12-16 19:43:59 +05:30
Joe Mooring 00488d0146 [PATCH] tpl/tplimpl: Deprecate .Site.Author usage in RSS template
cherry-pick from https://github.com/gohugoio/hugo/commit/d4016dd5cd57a27f19a5472c6031d156066860b7
2023-12-16 19:43:59 +05:30
Joe Mooring cf62fa3c40 [PATCH] tpl/tplimpl: Use .Language.LanguageCode in built-in templates
cherry-pick from https://github.com/gohugoio/hugo/commit/ff77a927f9c032f5a65eff2daf1f7f8c04103711
2023-12-16 19:43:59 +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
Razon Yang 102e089bc3 [PATCH] tpl/embedded: Make Open Graph's series optional
cherry-picked from https://github.com/gohugoio/hugo/commit/b82b547acb404cdb883154cc4991137d46caa22a
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
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
Aditya Telange be5badf317 Add RSS icon to archives page 2023-04-23 20:15:10 +05:30
Alexander Zhang 8d1e45a42a Fix RSS link for paginated list pages (#1192)
The link was previously hard-coded to index.html, which doesn't work on
paginated list pages because it would go to something like
/section/pages/2/index.html instead of /section/index.html.
2023-04-23 19:47:46 +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
Geeqla 5d2c036624 Add social icon for VK (#1171) 2023-04-02 00:19:49 +05:30
Aditya Telange 1d151a4a02 Revert "Add RSS icon to archive pages (#1156)" (#1183)
This reverts commit a636c9eaee.
2023-04-02 00:17:01 +05:30
Clément Joly a636c9eaee Add RSS icon to archive pages (#1156)
If the setting “ShowRssButtonInSectionTermList” is true, I think it
makes sense to also show the RSS icon by the title in archive pages, as
we do for other article lists.

This reuses the code of `layouts/_default/list.html`.
2023-04-01 23:58:19 +05:30
Jingchao a35a33c2e1 Add douban and zhihu icon (#1084) 2023-02-04 17:42:27 +05:30