Skip to content

Commit abc5f5f

Browse files
committed
修改文章无法显示的bug
1 parent 7cf00cf commit abc5f5f

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎_config.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 基本配置
22
title: "TY的博客"
33
description: "分享编程和生活"
4-
logo: /assets/img/MiLogal.jpg
4+
logo: /assets/img/MiLogo.jpg
55
show_downloads: true
66
baseurl: "" # 如果部署在子路径,填写子路径
77
url: "https://tyuecode.github.io"
@@ -20,6 +20,7 @@ theme: jekyll-theme-minimal
2020
markdown: kramdown # 使用的Markdown解析器
2121
highlighter: rouge # 代码高亮引擎
2222
timezone: "Asia/Shanghai" # 时区设置
23+
lang: zh-CN #默认为中文
2324

2425
source: "." # 源文件目录(通常是项目根目录)
2526
layouts_dir: "_layouts" # 布局模板目录

‎_layouts/post.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
<h1>{{ page.title }}</h1>
55

66
<p class="view">by {{ page.author | default: site.author }}</p>
7-
<small>{{ page.date | date: "%-d %B %Y" }}</small>
7+
<small>{{ page.date | date: "%-d %B %Y" }}</small>
8+
9+
{{content}}

‎assets/css/style.scss‎

Whitespace-only changes.

0 commit comments

Comments
 (0)