Skip to content

Commit

Permalink
Minor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh98trivedi authored Jun 4, 2024
1 parent 61aa4e7 commit 6705022
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ links:

# TWITTER
- Name: Twitter
URL: https://twitter.com
URL: https://x.com
Username: harsh98trivedi
Color: '#1DA1F2'
Icon-Class: fab fa-twitter

# THREADS.NET
- Name: Threads
URL: https://threads.net/
URL: https://threads.net
Username: harsh98trivedi
Color: '#000000'
Icon-Class: fa-brands fa-threads
Expand Down
2 changes: 1 addition & 1 deletion _includes/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% if link.URL %}

<a class="flex" href="{{link.URL}}{% if link.Username %}/{{link.Username}}{% endif %}" target="_blank"
<a class="flex" href="{{ link.URL | rtrim '/' }}{% if link.Username %}/{{ link.Username }}{% endif %}" target="_blank"
rel="noopener noreferrer">
<button id="links"
class="links min-h-auto lg:m-5 md:5 sm:3.5 text-white hover:opacity-75 font-semibold my-2.5 mx-5 px-5 py-1.5 rounded-md w-full place-content-center h-14 w-32"
Expand Down

0 comments on commit 6705022

Please sign in to comment.