cb8ae2fc53
Fix border radius when using line numbers
...
When using line numbers with table style, the border radius for the
corresponding codeblocks leads to annoying gaps between the line numbers
and the actual code.
This commit removes the border radius when the corresponding element is
displayed inside a table (which is the case when line numbers are used
with table format).
2021-12-25 08:59:39 +01:00
a63112050a
Use theme color behind codeblock borders
...
The PaperMod theme uses a border-radius for codeblocks by default. The
div that contains the corresponding code element uses the default
background color, independent of the selected theme (dark vs. light).
This causes an incorrect coloring in the corners of code blocks.
This commits overwrites the background color of the surrounding div with
the current theme color.
2021-12-25 08:56:08 +01:00
4e2558d93c
Add missing spanish translations ( #684 )
2021-12-24 20:29:27 +05:30
dbaa17c69a
Remove call to google_news internal template ( #668 )
...
See https://github.com/gohugoio/hugo/issues/9172
2021-12-12 23:25:19 +05:30
699fc91f1f
Add icon for xing ( #638 )
...
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com >
2021-12-03 22:42:43 +05:30
c876864422
Add icon for CV ( #639 )
...
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com >
2021-12-03 22:38:54 +05:30
386d845782
Prevent code-copy
btn and anchored
headings from getting selected
2021-11-20 18:32:25 +05:30
0c743b767b
Update README.md
...
Add pagespeed.web.dev' report
2021-11-16 20:47:47 +05:30
3bcafa0be9
Show full date on hovering over it in post-meta
2021-10-30 20:27:01 +05:30
76ea33c89c
Check if menu
exists before using scroll position logic
2021-10-30 20:01:35 +05:30
b8c7df1ef9
Allow setting cutom meta theme-color
and msapplication-TileColor
...
fixes : #577
Usage:
In Site Params:
Params:
assets:
theme_color: color
msapplication_TileColor: color
2021-10-30 20:01:16 +05:30
2c6ae04a02
Social-icons: Add Polywork icon. ( #545 )
...
* Social-icons: Add Polywork icon.
fixes #487
Thanks to https://icon-sets.iconify.design/simple-icons/polywork/ and Simple Icons Collaborators (where the SVG came from)
* minor updates to svg
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com >
2021-10-30 19:58:42 +05:30
5f1d92493b
Avoid caching search input between navigation
2021-10-30 13:57:22 +05:30
d81b87938b
Fix params.fuseOpts
being ignored by Fuse.js
...
by implementing a map of lower case to camel case parameters
fixes : #556
2021-10-30 13:42:38 +05:30
1033afcac2
Add danish translation ( #611 )
2021-10-29 20:04:03 +05:30
60cbb311b7
Fix code line highlighting ( #575 )
2021-10-22 20:19:34 +05:30
170e2c5b3f
Use specified min Hugo version (0.83.0) to build gh-pages demo
2021-10-22 20:07:07 +05:30
baa0a71478
Use specified min Hugo version (0.83.0) to build demo
2021-10-22 20:03:03 +05:30
4873bd2767
Bump minimum Hugo version to 0.83.0
2021-10-22 20:01:02 +05:30
10141e278e
Add webp to processable formats ( #540 )
...
* Add webp format only if using Hugo extended
This keeps PaperMod from having a hard dependency on Hugo extended.
2021-10-22 19:59:36 +05:30
38891b9062
Add showCanonicalLink
to markdown metadata ( #428 )
...
If an article has a `canonicalUrl` set, Originally published at `<hostname>` will be displayed at the top of the article by setting `showCanonicalLink` to true.
Usage =>
In front-matter:
canonicalUrl: "<URL>"
showCanonicalLink: true
2021-10-22 19:52:45 +05:30
a57cb762c3
Add remaining Italian translations ( #593 )
2021-10-20 19:48:14 +05:30
b7771de64c
Add Northern and Central Kurdish translations ( #567 )
...
* Add Northern and Central Kurdish translations
* Fix the cases in `prev_page` and `next_page`
* Fix typo
2021-10-03 18:30:45 +05:30
56af5749b5
add zh-tw.yaml ( #578 )
...
add Chinese (Traditional) translations
2021-10-03 18:29:43 +05:30
7c930ee4ea
Converts colour values from rgba
/hex
to rgb
( #560 )
...
- Except for code-copy btn
- Emojis were affected by theme opacity values, fixes : #557
2021-09-20 21:08:44 +05:30
8c2f997ab3
collapse shortcode content can write formative code and change line ( #561 )
2021-09-17 18:41:23 +05:30
4e9b04784b
Move noscript
elements to head
...
- Should fix search engines picking up elements inside noscript
2021-09-11 11:09:01 +05:30
8021be2ddb
Add svg icon for ycombinator ( #535 )
...
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com >
2021-09-05 18:28:17 +05:30
97b373d9ee
Fix irregular spacing in seach title and svg icon
2021-09-05 18:22:39 +05:30
c437ee1b62
Add placeholder
param to let users customize
...
placeholder in search input box
2021-09-05 18:22:24 +05:30
8456ad83ae
Fix button not allowed inside anchor in footer - HTML validator complaint ( #551 )
...
Move attributes to anchor and remove not required span (which was used
place of a button which was against HTML spec).
2021-09-05 11:54:00 +05:30
d76bc91ed0
Reduce Cognitive Complexity of fastsearch.js ( #554 )
2021-09-04 15:44:22 +05:30
42a23c96e2
Allow customizing Social-Media Share buttons
...
Usage (site as well as fron-matter) =>
- `ShareButtons: ["linkedin", "twitter"]`
- must be a list `[]`
closes : #431
2021-09-04 13:10:35 +05:30
7072a79f71
Refine [draft]
tag display
2021-09-04 12:03:12 +05:30
9a20b2e54c
Fix div not allowed in summary element in ToC (html validator complaint) ( #552 )
2021-09-03 18:57:36 +05:30
5bc9c5a73b
Allow emabling/disabling responsiveImages per page #518
2021-09-02 20:54:50 +05:30
2aad433ae5
Fix title(entry-header) line height in regular mode
...
fixes : #527
2021-09-02 20:41:54 +05:30
7ea01a0ab2
Allow hiding ShowCodeCopyButtons
per page
...
closes : #548
2021-09-02 20:22:08 +05:30
3442d5cb52
Allow hiding copyright/footer text
...
closes : #543
2021-09-02 20:19:52 +05:30
b4393b3d6e
Add post-content
only if it exists
2021-09-02 13:43:08 +05:30
162d80071f
Allow adding markdown description on list pages
2021-09-02 13:38:55 +05:30
bc99ae777d
Allow adding Content
on list pages
2021-09-02 13:33:47 +05:30
0eac254d58
Enable summary
in Section pages
2021-09-02 13:26:05 +05:30
ee81fe77ad
Update PULL_REQUEST_TEMPLATE.md
...
Add: I have verified that the code works as described/as intended.
2021-09-01 18:54:12 +05:30
caa2240f12
Add missing [draft]
tag on archive page
2021-08-30 15:22:22 +05:30
6ed6b7aac8
Refactor svgs
2021-08-27 23:17:38 +05:30
f70debb55a
Add svg icon for googlescholar
...
source: https://simpleicons.org/?q=googlescholar
2021-08-27 23:16:44 +05:30
da1de88886
Add svg icon for researchgate
...
source: https://simpleicons.org/?q=researchgate
2021-08-27 23:10:43 +05:30
e5ba0272de
Never display the ToC when it would be empty ( #532 )
2021-08-27 22:59:50 +05:30
4970e61c7b
Update fa translations fa.yaml ( #534 )
2021-08-25 22:28:59 +05:30