{% include no-linenos.html content=post.content %} @@ -63,24 +60,35 @@ layout: page
From 5ffbfaec2638f16f545723a69fd50f0ad3a36ddf Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Thu, 17 Dec 2020 15:18:02 +0800 Subject: [PATCH] Beautify the pin label on home page --- _data/label.yml | 13 +++--- _layouts/home.html | 50 ++++++++++++++---------- assets/css/_colors/dark-typography.scss | 2 + assets/css/_colors/light-typography.scss | 2 + assets/css/home.scss | 43 ++++++++++++++------ assets/js/_utils/pageviews.js | 2 +- 6 files changed, 71 insertions(+), 41 deletions(-) diff --git a/_data/label.yml b/_data/label.yml index 53761bc..007da2f 100644 --- a/_data/label.yml +++ b/_data/label.yml @@ -4,16 +4,17 @@ # © 2017-2019 Cotes Chung # MIT Licensed - panel: - lastmod: "Recent Update" - trending_tags: "Trending Tags" - toc: "Contents" + lastmod: Recent Update + trending_tags: Trending Tags + toc: Contents post: - relate_posts: "Further Reading" + relate_posts: Further Reading button: next: Newer previous: Older -search_hint: "Search" # text show on search bar \ No newline at end of file +search_hint: Search # text show on search bar + +pin_prompt: Pinned # pinned prompt diff --git a/_layouts/home.html b/_layouts/home.html index f9c6752..d189a41 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -49,13 +49,10 @@ layout: page {% for post in posts %}
{% include no-linenos.html content=post.content %} @@ -63,24 +60,35 @@ layout: page