Skip to content

Your First Blog Post

This comprehensive guide will walk you through creating engaging, well-structured blog posts for DarkPost. Whether you're sharing research findings, methodological insights, or educational content, this guide ensures your posts meet our quality standards.

πŸ“– Understanding Post Structure

Front Matter (YAML Header)

Every post begins with metadata enclosed in ---. This information helps organize and categorize your content.

---
date:
  created: 2025-01-15  # Publication date
  updated: 2025-01-20  # Last modification (optional)
draft: false           # Set to true while writing
authors: [rodrigo, collaborator1]  # Author usernames
categories:
  - Highlights         # Primary category
  - Statistics & Machine Learning  # Secondary category
tags:
  - Dark Energy       # Specific research area
  - DESI             # Survey/instrument
  - Bayesian Analysis # Method
  - Cosmological Parameters # Topic
---

Available Categories

Choose categories that best describe your content:

  • Highlights: Major findings or breakthrough results
  • Statistics & Machine Learning: Data analysis methodologies
  • Published: Peer-reviewed publications
  • Preprints: ArXiv submissions and early-stage work
  • Talks: Conference presentations and seminars
  • Teaching: Educational content and tutorials
  • Python Applications: Code-heavy posts and tools
  • DESI Collaboration: DESI-specific content

Tagging Best Practices

Use 3-6 relevant tags:

  • Research areas: Dark Energy, Dark Matter, Cosmic Inflation
  • Methods: Bayesian Analysis, Machine Learning, MCMC
  • Instruments: DESI, Planck, Hubble
  • Theoretical concepts: Modified Gravity, Primordial Black Holes

✍️ Writing Your Content

Title Guidelines

  • Be specific: "Constraining Dark Energy with DESI DR1" vs "Dark Energy Analysis"
  • Include key terms: Help readers understand the scope immediately
  • Keep it concise: Aim for under 80 characters

Content Structure

Start with a brief overview for quick scanning:

## Summary
This post presents new constraints on dark energy parameters using DESI's first data release, revealing tensions with Planck CMB measurements that suggest...

2. Introduction

  • Provide context for your research
  • State the problem or question
  • Outline your approach

3. Main Content

  • Use clear section headers (## and ###)
  • Include figures and equations where appropriate
  • Cite relevant literature

4. Results and Discussion

  • Present findings clearly
  • Discuss implications
  • Address limitations

5. Conclusions

  • Summarize key takeaways
  • Suggest future directions

πŸ–ΌοΈ Adding Visual Content

Images and Figures

Store images in docs/posts/figs/ directory:

![DESI constraints on dark energy](figs/DESI-DR1-constraints.png)
*Figure 1: Constraints on dark energy equation of state parameters from DESI DR1 compared to Planck results.*

Mathematical Expressions

Use LaTeX syntax for equations:

The Hubble parameter can be written as:
$$H(z) = H_0 \sqrt{\Omega_m (1+z)^3 + \Omega_\Lambda}$$

For inline math, use single dollar signs: $H_0 = 70$ km/s/Mpc.

πŸ“Š Including Data and Code

Code Blocks

Use syntax highlighting for better readability:

```python
import numpy as np
import matplotlib.pyplot as plt

# Generate mock data
z = np.linspace(0, 2, 100)
H_z = 70 * np.sqrt(0.3 * (1+z)**3 + 0.7)
```

Interactive Elements

For interactive content, see our Python integration guide.

πŸ”— Citations and References

Link to other posts or pages:

See our [methodology overview](template.md) for detailed methods.

External References

Use proper academic citation format:

Recent results from the DESI collaboration [^1] show...

[^1]: DESI Collaboration, "Dark Energy Spectroscopic Instrument (DESI) First Data Release", arXiv:2024.xxxxx

βœ… Pre-Publication Checklist

Before submitting your post:

Content Review

  • [ ] Clear, engaging title
  • [ ] Proper front matter with all required fields
  • [ ] Well-structured content with logical flow
  • [ ] Accurate citations and references
  • [ ] Professional figures with descriptive captions

Technical Check

  • [ ] All images display correctly
  • [ ] Mathematical expressions render properly
  • [ ] Code examples work as expected
  • [ ] Links are functional
  • [ ] Spelling and grammar checked

Metadata Verification

  • [ ] Appropriate categories selected
  • [ ] Relevant tags included
  • [ ] Author information correct
  • [ ] Date information accurate

🎯 Post Examples

Research Finding Post

---
date:
  created: 2025-01-15
authors: [rodrigo]
categories:
  - Highlights
  - Published
tags:
  - Dark Energy
  - DESI
  - Cosmological Parameters
---

# New Constraints on Dark Energy from DESI Year-3 Data

## Summary
We present the most precise measurements to date of dark energy...

## Introduction
The nature of dark energy remains one of the most pressing...

Tutorial Post

---
date:
  created: 2025-01-15
authors: [collaborator1]
categories:
  - Teaching
  - Python Applications
tags:
  - Tutorial
  - MCMC
  - Bayesian Analysis
---

# Introduction to Bayesian Parameter Estimation in Cosmology

## Learning Objectives
By the end of this tutorial, you will be able to...

πŸš€ Publishing Your Post

  1. Set draft: false in your front matter
  2. Commit your changes with a descriptive message
  3. Submit your pull request
  4. Respond to reviewer feedback promptly

πŸ’‘ Tips for Success

  • Start simple: Your first post doesn't need to be perfect
  • Engage with the community: Comment on and share others' posts
  • Keep learning: Review successful posts for inspiration
  • Stay current: Update posts with new developments when relevant

Ready to write? Copy the template.md file and start creating!