Skip to content

Instantly share code, notes, and snippets.

@inetbiz
Last active October 1, 2021 14:07
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 inetbiz/874647a035d9dc241db0d638b73ef5f7 to your computer and use it in GitHub Desktop.
Save inetbiz/874647a035d9dc241db0d638b73ef5f7 to your computer and use it in GitHub Desktop.
Jekyll Head File
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="index,follow">
<meta name="msapplication-tap-highlight" content="no">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{{page.excerpt}}"/>
{% include favicon.html %}
{% capture critical %}
{% include critical.scss %}
{% endcapture %}
<style>{{ critical | scssify }}</style>
<link
rel="stylesheet"
href="{{ '/assets/css/main.css' | relative_url }}"
media="nope!"
onload="this.media='all'"
/>
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html',''}}" />
<link rel="preconnect" href="https://syndication.twitter.com" />
{% assign author = site.data.members[page.author] %}
<meta name="author" content="{{ site.title }}" />
<link rel="author" href="/humans.txt" />
<!-- indieweb begin -->
<link rel="alternate" type="application/atom+xml" class="h-feed" title="RSS Feed for DenverProphit.us" href="/feed.xml" />
{% assign items = site.socialmedia.facebook %}
{% assign items1 = site.socialmedia.twitter %}
{% assign items2 = site.socialmedia.github %}
<link href="https://facebook.com/{{items.name}}" rel="me">
<meta property="fb:pages" content="{{items.page_id}}">
<meta property="fb:app_id" content={{items.fbappid }}>
<link href="https://twitter.com/{{items1.name}}" rel="me">
<link href="https://github.com/{{items2.name}}" rel="me">
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
<link rel="webmention" href="https://webmention.io/denverprophit.us/webmention" />
<link rel="pingback" href="https://webmention.io/denverprophit.us/xmlrpc" />
<link rel="micropub" href="/micropub/index.php">
<!-- indieweb end -->
<!-- Website specific OG data -->
{% include ogp.html %}
{% include gtag.html %}
{% include fb-pixel.html %}
<script type="application/ld+json">
{% case page.jsontype %}
{% when 'howto' %}
{% include howtoJSONLD.html %}
{% when 'page' %}
{% include pageJSONLD.html %}
{% when 'post' %}
{% include articleJSONLD.html %}
{% when 'review-post' %}
{% include review-postJSON.html %}
{% when 'about' %}
{% include aboutJSONLD.html %}
{% when 'contact' %}
{% include contactJSONLD.html %}
{% when 'collection' %}
{% include collectionJSONLD.html %}
{% when 'faq' %}
{% include faqJSONLD.html %}
{% when 'product' %}
{% include prodJSONLD.html %}
{% when 'tcollection' %}
{% include tcollectionJSONLD.html %}
{% else %}
{% include homeJSONLD.html %}
{% endcase %}
</script>
<script async src="/assets/js/serviceWorker.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment