Browse Source

adjust statcounter position

Vien 6 years ago
parent
commit
4179dbf994
1 changed files with 7 additions and 5 deletions
  1. 7 5
      resources/views/home/layouts/app.blade.php

+ 7 - 5
resources/views/home/layouts/app.blade.php

@@ -44,6 +44,13 @@
 <body>
 <body>
 
 
 @yield('content')
 @yield('content')
+
+@section('counter')
+    @if(env('APP_DEBUG') == false and config('vienblog.counter') == true)
+        @include('counters.counter')
+    @endif
+@show
+
 </body>
 </body>
 @section('js')
 @section('js')
     <!-- Scripts -->
     <!-- Scripts -->
@@ -61,11 +68,6 @@
 @show
 @show
 @section('js_ext')
 @section('js_ext')
 @show
 @show
-@section('counter')
-    @if(env('APP_DEBUG') == false and config('vienblog.counter') == true)
-        @include('counters.counter')
-    @endif
-@show
 @if(env('APP_DEBUG') == false and config('vienblog.baidu.auto_push') == true)
 @if(env('APP_DEBUG') == false and config('vienblog.baidu.auto_push') == true)
     <script>
     <script>
         (function () {
         (function () {