Skip to content

Commit c6c35c2

Browse files
committed
bug: fix title
1 parent 6d7aa60 commit c6c35c2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/_includes/default.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=1" />
4545

4646
<link rel="stylesheet" href="/assets/css/main.css" />
47+
<title>
48+
{%- if title -%}{{ title }} | {{ site.title }} {%- else -%} {{
49+
site.title }} | {{ site.description}}{%- endif -%}
50+
</title>
4751
</head>
4852
<body>
4953
<header>

src/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: default
3-
title: bar
43
---
54

65
<div class="c-article">

0 commit comments

Comments
 (0)