Commit Graph

973 Commits

Author SHA1 Message Date
4cc3fb26ce Modify breadcrumbs logic
First part of the breadcrumbs generation algorithm is to remove the
base URL from the parent's permalink URL.

In the existing code, this is achieve by replacing all instances of
base URL in the parent's permalink URL by an empty string.

This algorithm fails to produces breadcrumbs in the instance where the
base URL is "/" for example.

I believe this is erroneous as only the first instance of the base URLi,
starting at the beginning of the parent's permalink URL should be
replaced by an empty string.

This is the reason I replaced the call to "replace" by a call to
"replaceRE".
2023-01-06 09:11:50 +01:00
d3d90be8a4 Improve Turkish Translation tr.yaml (#1098) 2022-12-24 20:51:10 +05:30
bf0883adb5 Update Hebrew translation (#1104)
Signed-off-by: Eran Israeli <eisraeli@redhat.com>
2022-12-24 20:49:02 +05:30
5ca2d29537 Fix multi-line anchor tags not highlighted/underlined.
fixes: #1107
2022-12-20 21:13:51 +05:30
4bd96d6271 Added Croatian translation (hr.yaml) (#1044) 2022-11-12 13:07:33 +05:30
3b83cdc4b5 Improve Bengali translation (#1086)
Added the following id:

- `words`
2022-11-12 13:05:30 +05:30
3a0a4811cb [PATCH] Fix date format in schema and opengraph templates
cherry-picked from 34e4742f0c
2022-09-03 16:29:45 +05:30
ddfea82cc7 Fix error with profileMode imageUrl on Windows devices
when imageUrl was set with external link resources.Get throws an error

Ref: 22ef5da20d

fixes: #1019
2022-09-03 16:06:39 +05:30
1f0f294c85 Use Nullish Coalescing Operator with Fastsearch (#1033) 2022-09-02 21:32:32 +05:30
275d0e9be7 Update bug report template
Add Repo/Source where this issue can be reproduced
2022-08-28 15:40:40 +05:30
2761a95697 add sketchfab icon (#998) 2022-08-28 15:26:51 +05:30
0cf3f7ae00 Fix spotify icon svg (#997)
super minor fix for spotify icon, basically no change in functionality

typo in 'stoke' but it looks better without that way anyways so i just changed it to none
2022-08-28 15:25:59 +05:30
178b18e4e7 Updating pagination strings for de (#1024) 2022-08-28 15:20:53 +05:30
2009151773 Add icons for AniList and osu! (#1022)
* Add anilist logo

* Add osu logo
2022-08-28 15:20:38 +05:30
11a52b70cd Fix spacing around rawhtml shortcode (#1018)
Removes line break from generated HTML output. This line break renders in browsers as an unwanted space.
2022-08-28 15:18:20 +05:30
b906338dc8 Add param 'hiddenInHomeList' to hide certain post from home page
Usage =>
---
title: post name
hiddenInHomeList: true
---
2022-08-20 14:31:07 +05:30
198a4d74ae Fix Code Smell: Unexpected var, use let or const instead.
https://sonarcloud.io/project/issues?issues=AYEpqxwP3DjyH4ZzxfLw&open=AYEpqxwP3DjyH4ZzxfLw&id=adityatelange_hugo-PaperMod
2022-08-20 14:20:51 +05:30
fd077de0f4 Add social icons for DeviantArt and Patreon (#1013)
* Add DeviantArt social icon

* Add Patreon social icon
2022-08-19 22:45:49 +05:30
84f9adfa5f Adding threema as social icon (#1012) 2022-08-19 22:44:21 +05:30
eba92edd83 Feat: Add page nums in list pages
In site config =>
Params:
    ShowPageNums: true
2022-08-15 19:25:55 +05:30
6f0c88d2b8 pages: use github actions as build source
- remove older build config (Classic Pages)
2022-08-15 18:58:10 +05:30
7c4aa74069 Add more ja translations (#1004) 2022-08-12 19:42:09 +05:30
3e544a3ebd Updating pagination strings for bn: (#1002)
"পরবর্তী পাতা" -> "পরবর্তী" & "পূর্বের পাতা" -> "পূর্ববর্তী"
2022-08-06 12:10:41 +05:30
42fa989316 Add optional custom "title" for social links (#999)
Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2022-08-06 12:09:58 +05:30
30a2cc7a65 Add a meta tag for naver site verification (#991) 2022-07-24 12:25:28 +05:30
0f37c0615e add vimeo icon (#975) 2022-07-24 12:22:35 +05:30
77ffb308c3 Allow adding SVG in place of logo image (#976)
Usage =>
Params.label.iconSVG: "<your SVG as a string>"
2022-07-23 09:45:32 +05:30
87ffee9fcf Remove alt for label.icon
considering "iconic images that are redundant with text next to them or purely decorative should have alt="" instead."
from https://validator.w3.org/
2022-07-17 11:44:33 +05:30
bb6d4647bd add missing Icons, update Icon style (#733)
* 💄 Update Icons

- add Icon for Micro.blog
- add Icon for xmpp
- add Icon for session messenger
- update Steam Icon to fit to line icon style of papermod-theme

Signed-off-by: Achim Krämer <39946364+pxlfrk@users.noreply.github.com>

* refactor alphabetically

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2022-07-17 11:42:42 +05:30
450e8867a6 Update inTextImg.html
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
2022-07-17 00:19:07 +05:30
575b0b0e38 Update hindi translation (#977) 2022-07-16 12:28:52 +05:30
c0b7ea5f4b Fix Profile Mode imageTitle missing
fixes: #945
2022-07-09 20:09:32 +05:30
621c9f60fb Adding Sourcehut SocialIcon (#964) 2022-07-09 14:52:39 +05:30
29fefb4890 Add a space to External link SVG in profile button 2022-07-08 23:26:29 +05:30
179fea63a3 Add a space to External link SVG in header menu 2022-07-08 20:43:59 +05:30
4824f4623d Mark External link with an SVG icon
in profile-mode buttons and Menu
2022-07-08 20:29:56 +05:30
e3c30b4e41 Add inTextImg shortcode
Allows adding in-line-text images

usage in page.md =>
This image is inlined {{< inTextImg.html url="image.png" >}} here.

optional args:
- height
- alt
2022-07-08 20:28:38 +05:30
5032b2c4f1 Revert "add blockquote as shortcode"
This reverts commit 984d1a576c.

Removal of shortcode for blockquote: https://github.com/parsiya/Hugo-Shortcodes/blob/master/shortcodes/blockquote.html
2022-07-08 20:28:29 +05:30
d5b780720d Simplify share-buttons svg 2022-07-08 20:28:22 +05:30
6ebeb20bdb Remove share-buttons svg animation 2022-07-08 20:28:05 +05:30
5f280c5df2 Simplify theme-toggle svg height 2022-07-08 20:27:40 +05:30
Em
1ead1f76e2 Change i18n next prev page Indonesian (#961)
Co-authored-by: aemtsh <105593707+aemtsh@users.noreply.github.com>
2022-07-08 20:24:47 +05:30
36b4cb35a4 Update russian translation (#957) 2022-07-08 20:24:23 +05:30
Em
9af128a8a6 Update Indonesian Languange (id.yaml) (#955) 2022-06-24 21:00:09 +05:30
7683ef1825 Add lichess.org social icon. (#952) 2022-06-22 23:03:16 +05:30
0262b5eba0 Fix typo to work with site verification tags (#954)
It was originally correct code, but it has been erroneously corrected by the commit below.
575cc0c

Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
2022-06-22 22:49:43 +05:30
a94674e6c9 Include chroma fix code when hljs is disabled
provided: pygmentsUseClasses: true & markup.highlight.noClasses: false

https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma
2022-06-10 21:26:13 +05:30
Roj
c692695754 Improve Kurdish translations (#936) 2022-06-04 21:13:35 +05:30
181a8c38f3 Allow disabling custom Scroll Bar Style
closes #637

Usage =>
Params.assets.disableScrollBarStyle: true
2022-06-03 18:33:54 +05:30
0ed246d47d Seperate scroll-bar customization into seperate stylesheet 2022-06-03 18:32:09 +05:30