From 2f7bfa586c3f2039341eea4e798ee9c59b2cea49 Mon Sep 17 00:00:00 2001 From: Fechin Date: Mon, 23 Jun 2025 05:23:50 -0700 Subject: [PATCH] feat: Update Link Titles and SEO Optimization - Added title attributes to links in multiple layout files to improve accessibility and SEO. - Updated the configuration file to add new excluded domains. - Improved the readability and user experience of various sections on the page. --- _config.yml | 6 ++- .../layout/_partial/buttons/buy-coffee.ejs | 2 +- .../coo/layout/_partial/buttons/follow-x.ejs | 4 +- .../_partial/buttons/github-contribute.ejs | 2 +- .../layout/_partial/buttons/github-star.ejs | 2 +- themes/coo/layout/_partial/comment.ejs | 2 +- themes/coo/layout/_partial/footer.ejs | 50 +++++++++++++------ themes/coo/layout/_partial/header.ejs | 16 +++--- themes/coo/layout/_partial/index/card.ejs | 2 +- themes/coo/layout/_partial/index/hero.ejs | 6 +-- themes/coo/layout/_partial/index/logo.ejs | 4 +- .../coo/layout/_partial/index/recommend.ejs | 2 +- themes/coo/layout/_partial/note/tags.ejs | 2 +- themes/coo/layout/_partial/post/category.ejs | 2 +- .../coo/layout/_partial/post/popular_card.ejs | 2 +- themes/coo/layout/_partial/post/tag.ejs | 2 +- themes/coo/layout/_partial/post/title.ejs | 6 +-- themes/coo/layout/_partial/share.ejs | 12 ++--- themes/coo/layout/_partial/sidebar.ejs | 8 +-- themes/coo/layout/notes.ejs | 6 +-- 20 files changed, 80 insertions(+), 58 deletions(-) diff --git a/_config.yml b/_config.yml index c73cede..80ef853 100644 --- a/_config.yml +++ b/_config.yml @@ -97,7 +97,11 @@ nofollow: enable: true field: site exclude: - - "exclude1.com" + - "tableconvert.com" + - "dorefer.com" + - "fionaai.com" + - "github.com" + - "x.com" excerpt: depth: 2 diff --git a/themes/coo/layout/_partial/buttons/buy-coffee.ejs b/themes/coo/layout/_partial/buttons/buy-coffee.ejs index e977909..255fe8b 100644 --- a/themes/coo/layout/_partial/buttons/buy-coffee.ejs +++ b/themes/coo/layout/_partial/buttons/buy-coffee.ejs @@ -51,7 +51,7 @@ const spacing = { }[variant]; %> -
diff --git a/themes/coo/layout/_partial/buttons/follow-x.ejs b/themes/coo/layout/_partial/buttons/follow-x.ejs index 0dcee7e..24f0f00 100644 --- a/themes/coo/layout/_partial/buttons/follow-x.ejs +++ b/themes/coo/layout/_partial/buttons/follow-x.ejs @@ -50,7 +50,7 @@ const spacing = { %> <% if (variant === 'request') { %> -
<%- icon("x") %> @@ -65,7 +65,7 @@ const spacing = { <% } %> <% } else { %> -
<%- icon("x") %> diff --git a/themes/coo/layout/_partial/buttons/github-contribute.ejs b/themes/coo/layout/_partial/buttons/github-contribute.ejs index 5afa067..4557b71 100644 --- a/themes/coo/layout/_partial/buttons/github-contribute.ejs +++ b/themes/coo/layout/_partial/buttons/github-contribute.ejs @@ -49,7 +49,7 @@ const spacing = { }[variant]; %> -