Updated album.njk

Use album's description on OG tags.
This commit is contained in:
Bobby Wibowo 2018-12-13 16:13:03 +07:00
parent da86f605c6
commit 7d55b43ef2
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -18,14 +18,14 @@
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:title" content="{{ title | safe }} &#8211; {{ count }} files" /> <meta property="og:title" content="{{ title | safe }} &#8211; {{ count }} files" />
<meta property="og:url" content="{{ url }}" /> <meta property="og:url" content="{{ url }}" />
<meta property="og:description" content="A pomf-like file uploading service that doesn't suck." /> <meta property="og:description" content="{{ description | safe }}" />
<meta property="og:image" content="{{ thumb }}" /> <meta property="og:image" content="{{ thumb }}" />
<meta property="og:locale" content="en_US" /> <meta property="og:locale" content="en_US" />
<!-- Twitter Card tags --> <!-- Twitter Card tags -->
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ title | safe }} &#8211; {{ count }} files"> <meta name="twitter:title" content="{{ title | safe }} &#8211; {{ count }} files">
<meta name="twitter:description" content="A pomf-like file uploading service that doesn't suck."> <meta name="twitter:description" content="{{ description | safe }}">
<meta name="twitter:image" content="{{ thumb }}"> <meta name="twitter:image" content="{{ thumb }}">
{% endblock %} {% endblock %}