feat: configurable badge and logo for article sidebar and issue TOC (Issue #27)#135
Conversation
Add a Badge / Logo setting with four options: CODE WORKS badge (default), CODECHECK logo, own image via custom URL, and no badge (text only). The selected badge is applied consistently on both the article landing page sidebar and the issue table of contents. Text-only mode shows a plain CODECHECK label, linked to the certificate when available.
|
@subhanLabs Converted to draft so you can work on the scaling / image height form. For demonstration purposes, I recommend using a shields.io URL for a badge that looks completely different, e.g.:
|
Allow journal managers to set the badge display height in pixels. Width adjusts automatically. Applies to all badge types across both the article sidebar and issue table of contents. Default: 24px.
Height option is added in the settings, by default the size will be 24. |
|
@subhanLabs please resolve the merge conflicts, then I'll review. Thanks! |
|
@subhanLabs I did the merge - always risky ! Please check after the merge if the badge config still works. |



Closes #27
Adds a Badge / Logo setting in the plugin settings allowing journal managers to choose how CODECHECK is displayed on the article landing page sidebar and the issue table of contents.
Options:
Changes:
codecheckBadgeTypeandcodecheckBadgeCustomUrlplugin settingsScreenshots: