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

link_class tag, how to show icons instead of the text #58

Open
iago84 opened this issue Jun 9, 2021 · 2 comments
Open

link_class tag, how to show icons instead of the text #58

iago84 opened this issue Jun 9, 2021 · 2 comments

Comments

@iago84
Copy link

iago84 commented Jun 9, 2021

i think my question is clear on the title

how?...for example...use a fontawesome class for FB

{% post_to_facebook <object_or_url> <link_text> <link_class> %}

how to leave empty the link text and how declare the link class

EXTRA: i saw some people on forums...that used this..didnt understand..or maybe me...that <object_or_url> should not be an instance of an object...how it worked for me.. was only indicating like on your example..object_or_url jst like a plain parameter:

{% post_to_facebook object_or_url "Post to Facebook!" %}

what i get bout this its object_or_url parameter..will use it self..the object for sharing...

or maybe im wrong and should mark object.get_absolute_url???

@fcurella
Copy link
Owner

fcurella commented Jun 9, 2021

You could override the Facebook template to generate the HTML you want.

@iago84
Copy link
Author

iago84 commented Jun 9, 2021

ah i see now....perfect...thanks...cuz i thought the template was for the modus operandi of the post in it self

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