aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-09-20 03:05:25 -0300
committerPitu <[email protected]>2017-09-20 03:05:25 -0300
commit338e827f1355b5ba76e852e64a0a25f3f842597d (patch)
treee78c46ed4a21e3c4e81cb37df5a77f3b36620b47 /views
parentMade the album viewer route SSR so crawlers dont have issues 🎉 (diff)
downloadhost.fuwn.me-338e827f1355b5ba76e852e64a0a25f3f842597d.tar.xz
host.fuwn.me-338e827f1355b5ba76e852e64a0a25f3f842597d.zip
Added thumbnail to meta tags
Diffstat (limited to 'views')
-rw-r--r--views/album.handlebars10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/album.handlebars b/views/album.handlebars
index 60fa0e9..5f67b0b 100644
--- a/views/album.handlebars
+++ b/views/album.handlebars
@@ -21,14 +21,14 @@
<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 property="og:image" content="{{ thumb }}" />
+ <meta property="og:image:secure_url" content="{{ thumb }}" />
<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">
+ <meta name="twitter:image" content="{{ thumb }}">
+ <meta name="twitter:image:src" content="{{ thumb }}">
<title>{{ title }}</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.0/css/bulma.min.css">
@@ -54,7 +54,7 @@
<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>
+ <a href="{{ this.file }}" target="_blank">{{{ this.thumb }}}</a>
</div>
{{/each}}
</div>