If you write technical content or just want to become an author, this blog is open to you! We accept any technical articles about databases and open source technologies. Also, we have no requirements for the uniqueness of the article. If your post is published on another resource, you can duplicate it here and get more attention.
How to Publish a Blog Post appeared first on MariaDB.org
If you write technical content or just want to become an author, this blog is open to you! We accept any technical articles about databases and open source technologies. Also, we have no requirements for the uniqueness of the article. If your post is published on another resource, you can duplicate it here and get more attention.
In this post, I will explain step by step how to publish a post in our Community Blog. Following this guide step-by-step, everyone, even a non-technical person, will be able to publish the post. But if you face any issue on your way, just contact us at contact us. Percona Community Team will be happy to help you!
Preparing the Environment and Tools.This step is optional. It will allow you to check your post before publishing.
We use the Hugo website engine. It turns Markdown pages into HTML very quickly and easily. We also use GitHub and GitHub Pages for free website hosting. So, learn how to use the Hugo engine by following the steps below.
Quick Steps
I will briefly describe the steps for the professionals:
hugo server -D and open a local copy of the site in your browser at localhost:1313Detailed Instructions
Now let’s discuss these steps in detail.


Open the console on your computer and type the command:
git clone git@github.com:dbazhenov/community.git percona-community
It is important to clone your fork and not the main repository. You will probably need to install Git on your computer if you didn’t do it before.
When cloned, all of the Git repository code will be downloaded to your computer and you will be able to modify it and run it locally.
You will see in the console:
Daniils-MacBook-Pro:Sites daniilbazhenov$ git clone git@github.com:dbazhenov/community.git percona-community
Cloning into 'percona-community'...
remote: Enumerating objects: 67797, done.
remote: Counting objects: 100% (5879/5879), done.
remote: Compressing objects: 100% (1346/1346), done.
remote: Total 67797 (delta 3005), reused 5847 (delta 2988), pack-reused 61918
Receiving objects: 100% (67797/67797), 399.02 MiB | 843.00 KiB/s, done.
Resolving deltas: 100% (33607/33607), done.
Updating files: 100% (1387/1387), done.Install the Hugo website engine: Install Hugo. The installation is not difficult. Follow the steps for your operating system and watch the official installation video. Hugo is a lightweight static website generator, it is free and open source software. You do not need to install a web server, programming language, or database.
Open the directory with the site code in the console, in my case it is: cd percona-community
Launch the Hugo server with the command ‘hugo server -D’. When you start the server, the Hugo engine scans the structure of the project, generates the site on the fly and makes it available in the browser. You will see the URL as a result in the console.
Daniils-MacBook-Pro:percona-community daniilbazhenov$ hugo server -D
Start building sites …
| EN
-------------------+-------
Pages | 1107
Paginator pages | 23
Non-page files | 0
Static files | 2
Processed images | 1316
Aliases | 64
Sitemaps | 1
Cleaned | 0
Built in 99883 ms
Watching for changes in /percona-community/{archetypes,assets,content,layouts,static}
Watching for config changes in /percona-community/config.yaml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stophttp://localhost:1313/. When you are done with the your post, you can stop the server using the buttons indicated in the console (Ctrl+C).Now you can edit the site, add new posts and immediately see the result in your browser.

I hope you have successfully made a fork and clone of the repository. Let’s start publishing your post.
Our website works with text and posts marked up in Markdown syntax. You will probably need to edit the text a bit when you publish it.
Quick Steps
content/contributors/ folder.assets/contributors.content/blog directory.Detailed Instructions
Open the folder with the project source code in the console.
Create a separate git branch for your post.
git checkout -b dbazhenov_post
Create a contributor card in the content/contributors/ folder.
You need to create a folder with your name and an index.md file.
You can find many examples in /content/contributors/.
Add your photo to the folder assets/contributors.
This is your avatar. Specify its address in your contributor profile file in the images field.
If your post contains images, load the pre-made images into the assets/blog/[YEAR]/[month] directory. If there is no directory, create one.
Add the post in Markdown format to the content/blog directory. Please, specify the name of your file according to the example: “Date-name-in-style-URL”. In my case, it is ‘2022-02-12-how-to-post.md’. If you are not familiar with Markdown, just have a look at other posts in the blog. There are examples for code blocks, headers, pictures and lists there.
Each post at the beginning must have special parameters in YAML format, the so-called Front Matter. You can find an example in any of our 100+ blog posts. Specify these parameters: Title, Date, Draft status, Tags, Images (a special image that will be displayed in the list of posts and on social networks), Authors (your name as you are listed on the author card), Slug (optional, only if you want to have a special URL).
If you ran the Hugo server (hugo server -D), you can open your post in your browser (localhost:1313). If you have difficulties or problems, email us at community-team@percona.com or open Issues on GitHub. To see the post in the list, you need to put the date earlier than today, as the list displays posts sorted by date.

You may also see errors in the console or browser. The most common errors are related to the image address.
Saving and Submitting ChangesQuick Steps
git status to make sure you are in a separate branch and your changes are tracked with Git.Detailed Instructions
git status.
I see that I am on the dbazhenov_post branch and I have a new directory and a file.
If you are still on the main branch, create a new branch now git checkout -b "[branch_name]"
git add .
git commit -m "Blog: New Post by Daniil Bazhenov"
This way you will see all the modified or added files that will be sent to the remote repository.

Submit changes to your repository: git push origin dbazhenov_post
Open your repository on GitHub (fork). You will see that your branch is ready to be published (for creating a pull request).



To fix the mistake, simply make changes to the copy on your computer. Repeat steps 2 and 3 (git add, commit, push). Your new commit will automatically be added to your Pull Request.
By publishing your post on our blog, you will become a full contributor to the repository and community. We will provide you with a special gift.
Assistance and SupportIf you have any questions, please contact us:
By the way, you can even just send us the text of the post and we will publish it ourselves for you! ∎
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Open Source for Non-Techs – Find Your Way to Contribute! | 0 | 5.87 | 29-09-2022 |
| 2 | Nurturing, Motivating and Recognizing Non-Code Contributions | 0 | 8.06 | 08-02-2023 |
| 3 | Write for the Percona Community | 0 | 5.8 | 22-05-2026 |
| 4 | Building and Running Percona Everest From Source Code | 0 | 6.1 | 30-10-2023 |
| 5 | Percona Bug Report: January 2024 | 0 | 10.76 | 19-02-2024 |
| 6 | Percona Bug Report: October 2024 | 0 | 7.82 | 25-11-2024 |
| 7 | Monthly Percona Developer Meetup | 0 | 6.97 | 26-09-2022 |
| 8 | Percona Bug Report: November 2023 | 0 | 7.82 | 19-12-2023 |
| 9 | The Percona Community Slack is open — come hang out | 0 | 3.75 | 02-06-2026 |
| 10 | Are your Database Backups Good Enough? | 0 | 6.94 | 20-09-2019 |