From 2c36878b7f85138652f976323efbac885ae86839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=A7=89=20infominer?= Date: Thu, 5 Nov 2020 20:53:01 -0500 Subject: [PATCH] fix ui text --- _data/ui-text.yml | 2 +- _includes/comments.html | 2 +- _sass/minimal-mistakes/_page.scss | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/_data/ui-text.yml b/_data/ui-text.yml index c56689b6..2c298b9f 100644 --- a/_data/ui-text.yml +++ b/_data/ui-text.yml @@ -19,7 +19,7 @@ en: &DEFAULT_EN tags_label : "Tags:" categories_label : "Categories:" date_label : "Updated:" - comments_label : "Leave a comment" + comments_label : "Leave a Comment" comments_title : "Comments" more_label : "Learn more" related_label : "You may also enjoy" diff --git a/_includes/comments.html b/_includes/comments.html index d9e8c46b..4d348670 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -21,7 +21,7 @@
{% if site.data.comments[page.slug] %} -

Leave a comment and\or info you think should be on this page

+

{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}

{% assign comments = site.data.comments[page.slug] | sort %} {% for comment in comments %} diff --git a/_sass/minimal-mistakes/_page.scss b/_sass/minimal-mistakes/_page.scss index 4c7f13d7..e295e012 100644 --- a/_sass/minimal-mistakes/_page.scss +++ b/_sass/minimal-mistakes/_page.scss @@ -399,9 +399,7 @@ margin-top: 2rem; margin-bottom: 5px; padding-top: 1rem; - font-size: $type-size-6; - border-top: 1px solid $border-color; - text-transform: uppercase; + font-size: $type-size-5; } .page__comments-form {