You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
ozgurkon-theme-hugo/layouts/partials/head.html

80 lines
3.8 KiB

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="Description" content="{{ .Site.Params.description }}">
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{/* NOTE: These Hugo Internal Templates can be found starting at
https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ hugo.Generator }}
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
<title>{{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }}</title>
{{ if .Site.Params.appleTouchIcon }}
<link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.Params.appleTouchIcon }}?v=2">
{{ end }}
{{ if .Site.Params.favicon32 }}
<link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.Params.favicon32 }}?v=2">
{{ end }}
{{ if .Site.Params.favicon16 }}
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.Params.favicon16 }}?v=2">
{{ end }}
{{ if .Site.Params.manifest }}
<link rel="manifest" href="{{ .Site.Params.manifest }}">
{{ end }}
{{ if .Site.Params.themeColor }}
<meta name="theme-color" content="{{ .Site.Params.themeColor }}"/>
<meta name="msapplication-TileColor" content="#{{ .Site.Params.themeColor }}?">
{{ if .Site.Params.safariPinnedTab }}
<link rel="mask-icon" href="{{ .Site.Params.safariPinnedTab }}" color="{{ .Site.Params.themeColor }}">
{{ end }}
{{ end }}
{{ if .IsHome }}
<meta property="og:title" content="{{ .Site.Title }}" />
<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: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">
{{ 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: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:description" content="{{ .Page.Summary }}">
<meta name="twitter:creator" content="@OzgurKonorg" />
<meta name="twitter:image" content="https://ozgurkon.org/images/logos/ozgurkon_only_logo.svg">
{{ 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">
{{ block "headextra" . }}
<!-- No extra headextra -->
{{ end }}
</head>