dimanche 31 janvier 2016

font-awesome do not work in Flask?

I'm trying to use font-awesome to show small icons in my web pages. My project is based on Flask framework. Here is my code:

<head>
<!-- use bootstrap -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://ift.tt/1JAVNZp">
<script src="http://ift.tt/1Cva0ES"></script>
<script src="http://ift.tt/1JAVNZv"></script>
<link rel="stylesheet" href="{{url_for('static', filename='custom.css')}}" type="text/css"/>
<link rel="stylesheet" href="{{url_for('static', filename = 'css/font-awesome.min.css')}}" type="text/css">

<a href="http://ift.tt/1KjgbTh" target="_blank"><i class="icon-github"></i> </a>

However, the icon does not appear. Could anyone give me some suggestions?




Aucun commentaire:

Enregistrer un commentaire