Skip to content

Commit

Permalink
edited meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
onokumus committed Jul 30, 2016
1 parent bffe02a commit 6f807ff
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 61 deletions.
7 changes: 2 additions & 5 deletions src/templates/layouts/countdown.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
<meta name="msapplication-TileColor" content="#5bc0de"/>
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>
{{> meta}}

<!-- Bootstrap -->
{{#if rtl}}
Expand All @@ -27,7 +24,7 @@
<style>body{direction: rtl;}</style>
{{/if}}


</head>
<body class="bg-dark lter">
{% body %}
Expand Down
10 changes: 1 addition & 9 deletions src/templates/layouts/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,7 @@
<html>

<head>
<meta charset="UTF-8">
<!--IE Compatibility modes-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--Mobile first-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>{{title}}</title>

<meta name="description" content="{{pkg.description}}">
{{> meta}}

<!-- Bootstrap -->
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/css/bootstrap{{#if rtl}}.rtl{{/if}}{{#if production}}.min{{/if}}.css">
Expand Down
6 changes: 2 additions & 4 deletions src/templates/layouts/errors.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
<meta name="msapplication-TileColor" content="#5bc0de"/>
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>
{{> meta}}

<!-- Bootstrap -->
{{#if rtl}}
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">
Expand Down
8 changes: 2 additions & 6 deletions src/templates/layouts/fixed.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
<!doctype html>
<html class="no-js">
<head>
<meta charset="UTF-8">
<title>{{title}}</title>
<!--IE Compatibility modes-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--Mobile first-->
<meta name="viewport" content="width=device-width, initial-scale=1">
{{> meta}}

<!-- Bootstrap -->
{{#if rtl}}
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">
Expand Down
73 changes: 38 additions & 35 deletions src/templates/layouts/login.hbs
Original file line number Diff line number Diff line change
@@ -1,54 +1,57 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
<meta name="msapplication-TileColor" content="#5bc0de"/>
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>

<head>
{{> meta}}

<!-- Bootstrap -->
{{#if rtl}}
<!-- Bootstrap -->
{{#if rtl}}
<link rel="stylesheet" href="{{assets}}/lib/bootstrap/dist/css/bootstrap.rtl.css">
{{else}}
{{else}}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
{{/if}}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.min.css">
{{/if}}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.min.css">
<!-- Metis core stylesheet -->
{{#if rtl}}
<link rel="stylesheet" href="{{assets}}/css/main.rtl.css">
<link rel="stylesheet" href="{{assets}}/css/main.rtl.css">
{{else}}
<link rel="stylesheet" href="{{assets}}/css/main.min.css">
<link rel="stylesheet" href="{{assets}}/css/main.min.css">
{{/if}}
{{#if rtl}}
<style>body{direction: rtl;}</style>
<style>
body {
direction: rtl;
}
</style>
{{/if}}

</head>
<body class="login">
</head>

{% body %}
<body class="login">

{% body %}

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

<script type="text/javascript">
(function($) {
$(document).ready(function() {
$('.list-inline li > a').click(function() {
var activeForm = $(this).attr('href') + ' > form';
//console.log(activeForm);
$(activeForm).addClass('animated fadeIn');
//set timer to 1 seconds, after that, unload the animate animation
setTimeout(function() {
$(activeForm).removeClass('animated fadeIn');
}, 1000);
<!--jQuery -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<!--Bootstrap -->
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>

<script type="text/javascript">
(function($) {
$(document).ready(function() {
$('.list-inline li > a').click(function() {
var activeForm = $(this).attr('href') + ' > form';
//console.log(activeForm);
$(activeForm).addClass('animated fadeIn');
//set timer to 1 seconds, after that, unload the animate animation
setTimeout(function() {
$(activeForm).removeClass('animated fadeIn');
}, 1000);
});
});
});
})(jQuery);
</script>
</body>
})(jQuery);
</script>
</body>

</html>
4 changes: 2 additions & 2 deletions src/templates/layouts/post.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ title }}</title>
{{> meta}}

<link rel="stylesheet" href="{{assets}}/bootstrap.css">
</head>
<body>
Expand Down
13 changes: 13 additions & 0 deletions src/templates/partials/meta.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<meta charset="UTF-8">
<!--IE Compatibility modes-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--Mobile first-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>{{title}}</title>

<meta name="description" content="{{pkg.description}}">
<meta name="author" content="{{pkg.author.name}}">

<meta name="msapplication-TileColor" content="#5bc0de"/>
<meta name="msapplication-TileImage" content="{{assets}}/img/metis-tile.png"/>

0 comments on commit 6f807ff

Please sign in to comment.