浏览代码

adjust statcounter position

Vien 6 年之前
父节点
当前提交
4179dbf994
共有 1 个文件被更改,包括 7 次插入5 次删除
  1. 7 5
      resources/views/home/layouts/app.blade.php

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

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