We welcome contributions to our blog! Follow these steps to submit a new post:
- Navigate to the
content/posts/directory - Use
example.mdas a template - Create a new file:
your-post-slug.md
Your markdown file must include frontmatter (metadata) at the top:
---
title: "Your Post Title Here"
author: "Your Name"
date: "YYYY-MM-DD"
tags: ["Tag1", "Tag2", "Tag3"]
image: "/images/backgrounds/abstract/hero.svg"
excerpt: "A brief description of your post (shown in cards)"
---
Your content here...| Field | Required | Description | Example |
|---|---|---|---|
title |
✅ Yes | Post title | "Understanding Utreexo" |
author |
✅ Yes | Your name | "John Doe" |
date |
✅ Yes | Publication date (YYYY-MM-DD) | "2024-12-25" |
tags |
✅ Yes | Array of tags | ["Bitcoin", "Utreexo"] |
image |
✅ Yes | Featured image path | "/images/blog/my-post.jpg" |
excerpt |
✅ Yes | Short description (1-2 lines) | "Learn how Utreexo..." |
You can use:
- Markdown syntax for formatting
- HTML for custom elements (like CTA buttons)
- Code blocks with syntax highlighting
---
title: "Understanding Utreexo"
author: "Satoshi Nakamoto"
date: "2024-12-25"
tags: ["Bitcoin", "Utreexo", "Technology"]
image: "/images/blog/utreexo.jpg"
excerpt: "A deep dive into how Utreexo makes Bitcoin nodes more efficient."
---
<div class="cta-section">
<p class="cta-text">Join our community and learn more:</p>
<a href="#" class="cta-btn">Join now</a>
</div>
<p class="author-line">By Satoshi Nakamoto and contributors.</p>
## Introduction
Utreexo is a hash-based accumulator with **efficient** proofs...
### Key Features
- Compact state
- Fast validation
- Scalable design
## Code Example
\`\`\`rust
fn verify_proof(proof: &Proof) -> bool {
// Implementation here
true
}
\`\`\`
## Conclusion
Utreexo represents a significant advancement...- Place images in
/public/images/blog/ - Reference them as:
/images/blog/your-image.jpg - Supported formats: JPG, PNG, SVG, WebP
<div class="cta-section">
<p class="cta-text">Your message here</p>
<a href="#" class="cta-btn">Button text</a>
</div><p class="author-line">By Your Name and Co-author.</p>- Fork the repository
- Create your post file in
content/posts/ - Test locally:
pnpm devand visithttp://localhost:3000/blog - Commit your changes
- Open a Pull Request with:
- Clear title:
"Add blog post: Your Title" - Description of your post
- Link to preview (if available)
- Clear title:
- Maintainers will review your post
- They may request changes or improvements
- Once approved, your post will be published!
✅ Do:
- Write clear, concise content
- Use proper grammar and spelling
- Include code examples when relevant
- Add images to illustrate concepts
- Attribute sources and references
❌ Don't:
- Copy content without attribution
- Use offensive language
- Include spam or promotional content
- Submit incomplete posts
- Check
example.mdfor a complete template - Open an issue if you have questions
- Join our community for support
Thank you for contributing to Floresta! 🌱