Replace fa by feather icons

This commit is contained in:
Avijit 🚀
2021-06-15 18:43:33 +02:00
parent 25cbb36078
commit a252f2fd38
5 changed files with 29 additions and 14 deletions

View File

@@ -1,15 +1,14 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu|Roboto" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" type="text/css" href="/css/main.css">
<link disabled id="dark-theme" rel="stylesheet" href="/css/dark.css">
<script src="https://unpkg.com/feather-icons"></script>
<script src="/js/main.js"></script>
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}

View File

@@ -35,7 +35,7 @@
<span class="nav-icons-divider"></span>
<div class="nav-link" id="dark-theme-toggle">
<a>
<span class="fa fa-moon-o"></span>
<span id="theme-toggle-icon" data-feather="moon"></span>
</a>
</div>