Skip to main content
Logo
Overview

Getting Started with Your New Blog

January 16, 2025
2 min read

Welcome to your new blog powered by merox-erudite! This guide will help you get started with setting up and customizing your blog.

Initial Setup

1. Configure Your Site

Edit src/consts.ts to customize your site information:

export const SITE: Site = {
title: 'Your Blog Name',
description: 'Your blog description',
href: 'https://yourdomain.com',
author: 'your-author-id',
// ...
}

2. Update Navigation

Customize your navigation links in src/consts.ts:

export const NAV_LINKS: SocialLink[] = [
{ href: '/blog', label: 'Blog' },
{ href: '/about', label: 'About' },
// Add more links as needed
]

Update your social media links:

export const SOCIAL_LINKS: SocialLink[] = [
{ href: 'https://github.com/username', label: 'GitHub' },
{ href: 'https://twitter.com/username', label: 'Twitter' },
{ href: 'mailto:your@email.com', label: 'Email' },
]

Creating Content

Blog Posts

Create new blog posts in src/content/blog/:

  1. Create a folder for your post: src/content/blog/my-post/
  2. Add an index.mdx file with frontmatter:
---
title: "My First Post"
description: "A brief description"
date: 2025-01-16
tags: ["tag1", "tag2"]
draft: false
---
  1. Write your content using Markdown or MDX
Tip

Pro Tip: You can use MDX components like Callout, Code blocks, and more in your posts!

Author Profiles

Create author profiles in src/content/authors/:

---
name: 'Your Name'
avatar: 'https://gravatar.com/avatar/...'
bio: 'Your bio'
github: 'https://github.com/username'
---

Customization

Colors

Edit src/styles/global.css to customize your color scheme:

:root {
--primary: hsl(214 95% 52%);
/* Customize other colors */
}

Homepage Experience

Edit src/pages/index.astro to customize your experience timeline:

const experience: ExperienceItem[] = [
{
role: 'Your Role',
company: 'Company Name',
period: '2020 - Present',
current: true,
icon: 'lucide:briefcase',
key: 'Your achievements and responsibilities'
},
]

Optional Features

Newsletter (Brevo)

  1. Sign up for Brevo
  2. Get your API key
  3. Add to .env:
    BREVO_API_KEY=your-api-key
    BREVO_LIST_ID=your-list-id

Disqus Comments

  1. Create a Disqus account
  2. Add to .env:
    PUBLIC_DISQUS_SHORTNAME=your-shortname

Analytics

Add Google Analytics or Umami:

PUBLIC_GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX
PUBLIC_UMAMI_WEBSITE_ID=your-umami-id

Next Steps

  1. Delete example content - Remove hello-world and getting-started posts
  2. Update About page - Customize src/pages/about.astro
  3. Update Privacy & Terms - Review and customize legal pages
  4. Add your content - Start writing your blog posts!

Resources

Happy blogging! 🎉

Loading comments...