Coder Social home page Coder Social logo

Comments (4)

hlapp avatar hlapp commented on July 21, 2024

Unfortunately, not all social network icons follow the exact same naming
conventions for the icon. Most have different shape versions distinguished
by their suffix, but there aren't such alternatives for the flickr icon,
and so it doesn't have the "-square" suffix.

To fix this, one would have to special-case the flickr icon, or find some
other way to ensure that most others do get -square suffix whereas flickr
doesn't.

On Wed, Mar 26, 2014 at 8:24 PM, Kyle Cranmer [email protected]:

I'm confused, in my pelicanconf.py I have:
SOCIAL = (..., ('flickr','http://www.flickr.com/photos/hoonynoo/'), ...

and in the pelican-bootstrap3/templates/includes/sidebar.html I see:

  • class="fa fa-{{ name|lower|replace('+','-plus') }}-square fa-lg">* {{
    name }}

I also see the fa-flickr font,
http://fortawesome.github.io/Font-Awesome/icon/flickr/

so I'm not sure why it's not showing up. Example:
http://theoryandpractice.org

Reply to this email directly or view it on GitHubhttps://github.com//issues/86
.

Hilmar Lapp -:- lappland.io

from pelican-bootstrap3.

DonDebonair avatar DonDebonair commented on July 21, 2024

The reason for this omission in Font Awesome is probably that the Flickr logo is already square. I will have a look at the issue and try to come up with some kind of solution.

from pelican-bootstrap3.

ingwinlu avatar ingwinlu commented on July 21, 2024

put the to set attributes in an variable
if the name, set the attributes differently if it is flickr

not much else you can do here (from modifying font-awesome)

from pelican-bootstrap3.

DonDebonair avatar DonDebonair commented on July 21, 2024

This has now been fixed in this PR: #103

from pelican-bootstrap3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.