Skip to content

Instantly share code, notes, and snippets.

@ardeay
Last active February 12, 2019 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ardeay/e66c138c28d2b63447bb807e953ab553 to your computer and use it in GitHub Desktop.
Save ardeay/e66c138c28d2b63447bb807e953ab553 to your computer and use it in GitHub Desktop.
Auto-generated headtags in Zesty.io Web Engine
<!-- auto included -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="icon" href="{{site.icon}}"> <!-- this only appears if an icon was uploaded -->
<!-- auto genned from meta field on zesty content item -->
<title>{{meta.title}}</title>
<meta name="description" content="{{meta.description}}" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="canonical" href="{{site.domain}}{{web.full_path}}" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary">
<meta property="og:title" content="{{meta.title}}" />
<meta name="twitter:title" content="{{meta.title}}">
<meta property="og:description" content="{{meta.description}}" />
<meta property="twitter:description" content="{{meta.description}}" />
<meta property="og:url" content="{{site.domain}}{{web.full_path}}" />
<meta property="og:site_name" content="{{globals|clippings.site_name}}" />
<!-- if there is a data field with the string match "image" in the reference name -->
<meta name="twitter:card" content="summary_large_image">
<meta property="og:image" content="{{data.image???.getURL()}}" />
<meta property="twitter:image:src" content="{{data.image???.getURL()}}" />
<meta property="twitter:image:width" content="1200" />
<!-- css and scripts -->
<link type="text/css" href="/site.css?v=???" rel="stylesheet" media="screen" />
<!--[if IE 8]><link rel="stylesheet" type="text/css" href="/ie8.css"><![endif]-->
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/ie7.css"><![endif]-->
<link rel="dns-prefetch" href="" />
<script src="site.js?v=???" type="text/javascript"></script> <!-- only existed if developer option is true to include JS in head -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment