Browse Source

Adjust content

Track3 6 years ago
parent
commit
57e285b397

+ 4 - 3
archetypes/posts.md

@@ -2,8 +2,9 @@
 title: "{{ replace .Name "-" " " | title }}"
 date: {{ .Date }}
 draft: true
-featuredImg: ""
-tags: 
-  - tag
+toc: false
+images:
+tags:
+  - untagged
 ---
 

+ 4 - 3
assets/scss/style.scss

@@ -527,8 +527,8 @@ hr.post-end {
     margin: .8em 0;
   }
 
-  a {
-    border-bottom: 1px solid;
+  a:hover {
+    border-bottom: 2px solid $theme;
   }
 
   svg {
@@ -556,6 +556,7 @@ hr.post-end {
   margin-bottom: .5em;
   font-size: .8em;
   font-weight: bold;
+  opacity: .8;
 }
 
 #TableOfContents {
@@ -576,7 +577,7 @@ hr.post-end {
   }
 
   a:hover {
-    border-bottom: $theme 1px solid;
+    border-bottom: $theme 2px solid;
   }
 }
 

+ 1 - 1
config.toml

@@ -1,5 +1,5 @@
 baseURL = "https://www.xxxlbox.com"
-languageCode = "zh-cn"
+languageCode = "zh-hans"
 title = "Track3's Blog"
 
 enableGitInfo = true

+ 3 - 1
content/posts/2017/3-years-of-win10.md

@@ -2,7 +2,9 @@
 title: 三年Win10,回首
 date: 2017-10-02T20:40:21+08:00
 draft: false
-featuredImg: "https://assets.xxxlbox.com/images/2017/win10.jpg"
+toc: true
+images:
+  - https://assets.xxxlbox.com/images/2017/win10.jpg
 tags:
   - 杂谈
   - Windows 

+ 2 - 1
content/posts/2017/goodbye-my-windows-phone.md

@@ -2,7 +2,8 @@
 title: 别了,我的Windows Phone
 date: 2017-08-14T21:47:52+08:00
 draft: false
-featuredImg: "https://assets.xxxlbox.com/images/2017/lumia-830.jpg"
+images:
+  - https://assets.xxxlbox.com/images/2017/lumia-830.jpg
 tags:
   - 杂谈
   - Windows

+ 2 - 1
content/posts/2017/raspberrypi-lede-setup.md

@@ -2,7 +2,8 @@
 title: 变身智能路由器,树莓派配置LEDE
 date: 2017-05-29T17:25:44+08:00
 draft: false
-featuredImg: "https://assets.xxxlbox.com/images/2017/Buy_Pi_Cover-01.png"
+images:
+  - https://assets.xxxlbox.com/images/2017/Buy_Pi_Cover-01.png
 tags:
   - 折腾
   - 树莓派

+ 5 - 3
content/posts/2017/stories-behind-amd.md

@@ -3,7 +3,9 @@ title: 写在“锐龙”上市之际——AMD那段励志的故事
 date: 2017-02-24T20:27:13+08:00
 draft: false
 excerpt: 十年磨一剑,AMD Ryzen终于来了。可是AMD背后的故事,又有多少人了解?
-featuredImg: "https://assets.xxxlbox.com/images/2017/amd-ryzen.jpg"
+toc: true
+images:
+  - https://assets.xxxlbox.com/images/2017/amd-ryzen.jpg
 tags:
   - 杂谈
   - AMD
@@ -36,7 +38,7 @@ Intel的先天优势使它在微处理器的研制上一开始就处于领先地
 
 Intel在1978年推出了世界上第一颗x86微型处理器。1981年,IBM设计出了自己的PC产品并希望使用Intel的x86处理器,同时要求将AMD作为第二供应商。Intel不想丢失像IBM这样大的订单,只好又一次与AMD谈判,签署了一个十年技术交换协定(10-year technology exchange agreement)。1984年AMD的销售额达到了创纪录的11亿美元,同年Intel的销售额是16亿美元,作为第二供应商,能取得这样的成绩是很不容易的。此时,Intel已经有点坐不住了,准备采取些行动,防患于未然。
 
-{{< figure src="https://assets.xxxlbox.com/images/2017/img002.jpg" alt="Intel i386 & AMD Am386" caption="Intel的i386和AMD的Am386" class="right" width="359" height="558" >}}
+{{< figure src="https://assets.xxxlbox.com/images/2017/img002.jpg" alt="Intel i386 & AMD Am386" caption="Intel的i386和AMD的Am386" class="left" width="359" height="558" >}}
 
 1985年Intel推出了32位处理器80386,但是当386芯片正式上市后,Intel却宣布将由自己独家制造。AMD公司和桑德斯本人都被Intel的出尔反尔激怒了,根据双方1981年签订的协议获得授权是理所当然的事情。在双方谈判无效的情况下,AMD在1987年一纸诉状将Intel告上了法庭。
 
@@ -81,7 +83,7 @@ AMD和Intel的官司从1987年开始,一直拖到1995年才最终结束。最
 
 英特尔:不知怎么的7nm工艺突然就成熟了,我们决定8代酷睿直接上7nm!
 
-## 鸣谢-Acknowledgements
+## 参考
 
 本文参考并引用了大量资料以及一些大神的帖子,现将主要的贴出:
 

+ 1 - 1
content/posts/2018/compile-nginx-tls1.3.md

@@ -2,7 +2,7 @@
 title: "编译升级Nginx尝鲜TLS1.3"
 date: 2018-07-31T17:13:03+08:00
 draft: false
-featuredImg: ""
+toc: true
 tags:
   - 折腾
   - Nginx

+ 1 - 0
content/posts/2018/hello-hugo.md

@@ -2,6 +2,7 @@
 title: "Hello Hugo"
 date: 2018-05-07T22:24:24+08:00
 draft: false
+toc: true
 tags: 
   - Hugo
   - 折腾

+ 1 - 0
content/posts/2018/hugo-deployment-webhook.md

@@ -2,6 +2,7 @@
 title: "Hugo利用Webhook实现自动部署"
 date: 2018-06-02T14:19:05+08:00
 draft: false
+toc: true
 tags: 
   - Hugo
   - GitLab

+ 0 - 1
content/posts/2018/hugo-theme-hermit.md

@@ -2,7 +2,6 @@
 title: "一个Hugo主题:Hermit"
 date: 2018-11-27T14:49:11+08:00
 draft: false
-featuredImg: ""
 tags:
   - Hugo
   - 折腾

+ 1 - 0
content/posts/2018/lets-encrypt-wildcard-cert.md

@@ -2,6 +2,7 @@
 title: "Let's Encrypt终于支持泛域名证书了"
 date: 2018-03-14T23:51:28+08:00
 draft: false
+toc: true
 tags:
   - 折腾
 ---

+ 1 - 0
content/posts/2018/my-wp-theme-alchemist.md

@@ -3,6 +3,7 @@ title: 本人首个原创主题——Alchemist
 date: 2018-02-27T19:56:25+08:00
 draft: false
 excerpt: 用WordPress有一年多了,我一直都用的是别人的主题。考虑了很长时间,终于下定决心要写一款主题。
+toc: true
 tags:
   - 折腾
   - WordPress

+ 1 - 1
layouts/index.html

@@ -28,7 +28,7 @@
 		</div>
 		<div id="home-footer">
 			<p>
-				&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}
+				&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>
 				{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} &#183; <a href="{{ "posts/index.xml" | absURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}
 			</p>
 		</div>