Skip to content

Commit 76e679d

Browse files
committed
change title setting
1 parent ce3c62a commit 76e679d

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

_config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ sponsor:
2929
url: "https://www.redminecloud.net/"
3030
logo: "/images/myredmine-logo-hz.png"
3131
description: >- # this means to ignore newlines until "baseurl:"
32-
「5 分鐘快速上手 Redmine」系列文章,旨在用簡單易懂的方式介紹開放原始碼的議題管理系統 Redmine。
33-
每篇文章的長度大約只需 5 分鐘閱讀時間,讓您輕鬆掌握 Redmine 的基礎與實用功能。
32+
「5分鐘快速上手 Redmine」系列文章,旨在用簡單易懂的方式介紹開放原始碼的議題管理系統 Redmine。每篇文章的長度大約只需 5分鐘閱讀時間,讓您輕鬆掌握 Redmine 的基礎與實用功能。
3433
baseurl: "" # the subpath of your site, e.g. /blog
3534
url: "https://5fenzhong-redmine.github.io" # the base hostname & protocol for your site, e.g. http://example.com
3635
repository_url: "https://github.com/5fenzhong-redmine/5fenzhong-redmine.github.io"

_includes/head.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22
<meta charset="utf-8">
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
5-
{%- seo -%}
5+
<title>
6+
{% if page.title %}
7+
{{ page.title }}
8+
{% else %}
9+
{{ site.title }}
10+
{% endif %}
11+
</title>
12+
13+
{%- seo title=false -%}
14+
615
<link id="main-stylesheet" rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
716
{%- feed_meta -%}
817
{%- if jekyll.environment == 'production' and site.google_analytics -%}

0 commit comments

Comments
 (0)