![typora yaml typora yaml](http://www.chomthai.com/forum/picture/1233399121.jpg)
Create a new article and article migrationįirst, install an extension npm i hexo-deployer-git in the blog root directory. This doesn’t matter.īefore starting to create a new article, it is best to change the article template, the location is in the scaffolds folder under the directory you choose, just change post.md, so that when you create a new article, it will automatically add one you want You don’t have to write each one manually 1Ĥ. Set main to select main, and set master to select master. Pay attention to what you write in brach, and the source set in Github Pages should correspond to it. It should be noted here that you need to change the encoding of the file _config.yml to UTF-8 to Avoid garbled Chinese titles 1 If you are not familiar with the situation, just remember to modify one place, and you will see the others. The only reminder is that now **you need to hang up the agent, you need to hang up the agent, you need to hang up the agent, **Don’t hold the psychology of fluke, otherwise you will want to die when you synchronize the blog The configuration of github should not be repeated. This way the local website configuration is also set up, enter hexo g to generate a static web page, then enter hexo s to open the local server, and then open the browser to open you can see our Blog, press ctrl+c to close the local server and prepare to upload Then we must initialize our website, enter the hexo init initialization folder, and then enter npm install to install the necessary components For example, because I have two computers, I use iCloud to synchronize with each other, so I put it in /Users/xxx/Documents/blog Inside the directoryĪfter the directory is created, use the terminal to open the directory, and enter npm i hexo-cli -g to install Hexo in the directoryĪfter installation, enter hexo -v to verify whether the installation is successful. github.io)Ĭreate a new folder in a suitable place to place my blog files. Here we don’t do any operation, because we need to generate a CNAME file and we will create it in Hexo later, which is relatively simple.Īdd a CNAME record in the place of DNS resolution, point the domain name you want to your warehouse name (this is the reason why the project name is added with. After waiting for the page to be automatically generated by the system, go back to GitHub Pages and you can modify the custom domain name. For example, if your github name is abc, then the warehouse name must be Just leave the Description empty, remember to select publicĪfter the project is built, click on Settings, scroll down until there is a GitHub Pages at the end, click on Choose a theme to select a theme. * The name must be exactly the same as your github name. github.io afterwards, and also check the README initialization on. Open Github official website, create a new warehouse, enter your own project name, and be sure to add the suffix. General programmers will also install it, but recently due to well-known reasons, it is necessary to hang an agent 1 Generally programmers will install it, if not, install it yourself, and remember to add a domestic mirror source Become a content platform that I use for a long time. After two days, it feels good to use, and it may be possible in the future. I was forced to plan to use Hexo+Github Page to build a set of blogs.
![typora yaml typora yaml](http://support.typora.io/media/new-11/CleanShot%202021-07-11%20at%2022.22.44@2x.png)
Recently, due to the server requesting the public security filing, the access speed of overseas servers is too slow.
#Typora yaml how to#
I have previously shared an article How to write articles with TyporaĪlso shared an article Recommend a set of high-value family buckets based on content publishing