image preview

This commit is contained in:
casual 2024-08-11 04:40:47 +03:00
parent b1822222c7
commit 16d35e2f69
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
+++ +++
title = 'test' title = 'test'
hidden = true hidden = true
image = "https://i.extremetech.com/imagery/content-types/017c7K9UIE7N2VnHK8XqLds/images-5.jpg"
+++ +++

View File

@ -4,6 +4,9 @@
{{ end }} {{ end }}
{{ $machineDateFormat := "2006-01-02" }} {{ $machineDateFormat := "2006-01-02" }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<div class="post-info noselect"> <div class="post-info noselect">
{{ if .Params.date }} {{ if .Params.date }}
<div class="post-date dt-published"> <div class="post-date dt-published">