Jump to content

[SOLVED] Is there a variable for page type?


Recommended Posts

Hey there,

 

I'm looking for a variable to ask for page type like cms pages.

 

I'm currently reviewing or meta tags. Here is what I've done so far:

{if isset($page_name) && $page_name == "index"}
   <meta property="og:type" content="business.business" />
{/if}
        
{if isset($page_name) && $page_name == "product"}
   <meta property="og:type" content="product" />
{/if}

What I'm looking for is to make the meta property og:type "website" available on cms pages.

 

Ideas anybody?

Edited by janthemanson (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...