[Bug]: PGP icon name mismatch between documentation and implementation
bug
### What happened?
On the [Wiki Icons](https://github.com/adityatelange/hugo-PaperMod/wiki/Icons) page, the PGP icon is documented as pgp.
However, in the implementation introduced in #784, the actual icon name is pgpkey.
As a result, configuring a social icon using pgp (following the wiki documentation) does not load the icon correctly. The configuration only works when using pgpkey.
I propose either:
changing the implementation name from pgpkey to pgp, or updating the wiki/documentation to use pgpkey instead. (Updating the wiki may be the simplest option in my opinion)
If desired, I can also prepare a pull request/documentation update for this change.
### Steps to reproduce
Configure a social icon using the name `pgp` as documented in the Wiki Icons page:
```
socialIcons:
- "name": "pgp"
"url:" "https://example.com/key.asc"
```
Run/build the site.
PGP icon is not displayed.
Change the icon name from `pgp` to `pgpkey`:
```
socialIcons:
- "name": "pgpkey"
"url": "https://example.com/key.asc"
```
Rebuild the site.
The icon now displays correctly.
### Hugo Version
Hugo >= 0.146.0 (Recommended - Minimum version required for PaperMod)
### PaperMod Version
Commit-id:c4ca7ca486ecd67c8f6bba31551a6ee0d1455926
### What kind of devices are you seeing the problem on?
Desktop
### What browsers are you seeing the problem on?
_No response_
### Browser Version
_No response_
### Relevant log output
```shell
none
```
### Repository/Source Code link where this issue can be reproduced
_No response_
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
关闭于 2026-05-09 1 条评论