Remove font-awesome and migrate its icons
This commit is contained in:
parent
ca22dcbfee
commit
f57c466c93
16 changed files with 133 additions and 13 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue