Skip to content

Commit

Permalink
fix(seo): Changes link color and tags page
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjerome committed Jul 13, 2023
1 parent 88b5b57 commit 454a398
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 27 deletions.
2 changes: 1 addition & 1 deletion _sass/parts/_post-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
color: var(--link-color);
border: none;
padding: 0;
word-break: break-all;
/* word-break: break-all; */
-webkit-box-shadow: none;
box-shadow: none;
text-decoration: none;
Expand Down
17 changes: 0 additions & 17 deletions _sass/parts/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@
}
}

.tag-list {
span {
a {
background: transparent;
border: none;
padding: 0;
-webkit-box-shadow: none;
box-shadow: none;
text-decoration: none;
&:hover {
text-decoration: underline;
opacity: .8;
}
}
}
}

a.tag {
color: var(--discreet-color);
margin-right: 0.5rem;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ html[data-mode='dark'] {
--discreet-color: #b4b4b4;
--shadow-color-flashy: 245, 239, 245;
--shadow-color: #4974f6;
--link-color: #3e8bff;
--link-color: #ae81ff; /* #3e8bff; */
--code-background: #747474;
--code-color: #fbfbfb;
}
Expand Down
6 changes: 2 additions & 4 deletions tags.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ <h2 id="{{ this_word | cgi_escape }}">{{ this_word }}</h2>
<ul>
{% for post in site.tags[this_word] %}{% if post.title != null %}
<li>
<div class="tag-list">
<span><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></span>
<small><span>| {{ post.date | i18n_date: site.active_lang }}</span></small>
</div>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<small>| {{ post.date | i18n_date: site.active_lang }}</small>
</li>
{% endif %}{% endfor %}
</ul>
Expand Down
6 changes: 2 additions & 4 deletions tags.fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ <h2 id="{{ this_word | cgi_escape }}">{{ this_word }}</h2>
<ul>
{% for post in site.tags[this_word] %}{% if post.title != null %}
<li>
<div class="tag-list">
<span><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></span>
<small><span>| {{ post.date | i18n_date: site.active_lang }}</span></small>
</div>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<small>| {{ post.date | i18n_date: site.active_lang }}</small>
</li>
{% endif %}{% endfor %}
</ul>
Expand Down

0 comments on commit 454a398

Please sign in to comment.