Nextjs blogging free template github repo

opensource
my nextjs free template markdown writeup

Hello guys, I created a Next.js blogging template. Building and creating new things is my hobby, so I made this website to share my projects, knowledge, and more.

Here’s my Next.js template source code:

My Nextjs template

I also included a simple demo website. I built this template for developers and technical bloggers, and I optimized it for Markdown write-ups. You can run the website using Markdown files.

Your blog posts should be placed in this folder:

content/posts

PwnTrends Blog (Next.js + Markdown/MDX)

This is a modern, minimal, security-focused blog template for PwnTrends.com.

  • ⚡ Fast Next.js App Router (TypeScript)
  • 📝 Markdown & MDX posts from content/posts
  • 🧭 Automatic sitemap.xml at /sitemap.xml
  • 🔍 Simple full-text search across title, summary, tags, and keywords
  • 🏷 Tag pages with pagination
  • 📰 Home page shows 9 posts per page
  • 🧩 Post detail page shows 2 related posts by tag
  • 📱 Responsive, dark, minimal gradient design tuned for security content

The website will automatically render those Markdown/MDX files into web pages.

Running locally

npm install
npm run dev

Then open http://localhost:3000.

Front-Matter Example (SEO + Metadata)

---
title: "SQL Injection in Login Flows"
date: "2025-12-07"
tags:
  - web
  - sql injection
  - offensive
summary: "Testing and exploiting SQLi in classic login forms, plus remediation notes."
keywords:
  - sql injection
  - web security
  - login bypass
---

This is how I set the blog post title, description, and SEO fields.

If you want more information, please check my GitHub README.

Thank you for reading my blog.

Sponsored

Latest posts

Related posts

More

Leave a reply

Your email address will not be published. Required fields are marked *