Skip to content

Instantly share code, notes, and snippets.

@Efetivos
Last active January 26, 2019 15:08
Show Gist options
  • Select an option

  • Save Efetivos/d03d5f6263efb5d5b71bc768841929b8 to your computer and use it in GitHub Desktop.

Select an option

Save Efetivos/d03d5f6263efb5d5b71bc768841929b8 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta name="theme-color" content="#00000f">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Efetivos Comunicação Visual</title>
<meta name="keywords" content="PALAVRAS CHAVES" />
<meta name="description" content=" DESCRIÇÃO" />
<meta property="og:url" content="http://site.com.br"/>
<meta property="og:title" content="Name | Website"/>
<meta property="og:site_name" content="Name | Website"/>
<meta property="og:description" content="DESCRIÇÃO"/>
<meta property="og:image" content="http://site.com.br/images/cover.png"/>
<meta property="og:type" content="website"/>
<meta property="og:image" itemprop="image" content="http://site.com.br/images/cover.png"/>
</head>
<body>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.2/plugins/ScrollToPlugin.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-77246407-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());
gtag('config', 'UA-77246407-1');
</script>
</html>
@Efetivos
Copy link
Author

Jade + Wordpress

        meta(property='fb:app_id', content=" ")
        meta(property="og:type", content="website")
        meta(property="og:title", content!="<?php the_title();?> | <?php echo get_bloginfo('name');?>")
        meta(property="og:description", content!="<?php echo get_bloginfo('description');?>")
        meta(property="og:image", content!="<?php echo get_the_post_thumbnail_url($post->ID) ?>")
        meta(property="og:url", content!="<?php global $wp; echo $current_url = home_url(add_query_arg(array(),$wp->request)); ?>")
        meta(itemprop="name", content!="<?php the_title();?> | <?php echo get_bloginfo('name');?>")
        meta(itemprop="description", content!="<?php echo get_bloginfo('description');?>")
        meta(itemprop="image", content!="<?php echo get_the_post_thumbnail_url($post->ID) ?>")
        meta(itemprop="url", content!="<?php global $wp; echo $current_url = home_url(add_query_arg(array(),$wp->request)); ?>")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment