update meta tags based upon post

graphs-n-shit
lza_menace 4 years ago
parent 757deeaaea
commit ac05271c34

@ -21,20 +21,31 @@
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
<meta property="fb:app_id" content="0" />
{% if post %}
<meta property="og:url" content="{{ url_for('post.read', id=post.id, _external=True) }}" />
<meta property="og:image" content="{{ url_for('post.uploaded_file', filename=post.image_name, _external=True) }}" />
<meta property="og:description" content="{{ post.text }}" />
<meta property="og:title" content="SuchWow #{{ post.id }} - {{ post.title }}" />
<meta name="twitter:title" content="SuchWow #{{ post.id }} - {{ post.title }}" />
<meta name="twitter:description" content="{{ post.text }}" />
<meta name="twitter:image" content="{{ url_for('post.uploaded_file', filename=post.image_name, _external=True) }}" />
<meta name="twitter:card" content="summary_large_image" />
{% else %}
<meta property="og:url" content="https://suchwow.xyz/" />
<meta property="og:image" content="https://funding.wownero.com/static/wowdoge-a.jpg" />
<meta property="og:description" content="SuchWow! Memes n shit!" />
<meta property="og:url" content="https://suchwow.xyz/" />
<meta property="og:title" content="SuchWow!" />
<meta property="og:type" content="website" />
<meta name="twitter:title" content="SuchWow!" />
<meta name="twitter:description" content="SuchWow! Memes n shit!" />
<meta name="twitter:image" content="https://funding.wownero.com/static/wowdoge-a.jpg" />
<meta name="twitter:card" content="summary_large_image" />
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#ffffff">
<meta name="apple-mobile-web-app-title" content="SuchWow!">
<meta name="application-name" content="SuchWow!">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="keywords" content="wownero, memes, monero, xmr, bitmonero, cryptocurrency, crypto money, mining crypto currencies, virtual currency">
<meta name="keywords" content="wownero, wow, memes, monero, xmr, cryptocurrency">
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/css/bootstrap-grid.min.css" rel="stylesheet">

Loading…
Cancel
Save