Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
ea9686bf
Unverified
Commit
ea9686bf
authored
Dec 01, 2018
by
jack.wang
Committed by
GitHub
Dec 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update master.blade.php
未定义变量:alternate
parent
8a2e095d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
master.blade.php
Themes/Flatly/views/layouts/master.blade.php
+5
-3
No files found.
Themes/Flatly/views/layouts/master.blade.php
View file @
ea9686bf
...
@@ -7,9 +7,11 @@
...
@@ -7,9 +7,11 @@
@show
@show
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
@section('title')@setting('core::site-name')@show
</title>
<title>
@section('title')@setting('core::site-name')@show
</title>
@foreach($alternate as $alternateLocale=>$alternateSlug)
@if(isset($alternate))
<link
rel=
"alternate"
hreflang=
"{{$alternateLocale}}"
href=
"{{url($alternateLocale.'/'.$alternateSlug)}}"
>
@foreach($alternate as $alternateLocale=>$alternateSlug)
@endforeach
<link
rel=
"alternate"
hreflang=
"{{$alternateLocale}}"
href=
"{{url($alternateLocale.'/'.$alternateSlug)}}"
>
@endforeach
@endif
<link
rel=
"canonical"
href=
"{{url()->current()}}"
/>
<link
rel=
"canonical"
href=
"{{url()->current()}}"
/>
<link
rel=
"shortcut icon"
href=
"{{ Theme::url('favicon.ico') }}"
>
<link
rel=
"shortcut icon"
href=
"{{ Theme::url('favicon.ico') }}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment