Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit e6a5732

Browse files
committed
Favicon invalid path
Removed the {{url}} from the Favicon path. This fixes the intermittent issues with the path resolving to an invalid location. Removed the url from the twitter:image & og:image tags, to be static references to the logo.
1 parent eb8d819 commit e6a5732

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/core/server/views/layout.server.view.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
@@ -19,17 +19,17 @@
1919
<meta property="og:title" content="{{title}}">
2020
<meta property="og:description" content="{{description}}">
2121
<meta property="og:url" content="{{url}}">
22-
<meta property="og:image" content="{{url}}{{logo}}">
22+
<meta property="og:image" content="{{logo}}">
2323
<meta property="og:type" content="website">
2424

2525
<!-- Twitter META -->
2626
<meta name="twitter:title" content="{{title}}">
2727
<meta name="twitter:description" content="{{description}}">
2828
<meta name="twitter:url" content="{{url}}">
29-
<meta name="twitter:image" content="{{url}}modules/core/img/brand/logo.png">
29+
<meta name="twitter:image" content="{{logo}}">
3030

3131
<!-- Fav Icon -->
32-
<link href="{{url}}{{favicon}}" rel="shortcut icon" type="image/x-icon">
32+
<link href="{{favicon}}" rel="shortcut icon" type="image/x-icon">
3333

3434
<!-- Application CSS Files -->
3535
{% for cssFile in cssFiles %}<link rel="stylesheet" href="{{cssFile}}">{% endfor %}
@@ -47,12 +47,12 @@
4747
<script type="text/javascript">
4848
var user = {{ user | json | safe }};
4949
</script>
50-
50+
5151
<!--Load The Socket.io File-->
5252
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
5353

5454
<!--Application JavaScript Files-->
55-
{% for jsFile in jsFiles %}<script type="text/javascript" src="{{jsFile}}"></script>{% endfor %}
55+
{% for jsFile in jsFiles %}<script type="text/javascript" src="{{jsFile}}"></script>{% endfor %}
5656

5757
{% if livereload %}
5858
<!--Livereload script rendered -->

0 commit comments

Comments
 (0)