Skip to content

Commit c151482

Browse files
committed
[FIX] - Docs.
1 parent 9a47636 commit c151482

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ this plugin provides the tools you need for a competitive edge in the digital la
2727
- [x] **[sArticles](https://github.com/Seiger/sArticles)** Publications.
2828
- [x] **[sMultisite](https://github.com/Seiger/sMultisite)** robots.txt and sitemap.xml.
2929
- [x] Custom SEO Title, Description and Keywords.
30-
- [x] SEO Meta Templates Title, Description and Keywords.
30+
- [x] SEO Meta Templates Title, Description and Keywords (pro).
3131
- [x] Canonical URL Implementation.
3232
- [x] Automatic META Tags Generation.
3333
- [x] XML Sitemap Generation.

docs/pages/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ this plugin provides the tools you need for a competitive edge in the digital la
3434
- [x] **[sArticles](https://github.com/Seiger/sArticles)** Publications.
3535
- [x] **[sMultisite](https://github.com/Seiger/sMultisite)** robots.txt and sitemap.xml.
3636
- [x] Custom SEO Title, Description and Keywords.
37-
- [x] SEO Meta Templates Title, Description and Keywords.
37+
- [x] SEO Meta Templates Title, Description and Keywords (pro).
3838
- [x] Canonical URL Implementation.
3939
- [x] Automatic META Tags Generation.
4040
- [x] XML Sitemap Generation.

plugins/sSeoPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
'sseo',
167167
'tools',
168168
'<i class="'.__('sSeo::global.icon').'"></i><span class="menu-item-text">'.__('sSeo::global.title').'</span>',
169-
config('seiger.settings.sSeo.redirects_enabled', 0) == 1 ? sSeo::route('sSeo.redirects') : sSeo::route('sSeo.templates'),
169+
config('seiger.settings.sSeo.redirects_enabled', 0) == 1 ? sSeo::route('sSeo.redirects') : sSeo::route('sSeo.configure'),
170170
__('sSeo::global.title'),
171171
"",
172172
"",

views/index.blade.php

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,22 @@
2121
</div>
2222
</div>
2323
@endif
24-
<div class="tab-page templatesTab" id="templatesTab">
25-
<h2 class="tab">
26-
<a href="{{sSeo::route('sSeo.templates')}}">
27-
<span><i class="@lang('sSeo::global.templates_icon')" data-tooltip="@lang('sSeo::global.templates_help')"></i> @lang('sSeo::global.templates')</span>
28-
</a>
29-
</h2>
30-
<script>tpResources.addTabPage(document.getElementById('templatesTab'));</script>
31-
<div class="container container-body">
32-
@if($name == 'templates')
33-
@include('sSeo::templatesTab')
34-
<script>tpResources.setSelectedTab('templatesTab');</script>
35-
@endif
24+
@if(evo()->getConfig('sseo_pro', false))
25+
<div class="tab-page templatesTab" id="templatesTab">
26+
<h2 class="tab">
27+
<a href="{{sSeo::route('sSeo.templates')}}">
28+
<span><i class="@lang('sSeo::global.templates_icon')" data-tooltip="@lang('sSeo::global.templates_help')"></i> @lang('sSeo::global.templates')</span>
29+
</a>
30+
</h2>
31+
<script>tpResources.addTabPage(document.getElementById('templatesTab'));</script>
32+
<div class="container container-body">
33+
@if($name == 'templates')
34+
@include('sSeo::templatesTab')
35+
<script>tpResources.setSelectedTab('templatesTab');</script>
36+
@endif
37+
</div>
3638
</div>
37-
</div>
39+
@endif
3840
<div class="tab-page robotsTab" id="robotsTab">
3941
<h2 class="tab">
4042
<a href="{{sSeo::route('sSeo.robots')}}">

0 commit comments

Comments
 (0)