Improve opengraph compatibility.

This commit is contained in:
Cameron Redmore 2025-02-15 12:38:58 +00:00
parent 4b685ad01e
commit df5396cff8
7 changed files with 361 additions and 12 deletions

18
assets/view.html Normal file
View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>Viewing {{filename}}</title>
{{ogTags}}
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<h1>Viewing {{filename}}</h1>
<a download="{{filename}}" href="/f/{{joinedPath}}">Download File</a>
<hr />
{{fileContent}}
</body>
</html>