Initial Codebase (untested)
This commit is contained in:
32
internal/templates/cache.html
Normal file
32
internal/templates/cache.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>veri</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<style type="text/css">
|
||||
body{max-width:920px;margin:0 auto;padding:2em;font-family:-apple-system,blinkmacsystemfont,"Helvetica Neue","Helvetica","Segoe UI",roboto,oxygen-sans,ubuntu,cantarell,"Helvetica Neue",sans-serif;color:#394b41;}
|
||||
.small{font-size:0.8em;color:grey;}
|
||||
.placeholder{font-style:oblique;}
|
||||
.bold{font-weight:bold;}
|
||||
a{color:blue;}
|
||||
a:hover{color:red;}
|
||||
ol{padding:1em;}
|
||||
li{border-bottom:solid 2px grey;}
|
||||
input{width:100%;font-size:1.5em;}
|
||||
pre{white-space:pre-wrap;}
|
||||
@media (max-width:40em) {
|
||||
body{padding:1em;}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<a href="/"><h1>veri</h1></a>
|
||||
<p class="bold">This is a rudimentary cached copy of <a href="{{ .URL }}">{{ .URL }}</a>, go there to get the latest copy. No ownership of this content is implied.</p>
|
||||
{{ if not . }}<p>No cache</p>{{ end }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
<pre>
|
||||
{{ .Content }}
|
||||
</pre>
|
||||
<p>If your page appears here and you do not want it to, please contact <a href="mailto:~ols/indexing@lists.sr.ht">~ols/indexing@lists.sr.ht</a>. Contact the same email if you want your page considered for indexing. Be aware this is a public mailing list.</p>
|
||||
<p><a href="https://sr.ht/~ols/veri/">about</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user