Bug 425824 - PayPal donation links are not displayed
Summary: PayPal donation links are not displayed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Website (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-26 10:32 UTC by 2wxsy58236r3
Modified: 2020-08-26 17:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0
Sentry Crash Report:


Attachments
Patched config.yaml (289 bytes, application/x-yaml)
2020-08-26 10:51 UTC, 2wxsy58236r3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 2wxsy58236r3 2020-08-26 10:32:39 UTC
SUMMARY
On both the stable [1] and staging [2] website, the PayPal donation links are not displayed.
However, the website source code [3] does contain the PayPal links.

[1] https://www.digikam.org/donate/
[2] https://staging.digikam.org/donate/
[3] https://invent.kde.org/websites/digikam-org/-/blob/master/content/donate/_index.md
Comment 1 caulier.gilles 2020-08-26 10:37:27 UTC
It sound like the Hugo engine used to build web site have been updated and unsafe html code embeded in markdown source code is not processed.

It's explained here :

https://gohugo.io/getting-started/configuration-markup#goldmark

I committed this changes :

https://invent.kde.org/websites/digikam-org/commit/93f9c1b6922f81f9ab907c5654255e141d9edac1

But it do not work as i can see.

Gilles Caulier
Comment 2 caulier.gilles 2020-08-26 10:39:01 UTC
Pat, if you have some tips to fix the problem you are welcome...
Best

Gilles Caulier
Comment 3 2wxsy58236r3 2020-08-26 10:51:28 UTC
Created attachment 131194 [details]
Patched config.yaml

Perhaps the config.yaml should look like this?
Comment 4 caulier.gilles 2020-08-26 12:09:36 UTC
Git commit 7ba1164d55965405789b1f7efd830f714479bda8 by Gilles Caulier.
Committed on 26/08/2020 at 11:48.
Pushed by cgilles into branch 'dev'.

Apply patch #131194

M  +6    -4    config.yaml

https://invent.kde.org/websites/digikam-org/commit/7ba1164d55965405789b1f7efd830f714479bda8
Comment 5 caulier.gilles 2020-08-26 12:10:13 UTC
Git commit ceec88779d8e2166152083234fac4567f28bccb9 by Gilles Caulier.
Committed on 26/08/2020 at 12:09.
Pushed by cgilles into branch 'master'.

Merge branch 'dev'


https://invent.kde.org/websites/digikam-org/commit/ceec88779d8e2166152083234fac4567f28bccb9
Comment 6 caulier.gilles 2020-08-26 12:18:17 UTC
Fixed :

https://www.digikam.org/donate/

Thanks for the typo in the Yaml config (:=)))...

Gilles Caulier
Comment 7 Pat David 2020-08-26 17:44:02 UTC
Yikes, sorry for the delay - I'm just seeing this. :(

Yes, the solution is what I would have done, but we can look to see if there's a better answer than allowing unsafe html.

Thank you for catching the yaml config option!