Add twitter card support

Probably, its difficult to test
This commit is contained in:
2021-01-01 21:09:29 +00:00
parent 135d8559ef
commit e84f09a855
2 changed files with 5 additions and 1 deletions

View File

@@ -1,13 +1,16 @@
--- ---
layout: post layout: post
title: "Rage, Rage Against the Dying of the Light" title: "Rage, Rage Against the Dying of the Light"
date: 2021-01-01 date: 2021-01-01 18:00:00
categories: categories:
- philosophy - philosophy
- about me - about me
- on life - on life
aliases: aliases:
- /ig - /ig
description: Aphantasia is no gift. Not for me.
images:
- /img/tony-rojas-lk5MYKmGyFE-unsplash.jpg
--- ---
<div style="max-width: 600px; margin-left: auto; margin-right: auto;"> <div style="max-width: 600px; margin-left: auto; margin-right: auto;">
{{< image url="/img/tony-rojas-lk5MYKmGyFE-unsplash.jpg" caption="*Photo by [Tony Rojas](https://unsplash.com/@tonyrojasstudio?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/blindfold?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText)*" class="full-width" >}} {{< image url="/img/tony-rojas-lk5MYKmGyFE-unsplash.jpg" caption="*Photo by [Tony Rojas](https://unsplash.com/@tonyrojasstudio?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/blindfold?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText)*" class="full-width" >}}

View File

@@ -6,4 +6,5 @@
<meta name="description" content="{{if .IsHome}}{{ $.Site.Title }}{{else}}{{.Description}}{{end}}" /> <meta name="description" content="{{if .IsHome}}{{ $.Site.Title }}{{else}}{{.Description}}{{end}}" />
<link rel="stylesheet" type="text/css" href="/css/screen.css"> <link rel="stylesheet" type="text/css" href="/css/screen.css">
<script defer src="/js/all.min.js"></script> <script defer src="/js/all.min.js"></script>
{{ template "_internal/twitter_cards.html" . }}
</head> </head>