You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I needed to add a new sidebar menu icon for a sitemap, so found one at https://fontawesome.com/search?q=sitemap&s=solid%2Cbrands , and the suggested code was
<i class="fa-duotone fa-sitemap"></i>
so added these lines to
config.toml
as follows:it works fine. My question is, how does this work ? Is it the JS code or just the stylesheet code ? Also in this line
pre = "<i class=\"sidebar-button-icon fas fa-duotone fa-sitemap\" aria-hidden=\"true\"></i>"
what does the fas do ? How does that work ? Some lines have fab . Obviously a parameter that is parsed to the code.
Beta Was this translation helpful? Give feedback.
All reactions