Ain't a Markup Language, Yet Another Markup Language
Back to Origin
From the genius Hexo Project I knew about YAML and Markdown as Markup Languages.
To make blogging back to its origin, Markdown and YAML are really awesome for bloggers with geek spirit, with easy-to-use schema and easy-to-remember grammar.
Beloved WordPress
I’ve used WordPress as my primary blog program for many, many years. For that time I’ve been always in loved with it and other PHP-based CMSs such as Typecho.
I’ve built a few sites to test my ideas and try to realize some of my business ideas, just like the navigation site https://service.hannesgao.de/
For their good functionality and possibility for expansion, based on “the best programming language in the world” - PHP. And at the same time it caused also high CPU and Memory usage quote on my little VPS on AWS.
The day I met Hexo
This situation remained so, until I found a clean and beautiful blog based on static pages, which used Hexo based on Node.JS as page generator, Markdown for contents and YAML for configurations.
Hexo makes it possible to write something in original Markdown direct with VIM or Sublime Text.
Generate and deploy:
1 | $ hexo clean |
to clean the templates files which generated during the last round generation of static pages, to generate new static pages with the newest changes of posts and pages and to deploy it to server, in my case to my GitHub Page repository.
With less tapping:
1 | $ hexo clean |