iCalculate's Studio.

Hello World

Word count: 295Reading time: 1 min
2020/11/15 Share

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Add Google Analytics

Sign up for Google Analytics and generate code, like this:

1
2
3
4
5
6
7
8
9
<!-- hexo-inject:begin --><!-- hexo-inject:end --><!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-xxxxxxxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-xxxxxxxxx');
</script>

Add it to the _config.yml and .ejs file at \layout_partial

Add Baidu and Google search list

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
gantt         
dateFormat YYYY-MM-DD
title 使用mermaid语言定制甘特图

section 任务1
已完成的任务 :done, des1, 2014-01-06,2014-01-08
正在进行的任务 :active, des2, 2014-01-09, 3d
待完成任务1 : des3, after des2, 5d
待完成任务2 : des4, after des3, 5d

section 关键任务
已完成的关键任务 :crit, done, 2014-01-06,24h
已完成的关键任务2 :crit, done, after des1, 2d
正在进行的关键任务 :crit, active, 3d
待完成的关键任务 :crit, 5d
待完成任务 :2d
待完成任务2 :1d
CATALOG
  1. 1. Quick Start
    1. 1.1. Create a new post
    2. 1.2. Run server
    3. 1.3. Generate static files
    4. 1.4. Deploy to remote sites
    5. 1.5. Add Google Analytics
    6. 1.6. Add Baidu and Google search list