Remove font-awesome and migrate its icons

This commit is contained in:
Pau Trepat Segura 2020-07-20 03:58:37 +02:00
parent ca22dcbfee
commit f57c466c93
16 changed files with 133 additions and 13 deletions

View file

@ -22,7 +22,7 @@ var isMobile = false, isTablet = false, isLaptop = false;
// =========== Add anchor to the headers ================
function addAnchor(element) {
element.innerHTML = `<a href="#${element.id}" class="header-anchor">${element.innerHTML}<sup><i class="fas fa-link"></i></sup></a>`;
element.innerHTML = `<a href="#${element.id}" class="header-anchor">${element.innerHTML}<sup><i class="icon-link"></i></sup></a>`;
}
var postContent = document.getElementById("post-content");