diff --git a/source/_posts/git/Git(3)-分支.md b/source/_posts/git/Git(3)-分支.md index 5ee34a2..ad5e024 100644 --- a/source/_posts/git/Git(3)-分支.md +++ b/source/_posts/git/Git(3)-分支.md @@ -1,5 +1,5 @@ --- -title: Git(2)-基础操作 +title: Git(3)-分支 date: 2018-4-18 09:20:13 tags: - git diff --git a/source/_posts/前端杂烩/Hexo搭建个人博客.md b/source/_posts/前端杂烩/Hexo搭建个人博客.md index 11abe2c..ecf92b3 100644 --- a/source/_posts/前端杂烩/Hexo搭建个人博客.md +++ b/source/_posts/前端杂烩/Hexo搭建个人博客.md @@ -40,8 +40,9 @@ hexo server ### 编写文章 Hexo 有三种默认布局:post、page 和 draft,它们分别对应不同的路径 + | 布局 | 路径 | -|-----|----| +|----|-----| |post|source/_posts| |page|source| |draft|source/_drafts| @@ -50,14 +51,15 @@ Hexo 有三种默认布局:post、page 和 draft,它们分别对应不同的 我们可以直接在其中创建文件 , `_posts`里面就是正式提交的文章 实际访问的路径可以在_config.yml当中的`permalink`定义 可以有下列值 + | 变量 | 描述 | -|----|----| -|:title|标题(小写,空格将会被替换为短杠)| -|:year|建立的年份,比如, 2015| -|:month|建立的月份(有前导零),比如, 04| -|:i_month|建立的月份(无前导零),比如, 4| -|:day|建立的日期(有前导零),比如, 07| -|:i_day|建立的日期(无前导零),比如, 7| +| -- | -- | +| :title | 标题(小写,空格将会被替换为短杠) | +| :year | 建立的年份,比如, 2015 | +| :month | 建立的月份(有前导零),比如, 04 | +| :i_month | 建立的月份(无前导零),比如, 4 | +| :day | 建立的日期(有前导零),比如, 07 | +| :i_day | 建立的日期(无前导零),比如, 7 | 创建一篇新文章 ```bash diff --git a/themes/hexo-theme-xups/source/css/_base/normalize.styl b/themes/hexo-theme-xups/source/css/_base/normalize.styl index 55d6f68..36e3b1b 100644 --- a/themes/hexo-theme-xups/source/css/_base/normalize.styl +++ b/themes/hexo-theme-xups/source/css/_base/normalize.styl @@ -83,7 +83,7 @@ code, kbd, pre, samp - font-family monospace, monospace + font-family 'Source Code Pro',Consola,monospace font-size 1em button, diff --git a/themes/hexo-theme-xups/source/css/_markdown.styl b/themes/hexo-theme-xups/source/css/_markdown.styl index 812bf3e..7291628 100644 --- a/themes/hexo-theme-xups/source/css/_markdown.styl +++ b/themes/hexo-theme-xups/source/css/_markdown.styl @@ -177,7 +177,7 @@ $markdown-style .markdown-body code, .markdown-body kbd, .markdown-body pre { - font-family: monospace, monospace; + font-family: 'Source Code Pro',Consola, monospace; font-size: 1em; } diff --git a/themes/hexo-theme-xups/source/css/_variables.styl b/themes/hexo-theme-xups/source/css/_variables.styl index b894a98..b6e4740 100644 --- a/themes/hexo-theme-xups/source/css/_variables.styl +++ b/themes/hexo-theme-xups/source/css/_variables.styl @@ -47,9 +47,9 @@ clearfix() // 高亮样式变量 $code-font-size = 13px $line-height-code-block = 1.6 -$code-font-family = "Input Mono", "PT Mono", Consolas, Monaco, Menlo, monospace +$code-font-family = "Source Code Pro", Consolas, Monaco, Menlo, monospace $gainsboro = #eee $border-color = #ccc $content-desktop-padding = 15px $font-family-base = Consolas, Monaco, Menlo, monospace -$font-family-monospace = monospace \ No newline at end of file +$font-family-monospace = monospace \ No newline at end of file