FIX: fix template install and other minor bugs
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
|
||||
<title>{{setting('pageName')}}</title>
|
||||
<link href="{{asset_path('visitor/vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
|
||||
<link href="{{asset_path('visitor/vendor/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:200,400&subset=latin-ext" rel="stylesheet">
|
||||
<link href="{{asset_path('visitor/vendor/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet"
|
||||
type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:200,400&subset=latin-ext" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||
<link href="{{asset_path('visitor/css/grayscale.css')}}" rel="stylesheet">
|
||||
|
||||
@@ -19,6 +20,26 @@
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
@if(!empty(setting('googleAnalyticsCode')))
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push (arguments)
|
||||
}, i[r].l = 1 * new Date ();
|
||||
a = s.createElement (o),
|
||||
m = s.getElementsByTagName (o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore (a, m)
|
||||
}) (window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||
|
||||
ga ('create', '{{setting('googleAnalyticsCode')}}', 'auto');
|
||||
ga ('send', 'pageview');
|
||||
|
||||
</script>
|
||||
@endif
|
||||
</head>
|
||||
|
||||
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
|
||||
@@ -45,7 +66,7 @@
|
||||
|
||||
<footer>
|
||||
<div class="container text-center">
|
||||
<p>{{setting('footer')}} © 2016</p>
|
||||
<p>{{setting('footer')}} © {{date('Y')}}</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user