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
Daniel Petre
a1cb044262
Add romanian translation to ro.yaml ( #1362 )
...
Add romanian translation (with diacritics) to ro.yaml
2023-12-23 12:01:01 +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
69e5e085ab
improved profile mode spacing
2023-12-16 20:59:36 +05:30
Aditya Telange
f8e125c7ee
Add padding to social-icons for better tap sizing
2023-12-16 20:59:08 +05:30
Aditya Telange
5f624757ae
Workflows: Update release bin path for hugo linux-amd64.deb
2023-12-16 20:07:15 +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
86362ebd72
Update README.md
2023-12-16 19:28:05 +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
28ec7a407d
Revert "Fix social icons extraneous margin"
...
This reverts commit 6864770ad4
.
2023-12-16 00:32:25 +05:30
Aditya Telange
705ebeb729
table styles update
...
- reduce margins
- rm reduced fontsize
2023-12-15 22:09:48 +05:30
Aditya Telange
6864770ad4
Fix social icons extraneous margin
2023-12-15 22:09:15 +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
Matěj Pokorný
65d650fc4d
Adding-czech-translation-to-i18n ( #1338 )
2023-11-20 00:41:16 +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
4c50ed8bfa
Update fuse.js v6.6.2 to v7.0.0 basic
2023-11-11 12:08:18 +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
Aditya Telange
24f3096e33
Update README.md
...
Mention Paper's commit sha
2023-10-29 22:50:26 +05:30
Kevin Chung
4bbd551d2b
feat: add bugcrowd and intigriti to svg.html ( #1205 )
2023-10-28 13:25:25 +05:30
calalloo
7781c94699
Add Swahili translation sw.yaml ( #1303 )
...
Co-authored-by: dryscord <139716273+dryscord@users.noreply.github.com>
2023-10-28 13:22:31 +05:30
Thanos Apollo
abe49a5ad4
Add codeberg icon ( #1310 )
...
Resolve #1268
2023-10-28 13:21:42 +05:30
Lars Kristian Haga
697034ccb7
Added Norwegian translation ( #1318 )
2023-10-28 13:17:21 +05:30
Thành Nhân
b4dd5f0b18
Update vi.yaml ( #1316 )
2023-10-28 13:17:03 +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
Hiroshi Shimoju
eab731707a
fix: Prevent adjustments of font size after orientation changes in iOS ( #1285 )
...
The font size in the code block may be larger.
As shown below, the Reset CSS specifies `text-size-adjust: 100%`.
fc091cce15/normalize.css (L13)
092d0d8592/sanitize.css (L43)
2023-08-12 13:26:08 +05:30
Navendu Pottekkat
f7bd1ec07c
feat: add configurable limit to search results ( #1281 )
...
* feat: add configurable limit to search results
Signed-off-by: Navendu Pottekkat <navendu@apache.org>
* Handle case where params.fuseOpts is not defined
resulting into `Cannot read properties of null (reading 'limit')`
Utilizes search options by fuse https://www.fusejs.io/api/methods.html#search
The options:
limit (type: number): Denotes the max number of returned search results.
---------
Signed-off-by: Navendu Pottekkat <navendu@apache.org>
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2023-08-12 13:17:24 +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