2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:site_name" content="LMNW Demo" />
|
|
|
|
|
2021-08-04 10:19:09 -07:00
|
|
|
{% if article is defined %}
|
|
|
|
|
|
|
|
<meta property="og:title" content="{{ article.title | replace("\"", """) }}" />
|
2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:type" content="article" />
|
2021-08-04 10:19:09 -07:00
|
|
|
<meta property="og:description" content="{{ article.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" />
|
2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}" />
|
2021-08-04 10:19:09 -07:00
|
|
|
<meta property="og:image" content="{{ SITEURL }}/images/{{ article.summaryimage }}" />
|
2021-12-25 14:41:15 -08:00
|
|
|
|
|
|
|
{% if article.date %}
|
|
|
|
<meta property="article:published_time" content="{{ article.date.isoformat() }}" />
|
|
|
|
{% if article.modified %}
|
|
|
|
<meta property="article:modified_time" content="{{ article.modified.isoformat() }}" />
|
|
|
|
{% else %}
|
|
|
|
<meta property="article:modified_time" content="{{ article.date.isoformat() }}" />
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:title" content="{{ article.title | replace("\"", """) }}" />
|
|
|
|
<meta name="twitter:description" content="{{ article.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" />
|
|
|
|
<meta name="twitter:url" content="{{ SITEURL }}/{{ article.url }}" />
|
|
|
|
<meta name="twitter:label1" content="Written by" />
|
|
|
|
<meta name="twitter:data1" content="Trent Palmer" />
|
|
|
|
<meta name="twitter:site" content="@BoringTrent" />
|
|
|
|
<meta name="twitter:creator" content="@BoringTrent" />
|
|
|
|
<meta name="twitter:image" content="{{ SITEURL }}/images/{{ article.summaryimage }}" />
|
2021-08-04 10:19:09 -07:00
|
|
|
|
|
|
|
{% elif page is defined %}
|
|
|
|
|
|
|
|
<meta property="og:title" content="{{ SITENAME }} - {{ page.title | replace("\"", """) }}" />
|
2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:type" content="website" />
|
2021-08-04 10:19:09 -07:00
|
|
|
<meta property="og:description" content="{{ page.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" />
|
2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:url" content="{{ SITEURL }}/{{ page.url }}" />
|
2021-08-04 10:19:09 -07:00
|
|
|
<meta property="og:image" content="{{ SITEURL }}/images/LMNW+Logo+only.jpg" />
|
2021-12-25 14:41:15 -08:00
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:title" content="{{ SITENAME }} - {{ page.title | replace("\"", """) }}" />
|
|
|
|
<meta name="twitter:description" content="{{ page.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" />
|
|
|
|
<meta name="twitter:url" content="{{ SITEURL }}/{{ page.url }}" />
|
|
|
|
<meta name="twitter:site" content="@BoringTrent" />
|
|
|
|
<meta name="twitter:creator" content="@BoringTrent" />
|
|
|
|
<meta name="twitter:image" content="{{ SITEURL }}/images/LMNW+Logo+only.jpg" />
|
2021-08-04 10:19:09 -07:00
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<meta property="og:title" content="{{ SITENAME }}" />
|
2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:type" content="website" />
|
2021-08-04 10:19:09 -07:00
|
|
|
<meta property="og:description" content="A page on Landscape Materials NW" />
|
2021-12-25 14:41:15 -08:00
|
|
|
<meta property="og:url" content="{{ SITEURL }}/{{ output_file }}" />
|
2021-08-04 10:19:09 -07:00
|
|
|
<meta property="og:image" content="{{ SITEURL }}/images/LMNW+Logo+only.jpg" />
|
2021-12-25 14:41:15 -08:00
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:title" content="{{ SITENAME }}" />
|
|
|
|
<meta name="twitter:description" content="A page on Landscape Materials NW" />
|
|
|
|
<meta name="twitter:url" content="{{ SITEURL }}/{{ output_file }}" />
|
|
|
|
<meta name="twitter:site" content="@BoringTrent" />
|
|
|
|
<meta name="twitter:creator" content="@BoringTrent" />
|
|
|
|
<meta name="twitter:image" content="{{ SITEURL }}/images/LMNW+Logo+only.jpg" />
|
2021-08-04 10:19:09 -07:00
|
|
|
|
|
|
|
{% endif %}
|