aboutsummaryrefslogtreecommitdiff
path: root/views/album.handlebars
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-09-20 03:03:31 -0300
committerPitu <[email protected]>2017-09-20 03:03:31 -0300
commit6b72453d4a74af49767dabb1f5f3e27b765b4d2b (patch)
tree55eff707d5927a026c45506572b1df7707de5c3f /views/album.handlebars
parentDelete album.js script since we are SSR now on that route 🎉 (diff)
downloadhost.fuwn.me-6b72453d4a74af49767dabb1f5f3e27b765b4d2b.tar.xz
host.fuwn.me-6b72453d4a74af49767dabb1f5f3e27b765b4d2b.zip
Made the album viewer route SSR so crawlers dont have issues 🎉
Diffstat (limited to 'views/album.handlebars')
-rw-r--r--views/album.handlebars66
1 files changed, 66 insertions, 0 deletions
diff --git a/views/album.handlebars b/views/album.handlebars
new file mode 100644
index 0000000..60fa0e9
--- /dev/null
+++ b/views/album.handlebars
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta name="description" content="A pomf-like file uploading service that doesn't suck.">
+ <meta name="keywords" content="upload,lolisafe,file,images,hosting">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
+ <link rel="apple-touch-icon" sizes="180x180" href="https://lolisafe.moe/images/icons/apple-touch-icon.png?v=XBreOJMe24">
+ <link rel="icon" type="image/png" href="https://lolisafe.moe/images/icons/favicon-32x32.png?v=XBreOJMe24" sizes="32x32">
+ <link rel="icon" type="image/png" href="https://lolisafe.moe/images/icons/favicon-16x16.png?v=XBreOJMe24" sizes="16x16">
+ <link rel="manifest" href="https://lolisafe.moe/images/icons/manifest.json?v=XBreOJMe24">
+ <link rel="mask-icon" href="https://lolisafe.moe/images/icons/safari-pinned-tab.svg?v=XBreOJMe24" color="#5bbad5">
+ <link rel="shortcut icon" href="https://lolisafe.moe/images/icons/favicon.ico?v=XBreOJMe24">
+ <meta name="apple-mobile-web-app-title" content="lolisafe">
+ <meta name="application-name" content="lolisafe">
+ <meta name="msapplication-config" content="https://lolisafe.moe/images/icons/browserconfig.xml?v=XBreOJMe24">
+ <meta name="theme-color" content="#ffffff">
+
+ <meta property="og:url" content="https://lolisafe.moe" />
+ <meta property="og:type" content="website" />
+ <meta property="og:title" content="{{ title }} | {{ count }} files" />
+ <meta property="og:description" content="lolisafe.moe | A small safe worth protecting." />
+ <meta property="og:image" content="http://lolisafe.moe/images/logo_square.png" />
+ <meta property="og:image:secure_url" content="https://lolisafe.moe/images/logo_square.png" />
+
+ <meta name="twitter:card" content="summary">
+ <meta name="twitter:title" content="{{ title }} | {{ count }} files">
+ <meta name="twitter:description" content="lolisafe.moe | A small safe worth protecting.">
+ <meta name="twitter:image" content="https://listen.moe/files/images/logo_square.png">
+ <meta name="twitter:image:src" content="https://lolisafe.moe/images/logo_square.png">
+
+ <title>{{ title }}</title>
+ <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.0/css/bulma.min.css">
+ <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
+ <link rel="stylesheet" type="text/css" href="/css/style.css">
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.3/axios.min.js"></script>
+ <!-- <script type="text/javascript" src="/js/album.js"></script> -->
+ </head>
+
+ <body>
+
+ <section class="hero is-fullheight">
+ <div class="hero-head">
+ <div class="container">
+ <h1 class="title" id='title' style='margin-top: 1.5rem;'>{{ title }}</h1>
+ <h1 class="subtitle" id='count'> {{ count }} files</h1>
+ <hr>
+ </div>
+ </div>
+ <div class="hero-body">
+ <div class="container" id='container'>
+ <div class="columns is-multiline is-mobile" id="table">
+ {{#each files}}
+ <div class="column is-2">
+ <a href="{{this.file}}" target="_blank">{{{this.thumb}}}</a>
+ </div>
+ {{/each}}
+ </div>
+ </div>
+ </div>
+ </section>
+
+ </body>
+</html>