Skip to content

Instantly share code, notes, and snippets.

@michelep
Created March 26, 2019 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michelep/2ba519269901da15763bfcacf66568a7 to your computer and use it in GitHub Desktop.
Save michelep/2ba519269901da15763bfcacf66568a7 to your computer and use it in GitHub Desktop.
Add favicon.ico icon to LiquidFeedback
In liquid_feedback_frontend directory, edit file app/main/_layout/default.html and add a line like at line 7:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<link rel="icon" type="image/png" href="__BASEURL__/static/favicon.ico">
<title><!-- WEBMCP SLOTNODIV html_title --></title>
<link rel="stylesheet" type="text/css" media="screen" href="__BASEURL__/static/gregor.js/gregor.css" />
<link rel="stylesheet" type="text/css" href="<!-- WEBMCP SLOTNODIV stylesheet_url -->" />
<!-- WEBMCP SLOTNODIV html_head -->
<script src="__BASEURL__/static/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript">jsFail = true;</script>
then upload favicon.ico in PNG format to directory static/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment