rebuild with purecss instead of bootstrap

This commit is contained in:
2021-08-06 08:15:43 -07:00
parent ab06644a12
commit 097f07df6e
19 changed files with 404 additions and 145 deletions

View File

@ -0,0 +1,33 @@
{% if article is defined %}
<meta property="og:type" content="article" />
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}" />
<meta property="og:title" content="{{ article.title | replace("\"", "&quot;") }}" />
<meta property="og:description" content="{{ article.content | striptags | replace("\"", "&quot;") | truncate(196, False, '...') }}" />
<meta property="twitter:title" content="{{ article.title | replace("\"", "&quot;") }}" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:description" content="{{ article.content | striptags | replace("\"", "&quot;") | truncate(196, False, '...') }}" />
{% elif page is defined %}
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ SITEURL }}/{{ page.url }}" />
<meta property="og:title" content="{{ SITENAME }} - {{ page.title | replace("\"", "&quot;") }}" />
<meta property="og:description" content="{{ page.content | striptags | replace("\"", "&quot;") | truncate(196, False, '...') }}" />
<meta property="twitter:title" content="{{ SITENAME }} - {{ page.title | replace("\"", "&quot;") }}" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:description" content="{{ page.content | striptags | replace("\"", "&quot;") | truncate(196, False, '...') }}" />
{% else %}
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ SITEURL }}/{{ output_file }}" />
<meta property="og:title" content="{{ SITENAME }}" />
<meta property="og:description" content="A page on Attention Span History" />
<meta property="twitter:title" content="{{ SITENAME }}" />
<meta property="twitter:card" content="summary" />
<meta property="twitter:description" content="A page on Attention Span History" />
{% endif %}
<meta property="og:image" content="{{ SITEURL }}/images/trent.jpg" />