Skip to content

Multiple newsletter sign-up forms #2821

@umbrellarocket

Description

@umbrellarocket

If a blog post has more than one tag, a newsletter sign up form is generated for each tag, leading to pages with multiples of the same form or different forms one after the other.

Image

Examples:

Three instances of same same form, as all three tags related to this blog default to a fallback Mainmatter form

Three different forms, one per tag: rust/ svelte/ general mainmatter

Currently, it works this way:

  • 'rust' tag -> include rust newsletter form
  • 'svelte' tag -> include svelte newsletter form
  • all other tags -> include one instance of the general form

I propose:

  • no repeat forms: if multiple tags are the same (aka not-rust and not-svelte), only include one form

Preferred behavior question:

  • on blog posts with multiple tags, like my second example above, do we want to include all relevant forms? Or just the one related to the tag mentioned first, as it's probably the most important?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions