mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-21 01:52:19 +01:00
14 lines
505 B
JavaScript
14 lines
505 B
JavaScript
|
import { library, dom } from '@fortawesome/fontawesome-svg-core'
|
||
|
import { faFolder, faTag } from '@fortawesome/free-solid-svg-icons'
|
||
|
import { faFacebookF, faTwitter, faLinkedinIn } from '@fortawesome/free-brands-svg-icons'
|
||
|
|
||
|
// Add solid icons to our library
|
||
|
library.add(faFolder, faTag)
|
||
|
|
||
|
// Add brand icons to our library
|
||
|
library.add(faFacebookF, faTwitter, faLinkedinIn)
|
||
|
|
||
|
// Replace any existing <i> tags with <svg> and set up a MutationObserver to
|
||
|
// continue doing this as the DOM changes.
|
||
|
dom.watch()
|