Skip to content

Add blog subpage with example post and nav link#10

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-blog-subpage-link
Draft

Add blog subpage with example post and nav link#10
Copilot wants to merge 3 commits intomainfrom
copilot/add-blog-subpage-link

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 1, 2026

Adds a /blog section to the site with a listing page, per-post layout, and an initial example post. A "Blog" nav link is added to the home page header.

Changes

  • _layouts/home.html – Added "Blog" nav link alongside existing "Contact" link; updated .site-nav to flexbox for multi-link spacing
  • blog.html – Blog index using site.posts; renders title, date, and truncated excerpt per post
  • _layouts/post.html – Post layout with date in header and nav back to Home/Blog
  • _posts/2026-03-01-hello-world.md – Example "Hello World" post
  • _sass/main.scss – Blog-specific styles: .blog-list, .blog-post-preview, .blog-post-title, .blog-post-meta, .blog-post-excerpt, .blog-post-content
Original prompt

Create a branch called feature/blog, in that branch I want to add a blog subpage to the existing site, please create a link to it from the main page and an example blog post


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: hgarfer <611512+hgarfer@users.noreply.github.com>
Copilot AI changed the title [WIP] Add blog subpage and link from main page Add blog subpage with example post and nav link Mar 1, 2026
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