Commit Graph

949 Commits

Author SHA1 Message Date
Aditya Telange 386d845782
Prevent `code-copy` btn and `anchored` headings from getting selected 2021-11-20 18:32:25 +05:30
Aditya Telange 0c743b767b
Update README.md
Add pagespeed.web.dev' report
2021-11-16 20:47:47 +05:30
Aditya Telange 3bcafa0be9
Show full date on hovering over it in post-meta 2021-10-30 20:27:01 +05:30
Aditya Telange 76ea33c89c
Check if `menu` exists before using scroll position logic 2021-10-30 20:01:35 +05:30
Aditya Telange 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
Erica Pisani 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
Aditya Telange 5f1d92493b
Avoid caching search input between navigation 2021-10-30 13:57:22 +05:30
Aditya Telange 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
moonleg 1033afcac2
Add danish translation (#611) 2021-10-29 20:04:03 +05:30
Johnny Metz 60cbb311b7
Fix code line highlighting (#575) 2021-10-22 20:19:34 +05:30
Aditya Telange 170e2c5b3f
Use specified min Hugo version (0.83.0) to build gh-pages demo 2021-10-22 20:07:07 +05:30
Aditya Telange baa0a71478
Use specified min Hugo version (0.83.0) to build demo 2021-10-22 20:03:03 +05:30
Aditya Telange 4873bd2767
Bump minimum Hugo version to `0.83.0` 2021-10-22 20:01:02 +05:30
Daniel F. Dickinson 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
nikaera 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
Francesco Scuccimarri a57cb762c3
Add remaining Italian translations (#593) 2021-10-20 19:48:14 +05:30
Roj Serbest 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
Pupu 56af5749b5
add zh-tw.yaml (#578)
add Chinese (Traditional) translations
2021-10-03 18:29:43 +05:30
Aditya Telange 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
drizzle 8c2f997ab3
collapse shortcode content can write formative code and change line (#561) 2021-09-17 18:41:23 +05:30
Aditya Telange 4e9b04784b
Move `noscript` elements to head
- Should fix search engines picking up elements inside noscript
2021-09-11 11:09:01 +05:30
Clément Joly 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
Aditya Telange 97b373d9ee
Fix irregular spacing in seach title and svg icon 2021-09-05 18:22:39 +05:30
Aditya Telange c437ee1b62
Add `placeholder` param to let users customize
placeholder in search input box
2021-09-05 18:22:24 +05:30
Daniel F. Dickinson 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
Aditya Telange d76bc91ed0
Reduce Cognitive Complexity of fastsearch.js (#554) 2021-09-04 15:44:22 +05:30
Aditya Telange 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
Aditya Telange 7072a79f71
Refine `[draft]` tag display 2021-09-04 12:03:12 +05:30
Daniel F. Dickinson 9a20b2e54c
Fix div not allowed in summary element in ToC (html validator complaint) (#552) 2021-09-03 18:57:36 +05:30
Aditya Telange 5bc9c5a73b
Allow emabling/disabling responsiveImages per page #518 2021-09-02 20:54:50 +05:30
Aditya Telange 2aad433ae5
Fix title(entry-header) line height in regular mode
fixes: #527
2021-09-02 20:41:54 +05:30
Aditya Telange 7ea01a0ab2
Allow hiding `ShowCodeCopyButtons` per page
closes: #548
2021-09-02 20:22:08 +05:30
Aditya Telange 3442d5cb52
Allow hiding copyright/footer text
closes: #543
2021-09-02 20:19:52 +05:30
Aditya Telange b4393b3d6e
Add `post-content` only if it exists 2021-09-02 13:43:08 +05:30
Aditya Telange 162d80071f
Allow adding markdown description on list pages 2021-09-02 13:38:55 +05:30
Aditya Telange bc99ae777d
Allow adding `Content` on list pages 2021-09-02 13:33:47 +05:30
Aditya Telange 0eac254d58
Enable `summary` in Section pages 2021-09-02 13:26:05 +05:30
Aditya Telange 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
Aditya Telange caa2240f12
Add missing `[draft]` tag on archive page 2021-08-30 15:22:22 +05:30
Aditya Telange 6ed6b7aac8
Refactor svgs 2021-08-27 23:17:38 +05:30
Aditya Telange f70debb55a
Add svg icon for googlescholar
source: https://simpleicons.org/?q=googlescholar
2021-08-27 23:16:44 +05:30
Aditya Telange da1de88886
Add svg icon for researchgate
source: https://simpleicons.org/?q=researchgate
2021-08-27 23:10:43 +05:30
Clément Joly e5ba0272de
Never display the ToC when it would be empty (#532) 2021-08-27 22:59:50 +05:30
Pikhosh 4970e61c7b
Update fa translations fa.yaml (#534) 2021-08-25 22:28:59 +05:30
Ian Grünig dcbe6277bb
Add width and height attributes to cover images (#519)
- Ensures that the browser can allocate the correct amount of space in the document while the image is loading.
- Reduces CLS #499
2021-08-22 11:45:28 +05:30
Aditya Telange 1214963760
Update README 2021-08-18 20:39:38 +05:30
Kevin Decherf 7d67d64bb7 Add social icon for Server Fault
Source: https://simpleicons.org

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-14 19:22:54 +05:30
Kevin Decherf 1458d8de67 Add social icon for Matrix
Source: https://simpleicons.org

Fixes #450

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-14 19:22:54 +05:30
Kevin Decherf e44cef81c6 Add social icon for Liberapay
Source: https://en.liberapay.com/about/logos

Fixes #483

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-14 19:22:54 +05:30
Kevin Decherf 0c4ec163a6 Add social icon for Flickr
Source: https://simpleicons.org

Fixes #449

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2021-08-14 19:22:54 +05:30