From 6ec4a68c77bc9bb35f91dc8632b73dabaf27bb5e Mon Sep 17 00:00:00 2001 From: Randy Brito Date: Fri, 21 Mar 2014 05:35:33 +0100 Subject: [PATCH] default should no carry a title: because... default should no carry a title: because it overwrites the `````` tag and makes it static instead of change it based in the current page title. Beside having 2 ```<h1>``` elements in the same page, the website title or logo should be a static content, not based in the variable of the current page --- _layouts/default.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 62290dd5c..1b0885442 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,6 +1,3 @@ ---- -title: 'This is my Site Title' ---- <!DOCTYPE html> <html> <head> @@ -21,7 +18,7 @@ <a class='{% if page.url == "about/" %}active{% endif %}' href='{{site.baseurl}}/about'>About</a> <a href='//github.com/prose/starter'>Fork on GitHub</a> </div> - <h1 class='title'><a href='{{site.baseurl}}/'>{{page.title}}</a></h1> + <h1 class='title'><a href='{{site.baseurl}}/'>Site Title</a></h1> </div> </div> </div>