Skip to content

Commit

Permalink
fix: Add meta tags to offer a preview when shared in chat platforms
Browse files Browse the repository at this point in the history
* add meta tags for previews
* add translation tags
  • Loading branch information
t-var-s authored Oct 8, 2023
1 parent 39310f7 commit cdb34d5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion website/app-templates/smarty/head.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>GeoKrety: {block name=title}{/block}</title>
<meta name="description" content="" />
<meta name="title" content="GeoKrety"/>
<meta name="description" content="{t}Open source item tracking for all geocaching platforms{/t}"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://geokrety.org/"/>
<meta property="og:title" content="GeoKrety"/>
<meta property="og:description" content="{t}Open source item tracking for all geocaching platforms{/t}"/>
<meta property="twitter:url" content="https://geokrety.org/"/>
<meta property="twitter:title" content="GeoKrety"/>
<meta property="twitter:description" content="{t}Open source item tracking for all geocaching platforms{/t}"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
{\Assets::instance()->addCss(GK_CDN_BOOTSTRAP_CSS) && ''}
{\Assets::instance()->addCss(GK_CDN_FONT_AWESOME_CSS) && ''}
Expand Down

0 comments on commit cdb34d5

Please sign in to comment.