14.18.0
, v16.12.0
, or higher.git clone <your-forked-repo>
yarn install
yarn dev
It would be better if your post has a thumbnail. We would like to recommend you using Cloudinary for serving image with fast CDN.
You can use any format for the title, but for filename you must follow rules:
you can use this script if you need help generating filename based on your post title
function generateFilename(title) {
return string
.toString()
.trim()
.toLowerCase()
.replace(/\s+/g, '-')
.replace(/[^\w\-]+/g, '')
.replace(/\-\-+/g, '-')
.replace(/^-+/, '')
.replace(/-+$/, '');
}
generateFilename("<your-title-here>");
Author will be displayed as your name in the post, and you need pass your GitHub username. We will automatically generate link to your GitHub profile.
Please ensure that you pass the date same as date when you create Pull Request with format MMM DD, YYYY
You only allowed to put 4 tags and separated by comma (,)
---
layout: "@layouts/Article.astro"
title: "What is FOSBlog ?"
thumbnail: "https://res.cloudinary.com/practicaldev/image/fetch/s--LkjaosP3--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gr81jbcgdqaok7143ny3.jpg"
author: "Rully Ardiansyah"
github: "devoresyah"
date: "Aug 23, 2022"
tags: "javascript,framework,blog,cms"
---