Skip to content

nuxt: Blog overview migration#5163

Open
ZJvandeWeg wants to merge 3 commits into
mainfrom
zj-blog-migration
Open

nuxt: Blog overview migration#5163
ZJvandeWeg wants to merge 3 commits into
mainfrom
zj-blog-migration

Conversation

@ZJvandeWeg

Copy link
Copy Markdown
Member

Description

Picking up another about 20 pages to migrate.

Blog posts weren't move (yet) and that makes the blog migration a bit interesting soon, but for now this is a small change we can likely merge quickly.

Related Issue(s)

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

Bring back the HubSpot email signup banner after the featured post on
the blog listing page. Restructure the template to split featured post,
banner, and regular posts into separate sections so all 18 grid posts
render correctly.

Replace NuxtImg with plain img tags for blog thumbnails — the Netlify
image provider generates /.netlify/images URLs that 11ty cannot serve
in dev, while plain src paths are correctly proxied to the 11ty dev
server.
@ZJvandeWeg ZJvandeWeg requested review from a team and Yndira-E as code owners June 8, 2026 19:08
@netlify

netlify Bot commented Jun 8, 2026

Copy link
Copy Markdown

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit 1f7c1e8
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/6a27133c6c09f300089b0d07
😎 Deploy Preview https://deploy-preview-5163--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 65 (🔴 down 16 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jun 8, 2026

Copy link
Copy Markdown

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit cbf8a72
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/6a271499a6d6250008694873
😎 Deploy Preview https://deploy-preview-5163--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 67 (🔴 down 14 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@n-lark n-lark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, a couple things to confirm below. The broken build is partly the tag-template deletion I flagged below, but it's also catching two separate bugs in the new blog page, left comments for both.

Comment thread src/blog/dashboard.njk

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleting these tag templates removes /blog/how-to/, /blog/dashboard/, etc. In prod those URLs now render an empty "Blog 1 of 1" page with no posts. They still look fine locally only because 11ty is serving stale _site output.

We also still link to a few of these internally, like the "See All PLC Articles" CTA on the PLC landing page → /blog/plc/, plus the dashboard platform/ebook pages → /blog/dashboard/, so those now dead-end on the empty page.

Image

Is dropping them intentional? If so we'll likely want redirects to /blog/.

@@ -0,0 +1,141 @@
<script setup lang="ts">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old blog template had an search box right under the title so blog search goes away with this change, same for tabs. Just confirming that's intentional?

date: p._date,
url: String(p.url),
description: String(p.description || ''),
image: p.image ? String(p.image) : null,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the image value is passed through as-is here, but ~26 posts have a relative path like blog/2024/01/images/…png with no leading slash.

On a paginated URL like /blog/12/ those resolve to /blog/12/blog/2024/…png and break, that's the bulk of the CI failures. Probably want to normalize to an absolute path here so we don't have to fix every post.

class="flex md:flex-initial w-40 justify-start pl-2 ff-nav-blog-p"
:style="currentPage <= 1 ? 'opacity: 0; pointer-events: none;' : ''"
>
<NuxtLink :href="prevHref">Previous</NuxtLink>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The prev/next links are always rendered and just hidden with opacity:0, so the out-of-range hrefs (/blog/0 on page 1, /blog/21 on the last page) stay in the HTML and fail the link checker.

Could we v-if these so the link isn't emitted at all when there's no prev/next page? That clears the build error and also avoids the hidden-but-focusable link.

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.

2 participants