All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m34s
24 lines
888 B
TypeScript
24 lines
888 B
TypeScript
import { Metadata } from "next";
|
|
|
|
// Post content
|
|
export const title = "dnsimg - storing images in txt records";
|
|
export const description = "I was intrigued by the idea of storing images in DNS records, and I wanted to test out how effectively images could be stored in DNS records. I've always been interested in TXT records because they seem to be a useful way of storing arbitrary data, and in this blog post I'll discuss how I went from an idea to developing the project into almost a protocol sort of method for storing an image on a domain name.";
|
|
|
|
// Next.js metadata
|
|
export const generateMetadata = (): Metadata => {
|
|
return {
|
|
title: title,
|
|
description: description,
|
|
openGraph: {
|
|
title: title,
|
|
description: description,
|
|
type: 'article',
|
|
},
|
|
twitter: {
|
|
card: 'summary',
|
|
title: title,
|
|
description: description,
|
|
},
|
|
};
|
|
};
|