From 6c350117a9272ab0cba9c76037748eba1482d6d5 Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Wed, 4 Apr 2018 15:33:50 -0400 Subject: [PATCH 1/4] match markup & indentation from primer theme --- _layouts/default.html | 54 ++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 928ea48821..0a37a231c5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,13 +1,12 @@ - + - - + + + {% seo %} - - - + @@ -15,28 +14,28 @@
-

{{ site.title | default: site.github.repository_name }}

- - {% if site.logo %} - Logo - {% endif %} +

{{ site.title | default: site.github.repository_name }}

+ + {% if site.logo %} + Logo + {% endif %} -

{{ site.description | default: site.github.project_tagline }}

+

{{ site.description | default: site.github.project_tagline }}

{% if site.github.is_project_page %}

View the Project on GitHub {{ github_name }}

{% endif %} {% if site.github.is_user_page %} -

View My GitHub Profile

+

View My GitHub Profile

{% endif %} {% if site.show_downloads %} - + {% endif %}
@@ -52,18 +51,15 @@
- - - {% if site.google_analytics %} + {% if site.google_analytics %} - {% endif %} + {% endif %} From de1bf71705e69f3260cae8c1ee10de5a25a92482 Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Wed, 4 Apr 2018 15:42:21 -0400 Subject: [PATCH 2/4] fix outdated template tag --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 0a37a231c5..f7e550534e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -23,7 +23,7 @@

{{ site.title | default: site.github.repo

{{ site.description | default: site.github.project_tagline }}

{% if site.github.is_project_page %} -

View the Project on GitHub {{ github_name }}

+

View the Project on GitHub {{ site.github.repository_nwo }}

{% endif %} {% if site.github.is_user_page %} From b405a948be9b97769b638cde84bc8b09f354202b Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Wed, 4 Apr 2018 15:43:29 -0400 Subject: [PATCH 3/4] update URL for html5shiv --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index f7e550534e..23846ecd2b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@ {% seo %} From 7bf831deecdcfd6cc157106d057333eb78c09d6e Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Wed, 4 Apr 2018 15:48:00 -0400 Subject: [PATCH 4/4] use double quotes inside template tags --- _layouts/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 23846ecd2b..24fc1d416b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -50,7 +50,7 @@

{{ site.title | default: site.github.repo

Hosted on GitHub Pages — Theme by orderedlist

- + {% if site.google_analytics %}