forrtproject.github.io icon indicating copy to clipboard operation
forrtproject.github.io copied to clipboard

Add Replication Network Blog with 158 posts under Replication Hub

Open Copilot opened this issue 3 months ago • 37 comments

Adds the Replication Network Blog archive (158 posts, 191 webp images) to the Replication Hub menu as requested in #[issue_number].

Changes

Content

  • Added 158 blog posts to /content/replication-hub/blog/ with proper front matter (title, date, author, tags)
  • Added 191 images to /static/replication-network-blog/ in optimized webp format
  • All image references in blog posts updated to use webp extensions

Image Optimization

  • Converted all 192 original images (jpg, png, gif) to webp format
  • Achieved ~30% reduction in total image size (from ~6MB to 4.2MB)
  • Maintained image quality while improving page load performance

Hugo Implementation

  • Created blog layouts (/layouts/blog/list.html, /layouts/blog/single.html) for listing and individual post views
  • Added menu entry under Replication Hub (weight 70) in config/_default/menus.toml
  • Blog accessible at /replication-hub/blog/

Bug Fix

  • Fixed pre-existing navbar URL validation bug that prevented builds:
    <!-- Before: fails when .URL length < 4 -->
    {{ if and (gt (len .URL) 3) (eq (slicestr .URL 0 4) "http") }}
    
    <!-- After: properly guards slicestr -->
    {{ if ge (len .URL) 4 }}
      {{ if eq (slicestr .URL 0 4) "http" }}
    
    This bug affected menu items with empty URLs (e.g., parent "About FORRT" menu) and blocked the entire site build.

[!WARNING]

Original prompt

This section details on the original issue you should resolve

<filter_complete></filter_complete>

<issue_title>Add replication project blog</issue_title> <issue_description>Add Replication Network Blog under the Replication Hub menu. All blog posts and images are in the attached file.

blog_posts.zip</issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes forrtproject/forrtproject.github.io#495
Original prompt

This section details on the original issue you should resolve

<issue_title>Add replication project blog</issue_title> <issue_description>Add Replication Network Blog under the Replication Hub menu. All blog posts and images are in the attached file.

blog_posts.zip</issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes forrtproject/forrtproject.github.io#495

💡 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.

Copilot avatar Nov 04 '25 17:11 Copilot

:warning: Image files/references in png/jpg format detected

Note that we generally rely on webp format for this webpage, so please consider converting these images to WebP format and updating references accordingly.

References to image files:

  • content/replication-hub/blog/reed-post-hoc-power-analyses-good-for-nothing.md: ![Equation2.jpg
  • content/replication-hub/blog/reed-post-hoc-power-analyses-good-for-nothing.md: Distribution.jpg

github-actions[bot] avatar Nov 04 '25 22:11 github-actions[bot]

@copilot convert all images to webp and adjust the references to them

LukasWallrich avatar Nov 05 '25 09:11 LukasWallrich

@copilot convert all images to webp and adjust the references to them

Done! All 192 images have been converted to webp format and all references updated. The conversion reduced total image size from ~6MB to 4.2MB (~30% reduction). Changes committed in fb24383.

Summary:

  • Converted 191 images (38 jpg, 149 png, 5 gif) to webp
  • Updated image references in 38 blog posts
  • Removed original image files
  • All Hugo builds successful with webp images

[!WARNING]

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)
  • publish.twitter.com
    • Triggering command: hugo --gc (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot avatar Nov 05 '25 10:11 Copilot

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 10:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 10:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 16:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 17:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 19:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 19:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 19:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 05 '25 19:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 07 '25 19:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 07 '25 20:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 08 '25 12:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 08 '25 17:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 09 '25 01:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 09 '25 18:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 09 '25 18:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 10 '25 10:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 10 '25 11:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 10 '25 12:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 10 '25 13:11 LukasWallrich

⚠️ This PR was attempted to be deployed to staging as part of an aggregated deployment, but had merge conflicts and was skipped. Please resolve conflicts and try again. View staging at: https://staging.forrt.org

LukasWallrich avatar Nov 12 '25 13:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 12 '25 16:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 12 '25 16:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 12 '25 17:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 12 '25 21:11 LukasWallrich

✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org

LukasWallrich avatar Nov 12 '25 22:11 LukasWallrich

Staging Deployment Status

This PR has been successfully deployed to staging as part of an aggregated deployment.

Deployed at: 2025-11-18 12:29:38 UTC Staging URL: https://staging.forrt.org

The staging site shows the combined state of all compatible open PRs.

LukasWallrich avatar Nov 18 '25 12:11 LukasWallrich

Staging Deployment Status

This PR has been successfully deployed to staging as part of an aggregated deployment.

Deployed at: 2025-11-18 15:53:20 UTC Staging URL: https://staging.forrt.org

The staging site shows the combined state of all compatible open PRs.

LukasWallrich avatar Nov 18 '25 15:11 LukasWallrich