Özgür Yazılım Derneği web sitesi
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.
oyd-web/layouts/partials/head.html

51 lines
2.7 KiB

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="og:image" content="https://www.tidyverse.org/images/tidyverse-default.png" >
{{ .Hugo.Generator }}
{{ if eq .URL "/" -}}
<title>{{ .Site.Title }}</title>
<meta property="og:title" content="{{ .Site.Title }}">
<meta property="og:type" content="website">
<meta property="description" content="{{ .Site.Params.description }}">
<meta property="og:description" content="{{ .Site.Params.description }}">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://www.tidyverse.org/images/hex-tidyverse.png" >
{{- else -}}
<title>{{ .Title }}{{ with .Params.subtitle }} - {{ . }} {{ end }} - {{ .Site.Title }}</title>
<meta property="og:title" content="{{ .Title }} - {{ .Site.Title }}">
<meta property="og:type" content="article">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://www.tidyverse.org/articles/{{ .Params.slug }}-sq.jpg" >
<meta property="description" content="{{ .Params.description }}">
<meta property="og:description" content="{{ .Params.description }}">
{{- end }}
<!--favicons-->
<link rel="apple-touch-icon" sizes="180x180" href="{{ "images/favicons/apple-touch-icon.png" | relURL }}" />
<link rel="icon" type="image/png" sizes="32x32" href="{{ "images/favicons/favicon-32x32.png" | relURL }}" />
<link rel="icon" type="image/png" sizes="16x16" href="{{ "images/favicons/favicon-16x16.png" | relURL }}" />
<link rel="manifest" href="{{ "images/favicons/site.webmanifest" | relURL }}" />
<link rel="mask-icon" href="{{ "images/favicons/safari-pinned-tab.svg" | relURL }}" />
<link rel="shortcut icon" href="{{ "images/favicons/favicon.ico" | relURL }}" />
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" href="{{ "images/favicons/browserconfig.xml" | relURL }}" >
<!--jquery-->
<script type="text/javascript" src="{{ "js/jquery-1.11.0.min.js" | relURL }}"></script>
<script type="text/javascript" src="{{ "js/site.js" | relURL }}"></script>
{{ if eq .URL "/" -}}
<script type="text/javascript" src="{{ "js/home.js" | relURL }}"></script>
{{- end }}
<link rel="stylesheet" href="{{ "css/tidyverse-site.css" | relURL }}" />
<link rel="stylesheet" href="{{ "css/tweaks.css" | relURL }}" />
<link rel="stylesheet" href="{{ "css/junction.css" | relURL }}" />
<link rel="icon" href="{{ "images/favicon.ico" | relURL }}" />
{{ if hasPrefix .URL "/articles" -}}
<link rel="alternate" type="application/atom+xml" title="Blog" href="/articles/index.xml" />
{{- end }}
<noscript>
<link rel="stylesheet" href="{{ "css/noscript.css" | relURL }}" />
</noscript>