Skip to content

Commit

Permalink
Merge pull request #470 from javabrett/favicon
Browse files Browse the repository at this point in the history
Add a favicon.ico
  • Loading branch information
kennethreitz committed May 29, 2018
2 parents 62eeb39 + ea56eea commit c39f633
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -1,2 +1,3 @@
include README.rst LICENSE AUTHORS requirements.txt test_httpbin.py
recursive-include httpbin/templates *
recursive-include httpbin/static *
Binary file added httpbin/static/favicon.ico
Binary file not shown.
3 changes: 1 addition & 2 deletions httpbin/templates/flasgger/index.html
Expand Up @@ -5,8 +5,7 @@
<title>{{ title }}</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{url_for('flasgger.static', filename='swagger-ui.css')}}" >
<link rel="icon" type="image/png" href="{{url_for('flasgger.static', filename='favicon-32x32.png')}}" sizes="32x32" />
<link rel="icon" type="image/png" href="{{url_for('flasgger.static', filename='favicon-16x16.png')}}" sizes="16x16" />
<link rel="icon" type="image/png" href="{{url_for('static', filename='favicon.ico')}}" sizes="64x64 32x32 16x16" />
<style>
html
{
Expand Down

0 comments on commit c39f633

Please sign in to comment.