diff options
| author | Jfriedli | 2021-03-21 16:34:55 +0100 |
|---|---|---|
| committer | Jfriedli | 2021-03-21 16:34:55 +0100 |
| commit | ac67c59fe283bf167521d9f088f02ecc2e15c4ce (patch) | |
| tree | e266b11c706a9b10ceafcee8bd2d9ebc60c6305b /templates/base.html | |
| parent | 524e055e8cdea4bab3e2ad19dc5c439e768c253a (diff) | |
added basic open graph metadata
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html index b259fdc..c17fc77 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -9,6 +9,26 @@ | |||
| 9 | {% assets 'css' %} | 9 | {% assets 'css' %} |
| 10 | <link rel="stylesheet" href="{{ ASSET_URL }}"> | 10 | <link rel="stylesheet" href="{{ ASSET_URL }}"> |
| 11 | {% endassets %} | 11 | {% endassets %} |
| 12 | |||
| 13 | <!-- Search Engine --> | ||
| 14 | <meta name="description" content="Keep your data, trash your meta!"> | ||
| 15 | <meta name="image" content="{{ url_for('static', filename='og.png', _external=True) }}"> | ||
| 16 | <!-- Schema.org for Google --> | ||
| 17 | <meta itemprop="name" content="MAT2 Web"> | ||
| 18 | <meta itemprop="description" content="Keep your data, trash your meta!"> | ||
| 19 | <meta itemprop="image" content="{{ url_for('static', filename='og.png', _external=True) }}"> | ||
| 20 | <!-- Twitter --> | ||
| 21 | <meta name="twitter:card" content="summary"> | ||
| 22 | <meta name="twitter:title" content="MAT2 Web"> | ||
| 23 | <meta name="twitter:description" content="Keep your data, trash your meta!"> | ||
| 24 | <meta name="twitter:image:src" content="{{ url_for('static', filename='og.png', _external=True) }}"> | ||
| 25 | <!-- Open Graph general (Facebook, Pinterest & Google+) --> | ||
| 26 | <meta name="og:title" content="MAT2 Web"> | ||
| 27 | <meta name="og:description" content="Keep your data, trash your meta!"> | ||
| 28 | <meta name="og:image" content="{{ url_for('static', filename='og.png', _external=True) }}"> | ||
| 29 | <meta name="og:url" content="{{ url_for('routes.upload_file', _external=True) }}"> | ||
| 30 | <meta name="og:site_name" content="MAT2 Web"> | ||
| 31 | <meta name="og:type" content="website"> | ||
| 12 | </head> | 32 | </head> |
| 13 | 33 | ||
| 14 | <body class="flex flex-col h-screen justify-between"> | 34 | <body class="flex flex-col h-screen justify-between"> |
