From 0274984f6c4d6ef33d4421680de016bad4f76327 Mon Sep 17 00:00:00 2001 From: Rudi Chen Date: Fri, 30 Jun 2017 15:25:05 -0400 Subject: [PATCH 1/2] Avoid the '-' character outside of posts --- _layouts/default.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 5816b8e15..f576ef60c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,8 +2,15 @@ - - + {% if page.title %} + + + {{ page.title }} - {{ site.title }} + {% else %} + + + {{ site.title }} + {% endif %} {{ page.title }} - {{ site.title }} {% include head.html %} From 4e5d5ade7b1128c2e14cedcfebacad09be74402c Mon Sep 17 00:00:00 2001 From: Rudi Chen Date: Fri, 30 Jun 2017 15:25:30 -0400 Subject: [PATCH 2/2] Make sure pagination doesn't mess with text selection Text could previously not be selected correctly around the area where the pagination arrows was located. --- _includes/pagination.html | 8 ++++---- stylesheets/style.css | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_includes/pagination.html b/_includes/pagination.html index aa2a67608..35cc15c17 100644 --- a/_includes/pagination.html +++ b/_includes/pagination.html @@ -1,8 +1,8 @@ -
+
{% if page.previous %} - + {% endif %} {% if page.next %} - + {% endif %} -
\ No newline at end of file +
diff --git a/stylesheets/style.css b/stylesheets/style.css index d6b55d540..dcf624639 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -2,6 +2,8 @@ .bg-super-white { background: #f9f9f9; } .top-50 { top: 50% } +.pointers { pointer-events: auto; } +.no-pointers { pointer-events: none; } .link:hover { background: url(/images/line.png) repeat-x left bottom; } /* Markdown styles */