Twitter card sorunu çözüldü

pull/5/head
Özcan Oğuz 5 years ago
parent 3f6a654ff8
commit 839bcdc575
Signed by: ooguz
GPG Key ID: 2D33E2BD3D975818
  1. 12
      layouts/_default/baseof.html

@ -11,27 +11,27 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://www.oyd.org.tr" />
<meta property="og:description" content="{{ .Description }}" />
<meta property="og:image" content="/oyd_social.png" />
<meta property="og:image" content="/oyd_social.png?v=2" />
<meta property="og:site_name" content="Özgür Yazılım Derneği" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@oydorgtr" />
<meta name="twitter:title" content="{{ .Page.Title }} - {{ .Site.Title }}">
<meta name="twitter:description" content="{{ .Page.Summary }}">
<meta name="twitter:creator" content="@oydorgtr" />
<meta name="twitter:image" content="/oyd_social.png">
<meta name="twitter:image" content="https://oyd.org.tr/oyd_social.png?4812354">
{{ else }}
<meta property="og:title" content="{{ .Site.Title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.oyd.org.tr" />
<meta property="og:description" content="{{ i18n "desc_summary" }}" />
<meta property="og:image" content="/oyd_social.png" />
<meta property="og:image" content="/oyd_social.png?v=2" />
<meta property="og:site_name" content="Özgür Yazılım Derneği" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@oydorgtr" />
<meta name="twitter:title" content="Özgür Yazılım Derneği">
<meta name="twitter:description" content="{{ i18n "desc_summary" }}">
<meta name="twitter:creator" content="@oydorgtr" />
<meta name="twitter:image" content="/oyd_social.png">
<meta name="twitter:image" content="https://oyd.org.tr/oyd_social.png?48123">
{{ end }}
{{ if eq .URL "/" -}}

Loading…
Cancel
Save