Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional fa icons for clean-blog? #779

Open
SlidingHorn opened this issue Mar 12, 2022 · 2 comments
Open

additional fa icons for clean-blog? #779

SlidingHorn opened this issue Mar 12, 2022 · 2 comments

Comments

@SlidingHorn
Copy link

I'm looking at adding a Mastodon link rather than a Twitter link, and just to test what the icon would look like, I replaced "fa-twitter" with "fa-mastodon" in the index.tpl file, it doesn't pull the icon from Font Awesome. Instead, it just shows the circle stack icon.

Is there something special that has to be done in order to use other icons?

@yellowled
Copy link
Member

Clean-Blog includes Font Awesome from a CDN in a rather old version (4.5.0) which did not include a Mastodon icon yet. Also, it seems that Bootstrap switched CDNs, the maxcdn doesn't seem to offer newer versions.

You can try replacing <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> with <link href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/fontawesome.min.css" rel="stylesheet" type="text/css"> in index.tpl (assuming you're aware that changes to your index.tpl will be overwritten by a Serendipity update if you use the bundled version of Clean-Blog).

@SlidingHorn
Copy link
Author

SlidingHorn commented Mar 12, 2022

Apparently the newer one hollows out the circles

screenshot-20220312154708

(the one on the right is the RSS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants