hexo+coding Build a blog

Source: Internet
Author: User

Want to do a website to write their own independent blog, take advantage of the weekend began to do, originally used to GitHub with a, but the speed is too slow, this time to listen to seniors said the site can be hung on the coding, speed will be much faster. Blog Initialization

Then began to do, first in the coding this site to register an account, and then a new project, the name of the project and your user name can be, and then enter this project, click this page service, and then go in and then open page service can be, So you can directly use your username + website suffix began to visit your blog, as long as the project below the index.html file can be directly accessed, but also can add a domain name binding, and then you can use domain name access.

The use of methods is much simpler than GitHub, but there are fewer tutorials in this area, and some don't understand the tutorials that use GitHub to build personal blogs.

I buy a domain name on the million Internet, do a CNAME parse to own blog domain name. use Hexo to build a blog

Do a good job on the above basis, you can access the domain name of their own blog, But this blog has only one index.html file, this is not possible, here I use a very commonly used hexo this blog platform to do my personal blog, and then to use Hexo to build personal blog, the specific details and with GitHub the same, you can refer to this tutorial Hexo build blog, installed on their own computer hex O then follow the steps to start Hexo generate, and then modify the _config.yml file, according to the above tutorial to change the line, and then Hexo D will encounter an error, prompted that the push is not to git address up, or this tutorial mentioned, NPM install Hexo-deployer-git–save to run this command on it, and then Hexo D on it. change the theme for Hexo

Here's a nice theme for Hexo, find the GitHub address of the Hexo topic you want to download, and then switch to your local Hexo directory, and follow the readme on the Hexo theme you want to download, which I use as a theme, Follow his readme and then go back to the home directory and change the theme by Hexo G and Hexo D. You can also use other topics, such as the most popular next, and he has documentation. Subject to see the next document, the theme is to change the theme of the profile or site configuration file, one in the subject directory, a site directory, after a good theme

Now can continue to toss, to the website to make the icon, to do Baidu statistics, to the site to say more comments, etc., to search the site function. http://theme-next.iissnan.com/, if you are using next to view this URL, the document is very detailed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.