diff --git a/config.yaml b/config.yaml index eee8f9f..e68d5c8 100644 --- a/config.yaml +++ b/config.yaml @@ -40,3 +40,9 @@ site: cdn_image: upyun.png # cdn_link cdn厂商链接地址 cdn_link: https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral +# deploy 部署配置 +deploy: + # 部署端 upyun git + type: upyun + # 又拍云配置 + upyun_auth: \ No newline at end of file diff --git a/themes/indust/base.html b/themes/indust/base.html index 7773e78..4da455e 100644 --- a/themes/indust/base.html +++ b/themes/indust/base.html @@ -11,6 +11,7 @@ + diff --git a/themes/indust/css/cactus.css b/themes/indust/css/cactus.css index 088bcdd..ac610d3 100644 --- a/themes/indust/css/cactus.css +++ b/themes/indust/css/cactus.css @@ -573,7 +573,7 @@ body { font-display: swap; font-weight: 400; font-size: 14px; - font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace; + font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace; line-height: 1.725; text-rendering: geometricPrecision; flex: 1; @@ -1674,7 +1674,7 @@ article .content .caption { font-display: swap; font-weight: 400; font-size: 11.200000000000001px; - font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace; + font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace; line-height: 1.725; text-rendering: geometricPrecision; text-align: center; @@ -1871,7 +1871,7 @@ pre { border: 1px dotted #666; border-radius: 4px; font-size: 13px; - font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace; + font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace; line-height: 22px; -webkit-border-radius: 4px; } @@ -1895,7 +1895,7 @@ code { padding: 10px 15px; border-radius: 4px; background: #fafafa; - font-family: "Fira Code", 'Noto Sans SC', sans-serif, monospace; + font-family: "Hack", 'LXGW WenKai Screen', sans-serif, monospace; -webkit-border-radius: 4px; } diff --git a/themes/indust/css/indust.css b/themes/indust/css/indust.css index db2e017..eb84b48 100644 --- a/themes/indust/css/indust.css +++ b/themes/indust/css/indust.css @@ -1,23 +1,3 @@ -/* noto-sans-sc-regular */ -@font-face { - font-family: 'Noto Sans SC'; - font-style: normal; - font-weight: regular; - src: url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot'); - /* IE9 Compat Modes */ - src: local('Noto Sans SC'), local('NotoSans SC-Normal'), - url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff2') format('woff2'), - /* Super Modern Browsers */ - url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.woff') format('woff'), - /* Modern Browsers */ - url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('//lib.baomitu.com/fonts/noto-sans-sc/noto-sans-sc-regular.svg#NotoSans SC') format('svg'); - /* Legacy iOS */ -} - body { font-weight: 400; font-size: 16px; @@ -95,7 +75,7 @@ body { } .markdown-body { - font-family: Hack,'Noto Sans SC', sans-serif, monospace !important; + font-family: Hack,'LXGW WenKai Screen', sans-serif, monospace !important; } body h2, @@ -112,7 +92,7 @@ body .h2 { } pre, pre code { - font-family: Hack, 'Noto Sans SC', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important; + font-family: 'Fira Code', Hack, Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important; } #header #nav, diff --git a/themes/indust/images/favicon.ico b/themes/indust/images/favicon.ico index 84a85d3..9be34ca 100644 Binary files a/themes/indust/images/favicon.ico and b/themes/indust/images/favicon.ico differ diff --git a/themes/indust/index.html b/themes/indust/index.html index 07e8bad..d3222e6 100644 --- a/themes/indust/index.html +++ b/themes/indust/index.html @@ -24,7 +24,7 @@ , - + and diff --git a/themes/indust/post.html b/themes/indust/post.html index 842a3f0..f8d3fbd 100644 --- a/themes/indust/post.html +++ b/themes/indust/post.html @@ -49,6 +49,11 @@ ) +
+ + {{.Post.Category}} +
+
{{range .Post.Tags}}