Skip to content

Commit 6f807ff

Browse files
committed
edited meta tags
1 parent bffe02a commit 6f807ff

7 files changed

Lines changed: 60 additions & 61 deletions

File tree

src/templates/layouts/countdown.hbs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>{{ title }}</title>
6-
<meta name="msapplication-TileColor" content="#5bc0de"/>
7-
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>
4+
{{> meta}}
85

96
<!-- Bootstrap -->
107
{{#if rtl}}
@@ -27,7 +24,7 @@
2724
<style>body{direction: rtl;}</style>
2825
{{/if}}
2926

30-
27+
3128
</head>
3229
<body class="bg-dark lter">
3330
{% body %}

src/templates/layouts/default.hbs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22
<html>
33

44
<head>
5-
<meta charset="UTF-8">
6-
<!--IE Compatibility modes-->
7-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8-
<!--Mobile first-->
9-
<meta name="viewport" content="width=device-width, initial-scale=1">
10-
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
11-
<title>{{title}}</title>
12-
13-
<meta name="description" content="{{pkg.description}}">
5+
{{> meta}}
146

157
<!-- Bootstrap -->
168
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/css/bootstrap{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">

src/templates/layouts/errors.hbs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>{{ title }}</title>
6-
<meta name="msapplication-TileColor" content="#5bc0de"/>
7-
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>
4+
{{> meta}}
5+
86
<!-- Bootstrap -->
97
{{#if rtl}}
108
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">

src/templates/layouts/fixed.hbs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
<!doctype html>
22
<html class="no-js">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>{{title}}</title>
6-
<!--IE Compatibility modes-->
7-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8-
<!--Mobile first-->
9-
<meta name="viewport" content="width=device-width, initial-scale=1">
4+
{{> meta}}
5+
106
<!-- Bootstrap -->
117
{{#if rtl}}
128
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">

src/templates/layouts/login.hbs

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,57 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<title>{{ title }}</title>
6-
<meta name="msapplication-TileColor" content="#5bc0de"/>
7-
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>
83

4+
<head>
5+
{{> meta}}
96

10-
<!-- Bootstrap -->
11-
{{#if rtl}}
7+
<!-- Bootstrap -->
8+
{{#if rtl}}
129
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">
13-
{{else}}
10+
{{else}}
1411
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
15-
{{/if}}
16-
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.min.css">
12+
{{/if}}
13+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.min.css">
1714
<!-- Metis core stylesheet -->
1815
{{#if rtl}}
19-
<link rel="stylesheet" href="{{assets}}/css/main.rtl.css">
16+
<link rel="stylesheet" href="{{assets}}/css/main.rtl.css">
2017
{{else}}
21-
<link rel="stylesheet" href="{{assets}}/css/main.min.css">
18+
<link rel="stylesheet" href="{{assets}}/css/main.min.css">
2219
{{/if}}
2320
{{#if rtl}}
24-
<style>body{direction: rtl;}</style>
21+
<style>
22+
body {
23+
direction: rtl;
24+
}
25+
</style>
2526
{{/if}}
2627

27-
</head>
28-
<body class="login">
28+
</head>
2929

30-
{% body %}
30+
<body class="login">
3131

32+
{% body %}
3233

33-
<!--jQuery -->
34-
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
35-
<!--Bootstrap -->
36-
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>
3734

38-
<script type="text/javascript">
39-
(function($) {
40-
$(document).ready(function() {
41-
$('.list-inline li > a').click(function() {
42-
var activeForm = $(this).attr('href') + ' > form';
43-
//console.log(activeForm);
44-
$(activeForm).addClass('animated fadeIn');
45-
//set timer to 1 seconds, after that, unload the animate animation
46-
setTimeout(function() {
47-
$(activeForm).removeClass('animated fadeIn');
48-
}, 1000);
35+
<!--jQuery -->
36+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
37+
<!--Bootstrap -->
38+
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>
39+
40+
<script type="text/javascript">
41+
(function($) {
42+
$(document).ready(function() {
43+
$('.list-inline li > a').click(function() {
44+
var activeForm = $(this).attr('href') + ' > form';
45+
//console.log(activeForm);
46+
$(activeForm).addClass('animated fadeIn');
47+
//set timer to 1 seconds, after that, unload the animate animation
48+
setTimeout(function() {
49+
$(activeForm).removeClass('animated fadeIn');
50+
}, 1000);
51+
});
4952
});
50-
});
51-
})(jQuery);
52-
</script>
53-
</body>
53+
})(jQuery);
54+
</script>
55+
</body>
56+
5457
</html>

src/templates/layouts/post.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<title>{{ title }}</title>
4+
{{> meta}}
5+
66
<link rel="stylesheet" href="{{assets}}/bootstrap.css">
77
</head>
88
<body>

src/templates/partials/meta.hbs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<meta charset="UTF-8">
2+
<!--IE Compatibility modes-->
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<!--Mobile first-->
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
7+
<title>{{title}}</title>
8+
9+
<meta name="description" content="{{pkg.description}}">
10+
<meta name="author" content="{{pkg.author.name}}">
11+
12+
<meta name="msapplication-TileColor" content="#5bc0de"/>
13+
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>

0 commit comments

Comments
 (0)