Skip to content

Commit

Permalink
Update tags style
Browse files Browse the repository at this point in the history
  • Loading branch information
nxnom committed Aug 20, 2023
1 parent 41e15df commit 18fba58
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/post-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div style="margin-bottom: 8px">
{%- for tag in post.tags -%}
{% assign path = "/articles/tags/" | append: tag %}
<a class="post-tag" href="{{path}}"> #{{ tag | downcase }} </a>
<a class="post-tag" href="{{path}}"> #{{ tag }} </a>
{%- endfor -%}
</div>
</li>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---


{% assign tag = page.path | split: "/" | last | split: "." | first %}
{% assign tag = page.path | split: "/" | last | replace: ".md", "" %}
{% assign posts = site.tags[tag] %}

<h3 style="opacity: 0.8;">{{ tag | capitalize }} related posts</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Install debian on Lenovo Ideapad 5 Pro 16ARH7
date: 2023-08-13 12:45 +0630
tags: linux
tags: Linux
image: /assets/images/posts/lenovo-debian.jpg
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: post
title: Optimize 3hr battery life to 8hr in my debian laptop🔋
date: 2023-08-14 16:32 +0630
tags: linux
tags: Linux
image: /assets/images/posts/lenovo-debian.jpg
---

Expand Down
4 changes: 4 additions & 0 deletions articles/tags/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*

!/.gitignore
!/.gitkeep

0 comments on commit 18fba58

Please sign in to comment.