DataSentry Blog Content Guide
This directory contains all blog post content for the DataSentry website. Blog posts are written in Markdown format with YAML frontmatter for metadata.
Quick Start
Creating a New Blog Post
- Create a new
.mdfile in this directory (content/blog/) - Use the filename as the URL slug (e.g.,
my-article.md→/blog/my-article) - Add frontmatter metadata at the top
- Write your content in Markdown below the frontmatter
- Save the file and rebuild the site
File Naming Convention
- Use lowercase letters
- Separate words with hyphens (
-) - Use descriptive names that reflect the content
- Avoid special characters and spaces
Good examples:
getting-started-with-data-security.mdunderstanding-notifiable-data-breaches.mdcloud-security-best-practices.md
Bad examples:
blog post 1.md(spaces)MyBlogPost.md(uppercase)post_123.md(underscores, not descriptive)
Frontmatter Structure
Every blog post must start with YAML frontmatter enclosed in ---:
---
title: "Your Article Title Here"
date: "2025-01-15"
author: "Author Name"
excerpt: "A brief 1-2 sentence summary that appears in listings and SEO"
tags: ["tag1", "tag2", "tag3"]
image: "/images/blog/your-image.jpg"
featured: true
---
Frontmatter Fields
| Field | Required | Type | Description |
|---|---|---|---|
title | ✅ Yes | String | The article title (appears in page title and listings) |
date | ✅ Yes | String | Publication date in YYYY-MM-DD format |
author | ✅ Yes | String | Author's full name |
excerpt | ✅ Yes | String | Brief summary (150-200 characters recommended) |
tags | ✅ Yes | Array | List of relevant tags (3-5 recommended) |
image | ❌ No | String | Path to featured image (optional) |
featured | ❌ No | Boolean | Set to true to feature on blog homepage |
Example Frontmatter
---
title: "5 Essential Data Security Practices for Small Businesses"
date: "2025-01-20"
author: "Sarah Mitchell"
excerpt: "Learn the fundamental data security practices every small business should implement to protect customer information and maintain compliance."
tags: ["small business", "data security", "compliance", "best practices"]
image: "/images/blog/small-business-security.jpg"
featured: true
---
Writing Content
After the frontmatter, write your content in standard Markdown format.
Supported Markdown Features
Headings
# H1 Heading (Page Title - Use Once)
## H2 Heading (Major Sections)
### H3 Heading (Subsections)
#### H4 Heading (Minor Subsections)
Text Formatting
**Bold text**
*Italic text*
***Bold and italic***
~~Strikethrough~~
`Inline code`
Lists
# Unordered list
- Item 1
- Item 2
- Nested item
- Another nested item
# Ordered list
1. First item
2. Second item
3. Third item
Links
[Link text](https://example.com)
[Link with title](https://example.com "Link title")
Images


Blockquotes
> This is a blockquote
> It can span multiple lines
Code Blocks
```javascript
function example() {
console.log("Hello, world!");
}
```
```python
def example():
print("Hello, world!")
```
Tables
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
Horizontal Rules
---
Content Best Practices
Writing Style
- Clear and Concise: Use simple, direct language
- Action-Oriented: Start with verbs and provide actionable advice
- Structured: Use headings to organize content logically
- Scannable: Use bullet points, short paragraphs, and whitespace
SEO Optimization
- Title: Include primary keyword, keep under 60 characters
- Excerpt: Compelling summary with keywords, 150-200 characters
- Headings: Use H2-H3 hierarchically with relevant keywords
- Content Length: Aim for 1000-2000 words for in-depth articles
- Internal Links: Link to other blog posts and site pages
- External Links: Link to authoritative sources
Accessibility
- Alt Text: Provide descriptive alt text for all images
- Link Text: Use descriptive link text (not "click here")
- Headings: Maintain proper heading hierarchy (don't skip levels)
- Lists: Use lists for sequential or related items
Blog Post Template
Copy this template to start a new blog post:
---
title: "Your Article Title"
date: "YYYY-MM-DD"
author: "Your Name"
excerpt: "A compelling summary of your article that makes readers want to click and read more."
tags: ["tag1", "tag2", "tag3"]
image: "/images/blog/your-image.jpg"
featured: false
---
# Your Article Title
Opening paragraph that hooks the reader and introduces the topic. Explain why this matters and what they'll learn.
## Main Section 1
Content for your first major section. Use clear, concise language.
### Subsection 1.1
More detailed information about a specific aspect.
### Subsection 1.2
Additional details or examples.
## Main Section 2
Your second major topic or point.
### Key Points
- Point 1
- Point 2
- Point 3
## Main Section 3
Continue with additional sections as needed.
## Conclusion
Summarize the key takeaways and provide a clear call-to-action.
---
*Optional footer note or disclaimer*
Publishing Workflow
Development
- Create/Edit your markdown file in
content/blog/ - Save the file
- Test locally: Run
npm run devand navigate to/blog - Review your article at
http://localhost:3000/blog/your-slug
Production
- Commit your changes:
git add content/blog/your-post.md - Push to main branch:
git push origin main - Automatic Deploy: Vercel automatically rebuilds and deploys
- Verify at
https://datasentry.com.au/blog/your-slug
Tags Reference
Use consistent tags across posts for better organization:
Common Tags
Topics:
data securitycomplianceprivacycybersecurityrisk management
Regulations:
Privacy ActNDBGDPRAPRA CPS 234Australian Privacy Principles
Technologies:
cloud securityencryptionAWSAzureauthentication
Business:
small businessenterprisehealthcarefinancial services
Content Types:
guidetutorialcase studybest practicesnews
Troubleshooting
Post Not Appearing
- Check filename: Ensure it ends with
.md - Check frontmatter: Verify YAML syntax (proper quotes, colons, spacing)
- Rebuild: Run
npm run buildto regenerate static pages - Check console: Look for build errors in terminal
Formatting Issues
- Preview locally: Always test with
npm run devbefore publishing - Check Markdown: Ensure proper syntax (spacing, list formatting)
- Validate YAML: Use a YAML validator for frontmatter
- Clear cache: Try clearing browser cache if changes don't appear
Image Not Loading
- Check path: Ensure image path is correct (starts with
/) - File location: Place images in
public/images/blog/ - File format: Use web-optimized formats (JPG, PNG, WebP)
- File size: Keep images under 500KB for performance
Examples
See the existing blog posts in this directory for working examples:
getting-started-with-data-security.md- Comprehensive guide formatunderstanding-notifiable-data-breaches.md- Detailed technical articlecloud-security-best-practices.md- Best practices with code examples
Need Help?
If you encounter any issues or have questions:
- Review existing blog posts for examples
- Check the Next.js documentation
- Consult the Markdown guide
- Contact the development team
Happy blogging! 🚀
A
Anonymous
Published on 7 December 2025
Share this article