mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2024-12-26 01:25:57 +00:00
72 lines
3.0 KiB
HTML
72 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link rel="stylesheet" href="src/show.css">
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
|
|
rel="stylesheet">
|
|
|
|
<title>{{ .Title }}</title>
|
|
|
|
<meta property="og:type" content="object">
|
|
<meta property="og:title" content="{{ .Title }}">
|
|
<meta property="og:image" content="{{.Image}}">
|
|
|
|
<meta name="twitter:title" content="{{ .Title }}">
|
|
<meta itemprop="name" content="{{ .Title }}">
|
|
<meta name="application-name" content="{{ .Title }}">
|
|
<meta property="og:site_name" content="{{ .Title }}">
|
|
<meta name="theme-color" content="#ffffff">
|
|
<meta property="og:locale" content="en">
|
|
<meta name="language" content="en">
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:site" content="@Spherical_Kat">
|
|
|
|
<meta name="robots" content="index,follow">
|
|
<meta name="googlebot" content="index,follow">
|
|
<meta name="keywords" content="medium,blog,frontend,alternative,technology,golang,go">
|
|
<meta name="coverage" content="Worldwide">
|
|
<meta name="distribution" content="Global">
|
|
<meta name="HandheldFriendly" content="True">
|
|
<meta name="HandheldFriendly" content="True">
|
|
<meta name="apple-mobile-web-app-title" content="{{ .Title }}">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<meta name="apple-touch-fullscreen" content="yes">
|
|
|
|
<meta name="description" content="{{.Description}}">
|
|
<meta itemprop="description" content={{.Description}}>
|
|
<meta property="og:description" content={{.Description}}>
|
|
<meta name="twitter:description" content={{.Description}}>
|
|
|
|
<meta name="url" content="https://medium.rip/{{.Path}}">
|
|
<meta name="twitter:url" content="https://medium.rip/{{.Path}}">
|
|
<meta property="og:url" content="https://medium.rip/{{.Path}}">
|
|
|
|
<script>
|
|
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
|
|
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
|
document.documentElement.classList.add('dark')
|
|
} else {
|
|
document.documentElement.classList.remove('dark')
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body class="flex flex-col h-full w-full items-center dark:bg-zinc-800">
|
|
<article
|
|
class="prose prose-zinc dark:prose-invert lg:prose-lg sm:prose-sm py-20 px-8 md:px-0 max-w-sm sm:max-w-2xl">
|
|
<h1 class="text-2xl">{{.Title}}</h1>
|
|
<p class="pb-8"><a href="https://medium.com/u/{{.UserId}}">{{.Author}}</a> on {{.PublishDate}}</p>
|
|
{{.Paragraphs}}
|
|
</article>
|
|
</body>
|
|
|
|
</html> |