Skip to content

Commit

Permalink
Using nerd fonts instead of bootstrap icon
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag3301 committed Sep 22, 2024
1 parent 02d2730 commit 1ea6379
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions home/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ default_theme = "dark"
accent_color_dark = "#66ff66"
fix_contrast_dark = true
styles = [
"webfont.css"
]
bundled_fonts = true
11 changes: 5 additions & 6 deletions home/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,23 @@ title = ""
/____/
```
{% end %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">

<table>
<tr>
<th><a target=_blank href="https://github.com/anurag3301">
{{bsicon(color="white", class="bi bi-github")}} Github</a>
{{nerdicon(color="white", class="nf nf-fa-github")}} Github</a>
</th>
<th><a target=_blank href="https://www.linkedin.com/in/anurag3301/">
{{bsicon(color="#0a66c2", class="bi bi-linkedin")}} LinkedIn</a>
{{nerdicon(color="#0a66c2", class="nf nf-fa-linkedin_square")}} LinkedIn</a>
</th>
<th><a target=_blank href="https://www.youtube.com/@anurag3301YT">
{{bsicon(color="#ff4545", class="bi bi-youtube")}} Youtube</a>
{{nerdicon(color="#ff4545", class="nf nf-fa-youtube")}} Youtube</a>
</th>
<th><a target=_blank href="/resume">
{{bsicon(color="white", class="bi bi-file-earmark-person-fill")}} Resume</a>
{{nerdicon(color="white", class="nf nf-fa-file_lines")}} Resume</a>
</th>
<th><a target=_blank href="/blog">
{{bsicon(color="white", class="bi bi-newspaper")}} Blog</a>
{{nerdicon(color="white", class="nf nf-fa-newspaper_o")}} Blog</a>
</th>
</tr>
</table>
Expand Down
Binary file not shown.
7 changes: 7 additions & 0 deletions home/static/webfont.css

Large diffs are not rendered by default.

File renamed without changes.

0 comments on commit 1ea6379

Please sign in to comment.