diff options
author | Wolfgang Müller | 2019-07-22 17:02:29 +0200 |
---|---|---|
committer | Wolfgang Müller | 2019-07-22 17:08:11 +0200 |
commit | 9589e97b812cf368c583f38998eba001bbb72de0 (patch) | |
tree | 28ca8ec14636ddd0e7fc66f7cba9b0a2f41aadab /templates | |
parent | 2036984ac0c74f98a17019c67e4c3053a1a5849a (diff) | |
download | site-9589e97b812cf368c583f38998eba001bbb72de0.tar.gz |
Add twitter card support
For some reason they don't support SVG, so use a webp image for now.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.xml | 4 | ||||
-rw-r--r-- | templates/post.xml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/index.xml b/templates/index.xml index 620a09b..45e0168 100644 --- a/templates/index.xml +++ b/templates/index.xml @@ -7,6 +7,10 @@ <link rel="icon" href="logo.svg"/> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> + <meta name="twitter:card" content="summary" /> + <meta name="twitter:title" content="oriole.systems" /> + <meta name="twitter:description" content="an oriole's pendent nest" /> + <meta name="twitter:image" content="https://oriole.systems/logo.webp" /> </head> <body class="frontpage"> <nav class="main" data-sblg-nav="true" data-sblg-navcontent="true"> diff --git a/templates/post.xml b/templates/post.xml index bfa39c7..0f1ec5f 100644 --- a/templates/post.xml +++ b/templates/post.xml @@ -7,6 +7,10 @@ <link rel="icon" href="../logo.svg"/> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> + <meta name="twitter:card" content="summary" /> + <meta name="twitter:title" content="${sblg-titletext}" /> + <meta name="twitter:description" content="oriole.systems · an oriole's pendent nest" /> + <meta name="twitter:image" content="https://oriole.systems/logo.webp" /> </head> <body class="post"> <article data-sblg-article="true" data-sblg-permlink="false"></article> |