Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Django Favicon Plus Reloaded
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
Django Favicon Plus Reloaded
Commits
61398045
Commit
61398045
authored
8 years ago
by
Raphael Jasjukaitis
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Mark comment as safe. Otherwise it is displayed.
parent
887cb418
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
favicon/templatetags/favtags.py
+1
-1
1 addition, 1 deletion
favicon/templatetags/favtags.py
with
1 addition
and
1 deletion
favicon/templatetags/favtags.py
+
1
−
1
View file @
61398045
...
...
@@ -18,7 +18,7 @@ def placeFavicon(context):
"""
fav
=
Favicon
.
objects
.
filter
(
isFavicon
=
True
).
first
()
if
not
fav
:
return
'
<!-- no favicon -->
'
return
mark_safe
(
'
<!-- no favicon -->
'
)
html
=
''
for
rel
in
config
:
for
size
in
sorted
(
config
[
rel
],
reverse
=
True
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment