diff --git a/backend/app/config/freshman.php b/backend/app/config/freshman.php index 95d41d4..ed233d9 100644 --- a/backend/app/config/freshman.php +++ b/backend/app/config/freshman.php @@ -16,5 +16,7 @@ 'initRelevanceNumber' => 0, 'relevanceNumber' => 6, - 'substrLength' => 90 + 'substrLength' => 90, + + 'freshmanTitle' => '广工新生专题网' ); diff --git a/backend/app/views/Front/Content.blade.php b/backend/app/views/Front/Content.blade.php index 5420fcb..b48a8c1 100644 --- a/backend/app/views/Front/Content.blade.php +++ b/backend/app/views/Front/Content.blade.php @@ -1,7 +1,7 @@ @extends('Front.Template.Front') @section('title') - {{ $article['title']}} -- 广工大新生网 + {{ $article['title']}} -- {{ Config::get('freshman.freshmanTitle')}} @stop @section('styles') @parent @@ -15,7 +15,7 @@

-   新生专题网> +   {{ Config::get('freshman.freshmanTitle')}}> {{ $currentCatagory['catagory']}}

diff --git a/backend/app/views/Front/Index.blade.php b/backend/app/views/Front/Index.blade.php index 4144e06..0c71c01 100644 --- a/backend/app/views/Front/Index.blade.php +++ b/backend/app/views/Front/Index.blade.php @@ -1,7 +1,7 @@ @extends ('Front.Template.Front') @section('title') -新生专题网--你的广工指南 +{{ Config::get('freshman.freshmanTitle')}} @stop @section('style') diff --git a/backend/app/views/Front/List.blade.php b/backend/app/views/Front/List.blade.php index e7408a6..3d08b0f 100644 --- a/backend/app/views/Front/List.blade.php +++ b/backend/app/views/Front/List.blade.php @@ -3,7 +3,7 @@ @section('title') @foreach($catagoriesList as $catagory) @if($catagory['id'] == $chooseCatagoryId) - {{ $catagory['catagory']}} -- 广工大新生网 + {{ $catagory['catagory']}} -- {{ Config::get('freshman.freshmanTitle')}} @endif @endforeach @stop @@ -20,7 +20,7 @@ -   新生专题网> +   {{ Config::get('freshman.freshmanTitle') }}> {{ $getCatagory['catagory']}}