Skip to content

🐛 Social media account not being linked correctly #44

@mattcen

Description

@mattcen

Describe the bug

Social media fields from Pretalx aren't being templated correctly into HTML

The fields in Pretix for both Fedi and Bsky say:

Use @username@domain format (for example, @pyconau@mastodon.pycon.org.au). If you choose to fill this in, it will be published in the schedule. This content will be shown publicly.

I assume the Bsky one was copied from the Fedi one; they have completely different address formats.

URL to reproduce the bug

https://2024.pycon.org.au/pycon-au-2024/speaker/PFTMME/

What is your Mastodon/Fediverse handle? –

@minxdragon@wandering.shop

The fedi handle gets converted to a mailto link

What is your Twitter/X handle? –

@minxdragon

Twitter/X isn't linked at all.

What is your Bluesky handle? –

@minxdragon@bsky.social

Bsky gets converted to a mailto also, and should actually say minxdragon.bsky.social, (or https://bsky.app/profile/minxdragon.bsky.social which is better, because I, for example, have a bsky handle of mattcen.com, but an address of https://bsky.app/profile/mattcen.com).

Sorry, I couldn't easily work out where to fix this rendering or this would have been a PR. I also can't see where this bsky info is coming from, because the YAML doesn't seem to have it, nor pronouns: https://github.com/pyconau/2024-website/blob/main/src/content/people/PFTMME.yml, so I suspect this isn't being used any more, and is being pulled from Pretix in some other way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions