Hello World

Welcome to my refreshed blog that is built with Hexo!

Why Hexo?

Hexo is a simple and fast tool for blogging. It generates static web pages making life easier by removing the demand for backend development. This increases the safety and performance of the site, and you do not need to install additional tools or libraries on the production server. Well configured Apache or NGINX is enough 👀.

Editing

The Markdown language is used to write posts and pages.

Well, using the only markdown is not enough for blog management. Hence, additional constructions are used to embed media files or other assets and even variables with predefined data.

Also, Hexo supports PrismJS, a tool that is used to display well-formatted and colorful code.

#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}

Or even formulas!

Additional plugin: MathJax

Templates

or Scaffolds could provide you necessary blog or page structures 👾

Themes and Plugins

You may use already developed plugins and themes, or create your own!
It will be simple if you familiar with JavaScript and Embedded JavaScript templates.

This site uses edited by me “Minima” theme. Author

Deployment

Hexo allows you to deploy your changes via git easily and can be used for *.github.io pages. So, what do you need to do on production side? Just pull your generated site from GitHub or GitLab.

Quick Start

Requirements (on your local machine)

  • NodeJS >= 12
  • Git

Installing

npm install hexo-cli -g

Create a new post

hexo new "My New Post"

More info: Writing

Run server

hexo server

More info: Server

Generate static files

hexo generate

More info: Generating

Deploy to remote sites

hexo deploy

More info: Deployment

— Jun 11, 2021