Skip to content

Add templates for InternalLinkBlock and ExternalLinkBlock - #108

Open
Manny2706 wants to merge 1 commit into
wagtail:mainfrom
Manny2706:fix/link-block-templates
Open

Add templates for InternalLinkBlock and ExternalLinkBlock#108
Manny2706 wants to merge 1 commit into
wagtail:mainfrom
Manny2706:fix/link-block-templates

Conversation

@Manny2706

@Manny2706 Manny2706 commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Hi @vossisboss,

This PR addresses part of issue #38 related to missing or malfunctioning block templates.

I’ve added a minimal template for ExternalLinkBlock and aligned the existing InternalLinkBlock template with the current structure. Both templates are placed under templates/components/streamfield/blocks/ and follow the starter kit conventions using {% verbatim %}.

I noticed that several other blocks are still pending, so I focused on these two to keep the contribution small and incremental.

I’d really appreciate your feedback on whether this approach aligns with the intended direction, and I’d be happy to continue working on the remaining blocks.

Thanks!

#AI usage
AI assistance was used to help review the implementation approach, validate the template logic, and draft parts of the pull request description.
Screenshot 2026-03-27 020256
Screenshot 2026-03-27 020323
Screenshot 2026-03-27 020641
Screenshot 2026-03-27 020910

Closes #38

@vossisboss

Copy link
Copy Markdown
Contributor

Hi @Manny2706 There is no need to tag maintainers when you submit a PR. We are already receiving notifications about submissions, so tags just add notification noise. Thank you for your contribution though. We appreciate it.

@Manny2706

Copy link
Copy Markdown
Contributor Author

Got it, thanks for the clarification! I’ll avoid tagging maintainers in future PRs. Appreciate the feedback 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing or malfunctioning block templates

2 participants