statik dosyalar ve önizleme kartları 2021 ile uyumlu hale getirildi

yirmi-bir
murat emir cabaroğlu 4 years ago
parent 292a5aef77
commit 6e1a4b181d
  1. 2
      layouts/_default/baseof.html
  2. 12
      layouts/partials/head.html
  3. 4
      layouts/partials/header.html

@ -20,7 +20,7 @@
{{ partial "footer.html" . }}
{{ end }}
<script src="/theme.js?v=13" async></script>
<script src="/2021/theme.js?v=13" async></script>
{{ block "scripts" . }}
<!-- No extra scripts -->
{{ end }}

@ -45,34 +45,34 @@
<meta property="og:type" content="website" />
<meta property="og:url" content="https://ozgurkon.org/2021" />
<meta property="og:description" content="{{ $.Site.Params.description }}" />
<meta property="og:image" content="/images/logos/ozgurkon_only_logo.svg" />
<meta property="og:image" content="https://ozgurkon.org/2021/images/logos/ozgurkon_only_logo.png" />
<meta property="og:site_name" content="ÖzgürKon 2021" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@OzgurKonorg" />
<meta name="twitter:title" content="ÖzgürKon 2021">
<meta name="twitter:description" content="{{ $.Site.Params.description }}">
<meta name="twitter:creator" content="@OzgurKonorg" />
<meta name="twitter:image" content="https://ozgurkon.org/tn.png">
<meta name="twitter:image" content="https://ozgurkon.org/2021/images/logos/ozgurkon_only_logo.png">
{{ else }}
<meta property="og:title" content="{{ .Page.Title }} - {{ .Site.Title }}" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://ozgurkon.org/2021" />
<meta property="og:description" content="{{ .Page.Summary }}" />
<meta property="og:image" content="/images/logos/ozgurkon_only_logo.svg" />
<meta property="og:image" content="https://ozgurkon.org/2021/images/logos/ozgurkon_only_logo.png" />
<meta property="og:site_name" content="ÖzgürKon 2021" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@OzgurKonorg" />
<meta name="twitter:title" content="{{ .Page.Title }} - ÖzgürKon 2021">
<meta name="twitter:title" content="{{ .Page.Title }} - {{ .Site.Title }}">
<meta name="twitter:description" content="{{ .Page.Summary }}">
<meta name="twitter:creator" content="@OzgurKonorg" />
<meta name="twitter:image" content="https://ozgurkon.org/images/logos/ozgurkon_only_logo.svg">
<meta name="twitter:image" content="https://ozgurkon.org/2021/images/logos/ozgurkon_only_logo.png">
{{ end }}
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}"/>
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet">
<link rel="stylesheet" href="/theme-oyd.css" media="all">
<link rel="stylesheet" href="/2021/theme-oyd.css" media="all">
{{ block "headextra" . }}
<!-- No extra headextra -->

@ -22,11 +22,11 @@
{{ if (hasPrefix .URL "http") }}
<a class="external" rel="noreferrer" target="_blank" href="{{ .URL }}" title="{{ .Name }}">{{ .Name }}</a>
{{ else if (isset .Page.Params "icon") }}
<a href="{{ .URL | relLangURL }}" class="link-icon" title="{{ .Name }}">
<a href="{{ .URL | absURL }}" class="link-icon" title="{{ .Name }}">
{{ partial "icon.html" .Page.Params.icon }}
</a>
{{ else }}
<a href="{{ .URL | relLangURL }}">{{ .Name }}</a>
<a href="{{ .URL | absURL }}">{{ .Name }}</a>
{{ end }}
</li>
{{ end }}

Loading…
Cancel
Save