Skip to content

Commit b304e2f

Browse files
committed
index/home: Add slug 'home'
1 parent 374d732 commit b304e2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<meta charset="utf-8">
2-
<title>{% if page.title %}{{ page.title }} · {% endif %}{{ site.name }}{% if page.url == '/index.html' %} - {{ site.description }}{% endif %}</title>
2+
<title>{% if page.title %}{{ page.title }} · {% endif %}{{ site.name }}{% if page.slug == "home" %} - {{ site.description }}{% endif %}</title>
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: index
3+
slug: home
34
---
45
<main class="zd-hp-header" id="content" tabindex="-1">
56
<div class="container">

0 commit comments

Comments
 (0)