takshak / adash-metas
meta tags extension for adash admin panel
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
README
An extension to takshaktiwari/adash for adding meta tags and content to pages, targeting the url. You can also set tags for whole site (globally) at one place. This is helpful for SEO Managers.
Implementation
Install the package with composer with given command and run the migrations php artisan migrate
composer require takshak/adash-metas
Add component to admin sidebar, inside ul element for getting the links in admin sidebar
<x-ametas-ametas:admin-sidebar-links />
Run the migrations
php artisan migrate
Components
Admin sidebar menu
<x-ametas-ametas:admin-sidebar-links />: Use this component to show the menu item in admin sidebar
Displaying meta tags on website
<x-ametas-ametas:metatags />: Add this component in the head tag of your website to display meta tags there. You can pass url
argument to tell the component about some specific url otherwise it will capture the current url. You can also pass array to tags in tags
argument to tell the component some custom meta tags, like: :tags="['title' => 'Some page title', 'keywords' => 'and so on']"