Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.4.2-alpha Adds new meta tags and more data rich HTML #8

Conversation

caendesilva
Copy link
Member

Adds new config options for metadata tags. Also adds more data-rich HTML properties. Validated using schema.org and Google Rich Results Test.

Upgrade guide:

Make sure to update your config using php hyde publish:config [--force]

The new config section:

/*
|--------------------------------------------------------------------------
| Global Site Meta Tags
|--------------------------------------------------------------------------
|
| While you can add any number of meta tags in the meta.blade.php component,
| this config setting allows you to easily customize some common metadata
| tags so increase your SEO score. You can keep them to their defaults
| or you can set a value to false or null to disable it completely.
|
| Note that some tags may be overwritten on certain pages, for instance post pages.
|
| Tip: See https://www.w3schools.com/tags/att_meta_name.asp
| for a list of tags and what what they are for.
|
*/
'meta' => [
	// 'author' => 'Mr. Hyde',
	// 'description' => 'My Hyde Blog',
	// 'keywords' => 'Static Sites, Blogs, Documentation',
	'generator' => 'HydePHP ' . app('git.version'),
],

@caendesilva caendesilva linked an issue Mar 23, 2022 that may be closed by this pull request
@caendesilva caendesilva merged commit 660810e into master Mar 23, 2022
@caendesilva caendesilva deleted the 7-add-site-description-value-to-config-to-use-in-default-meta-tags branch March 23, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add site description value to config to use in default meta tags
1 participant