Adds meta tags to index.html

This commit is contained in:
Joshua Thayer 2014-06-05 15:16:56 -07:00
parent 0cd457f47f
commit af46ee0bda

View file

@ -3,13 +3,13 @@
<head> <head>
<title>OnionShare</title> <title>OnionShare</title>
<style type="text/css"> <style type="text/css">
body { body {
background-color: #222222; background-color: #222222;
color: #ffffff; color: #ffffff;
text-align: center; text-align: center;
font-family: arial; font-family: arial;
padding: 5em 1em; padding: 5em 1em;
} }
.metadata { .metadata {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -61,6 +61,9 @@
top:1px; top:1px;
} }
</style> </style>
<meta name="onionshare-filename" content="{{ filename }}">
<meta name="onionshare-filesize" content="{{ filesize }}">
<meta name="onionshare-filehash" content="{{ filehash }}">
</head> </head>
<body> <body>
<p><a class="button" href='/{{ slug }}/download'>{{ filename }} &#x25BC;</a></p> <p><a class="button" href='/{{ slug }}/download'>{{ filename }} &#x25BC;</a></p>