Skip to content

Commit

Permalink
Respect page.title and page.description if set
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed May 2, 2019
1 parent 4feb892 commit 6f84b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Expand Up @@ -17,8 +17,8 @@
<body>

<header>
<h1>{{ site.title | default: site.github.repository_name }}</h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
<h1>{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<p>{{ page.description | default: site.description | default: site.github.project_tagline }}</p>
</header>

<div id="banner">
Expand Down

0 comments on commit 6f84b72

Please sign in to comment.