alt-design / Alt-SEO-Addon

Alt Design SEO addon for Statamic
https://alt-design.net
MIT License
8 stars 6 forks source link

chore: update or:url to use alt_seo_meta_url from context #17

Closed muath-ye closed 5 months ago

muath-ye commented 5 months ago

As Basic Metadata example

og:url - The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "https://www.imdb.com/title/tt0117500/".

I added alt_seo_meta_url to the context , so the user can use it as following and if it is empty, it will use the APP_URL as default

id: 76d67bea-e79c-4ad0-adc9-774966702225
blueprint: article
layout: doc
title: 'Exploring MySQL Command to Retrieve All Columns of All Tables with Available Options'
date: 1692921600
author: 'Muath Alsowadi'
gravatar: 19684bc9c928dffa64f9c23efb31ba86
twitter: '@muathye'
alt_seo_meta_description: 'Explore the versatile MySQL command to retrieve comprehensive column information from all tables in your database, with options to sort, filter by data type, and exclude system tables.'
alt_seo_social_description: 'Explore the versatile MySQL command to retrieve comprehensive column information from all tables in your database, with options to sort, filter by data type, and exclude system tables.'
alt_seo_social_image: 'https://muathye.com/articles/2023-08-25/exploring-mysql-command-to-retrieve-all-columns-of-all-tables-with-available-options.webp'
alt_seo_meta_url: 'https://muathye.com/articles/2023-05-22-how-to-create-a-command-line-password-generator-with-nodejs'
benmAltDesign commented 5 months ago

Nice feature, thanks for that. Merged in and will be in the next release.

Cheers, Ben