Development tips && tricks. From devs. For devs. Any helpful contributions are welcome. 3 lines, 3 paragraphs? Doesn't matter.
There are two ways to contribute:
👉 Using CMS system
- Go to admin panel
or click
+
icon in sidebar (skip points 2. and 3. in that case). - Go to
Blog Articles
or clickQuick add
at the very top of the page. - Click
New Blog Article
. - Create article by providing all required data, also upload
cover
. - If you save article, it will be sent as PR for review to blog's GH repository.
INFO: To add images to article, you need to upload them on Media
page.
Then simply add it in article ![Describe file](/img/<your-file-name>)
👉 Cloning repository
The articles' file structure:
boldare-tech/
└── content/
└── posts/
└── YYYY-MM-DD_the-post-title.md
└── static/
└── img/
└── file-used-in-post.(svg|png)
- Clone this repository or add/edit a file directly on GitHub
- Use
yarn add-article
command to create a new structure for the post 📂 - Write an article in Markdown syntax and save it in created file by script, English language is preferred ✍️
- Put an image (post avatar) in
static/img
, technology icon is preferred 🖼 - Update the following required tags at the very top of the article 👆
---
title: Post title - describe the solution concisely, but informatively
subTitle: Post subtitle - optional additional description
tags: ["technology", "keyword", "some key variable"]
cover: post-avatar.jpg - technology icon is preferred
postAuthor: Your Name
---
- Create a pull request to
master
branch to collaborate 🙌 - Before merging remember to bump the article date in filename to the current date