{frontmatter.title}
- - {/* Description */} - {frontmatter.description &&{frontmatter.description}
} - - {/* Metadata (Date, Read Time) */} - - - {/* Tags */} - {frontmatter.tags && frontmatter.tags.length > 0 && ( - - )} -diff --git a/astro.config.mjs b/astro.config.mjs index 31edf62..6db0753 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,7 +7,7 @@ import tailwind from '@astrojs/tailwind'; // https://astro.build/config export default defineConfig({ - site: 'https://laforceit-blog.pages.dev', // Your current Cloudflare site + site: 'https://argobox.com', // Updated site URL for ArgoBox output: 'static', // adapter: cloudflare(), // Commented out for local development integrations: [ diff --git a/casestudy.html b/casestudy.html index 2e626d3..926ea36 100644 --- a/casestudy.html +++ b/casestudy.html @@ -126,7 +126,7 @@
© All rights reserved. LaForceIT.com
+© All rights reserved. ArgoBox.com
Custom-built with HTML, CSS, and JavaScript.
Enterprise-grade home lab infrastructure, Kubernetes deployments, and DevOps automation for the modern tech enthusiast. @@ -168,7 +168,7 @@ const services = [
- Latest insights and guides from the LaForceIT blog + Latest insights and guides from the ArgoBox blog
For Home Labbers, Technologists & Engineers
diff --git a/src/layouts/deleteBlogPostLayout.astro b/src/layouts/deleteBlogPostLayout.astro
deleted file mode 100644
index 3f4d67e..0000000
--- a/src/layouts/deleteBlogPostLayout.astro
+++ /dev/null
@@ -1,645 +0,0 @@
----
-import BaseLayout from './BaseLayout.astro';
-import Header from '../components/Header.astro';
-import Footer from '../components/Footer.astro';
-// import MiniKnowledgeGraph from '../components/MiniKnowledgeGraph.astro'; // Keep if needed elsewhere, but remove from main content
-import MiniGraph from '../components/MiniGraph.astro'; // Add import for MiniGraph
-import { getCollection } from 'astro:content';
-
-interface Props {
- frontmatter: {
- title: string;
- description?: string;
- pubDate: Date;
- updatedDate?: Date;
- heroImage?: string;
- category?: string;
- tags?: string[];
- readTime?: string;
- draft?: boolean;
- author?: string;
- // Field for explicitly related posts
- related_posts?: string[];
- },
- slug: string // Add slug to props
-}
-
-const { frontmatter, slug } = Astro.props;
-
-// Get all posts for finding related content
-const allPosts = await getCollection('posts');
-
-// Create a currentPost object that matches the structure expected by MiniKnowledgeGraph
-const currentPost = {
- slug: slug,
- data: frontmatter
-};
-
-// Find related posts - first from explicitly defined related_posts
-const explicitRelatedPosts = frontmatter.related_posts
- ? allPosts.filter(post =>
- frontmatter.related_posts?.includes(post.slug) &&
- post.slug !== slug
- )
- : [];
-
-// Then find posts with shared tags (if we need more related posts)
-const MAX_RELATED_POSTS = 3;
-let relatedPostsByTags = [];
-
-if (explicitRelatedPosts.length < MAX_RELATED_POSTS && frontmatter.tags && frontmatter.tags.length > 0) {
- // Create a map of posts by tags for efficient lookup
- const postsByTag = new Map();
- frontmatter.tags.forEach(tag => {
- postsByTag.set(tag, allPosts.filter(post =>
- post.slug !== slug &&
- post.data.tags?.includes(tag) &&
- !explicitRelatedPosts.some(p => p.slug === post.slug)
- ));
- });
-
- // Score posts by number of shared tags
- const scoredPosts = new Map();
-
- postsByTag.forEach((posts, tag) => {
- posts.forEach(post => {
- const currentScore = scoredPosts.get(post.slug) || 0;
- scoredPosts.set(post.slug, currentScore + 1);
- });
- });
-
- // Convert to array, sort by score, and take what we need
- relatedPostsByTags = Array.from(scoredPosts.entries())
- .sort((a, b) => b[1] - a[1])
- .slice(0, MAX_RELATED_POSTS - explicitRelatedPosts.length)
- .map(([slug]) => allPosts.find(post => post.slug === slug))
- .filter(Boolean); // Remove any undefined entries
-}
-
-// Combine explicit and tag-based related posts
-const relatedPosts = [...explicitRelatedPosts, ...relatedPostsByTags];
-
-// Format date
-const formattedPubDate = frontmatter.pubDate ? new Date(frontmatter.pubDate).toLocaleDateString('en-us', {
- year: 'numeric',
- month: 'long',
- day: 'numeric',
-}) : 'N/A';
-
-const formattedUpdatedDate = frontmatter.updatedDate ? new Date(frontmatter.updatedDate).toLocaleDateString('en-us', {
- year: 'numeric',
- month: 'long',
- day: 'numeric',
-}) : null;
-
-// Default image if heroImage is missing
-const displayImage = frontmatter.heroImage || '/images/placeholders/default.jpg';
----
-
- {frontmatter.description}{frontmatter.title}
-
- {/* Description */}
- {frontmatter.description &&
-
Post Connections
- Related Content
-
-
- ArgoBox is a community-driven platform sharing infrastructure patterns, automation techniques, and practical guides for building professional-grade technology environments at any scale. From home labs to enterprise deployments, we focus on Kubernetes, GitOps, Infrastructure as Code, and system optimization. Created by the LaForceIT team to help technologists build better systems through shared knowledge and proven configurations. + ArgoBox is a community-driven platform sharing infrastructure patterns, automation techniques, and practical guides for building professional-grade technology environments at any scale. From home labs to enterprise deployments, we focus on Kubernetes, GitOps, Infrastructure as Code, and system optimization. Created by the ArgoBox team to help technologists build better systems through shared knowledge and proven configurations.
- Explore the technologies, tools, and platforms that power the LaForceIT infrastructure, projects, and home lab environment. This curated stack focuses on enterprise-grade solutions that balance performance, reliability, and maintainability. + Explore the technologies, tools, and platforms that power the ArgoBox infrastructure, projects, and home lab environment. This curated stack focuses on enterprise-grade solutions that balance performance, reliability, and maintainability.
- Explore the technologies, tools, and platforms that power the LaForceIT infrastructure, projects, and home lab environment. This curated stack focuses on enterprise-grade solutions that balance performance, reliability, and maintainability. + Explore the technologies, tools, and platforms that power the ArgoBox infrastructure, projects, and home lab environment. This curated stack focuses on enterprise-grade solutions that balance performance, reliability, and maintainability.