lugo/layouts/partials/head.html

27 lines
1.5 KiB
HTML
Raw Normal View History

2024-02-07 23:08:16 +00:00
<head>
<link rel="canonical" href="{{ .Site.BaseURL }}">
2024-07-10 15:12:35 +00:00
<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }} RSS" href='{{ absURL "/index.xml" }}'>
<link rel="stylesheet" type="text/css" media="screen" href='{{ absURL "/style.css" }}'>
<link rel="stylesheet" type="text/css" href='{{ absURL "/lugo.css" }}'>
2025-01-04 07:31:14 +00:00
<link rel="icon" type="image/x-icon" href="/favicon.ico">
2024-07-10 15:12:35 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
2024-02-07 23:08:16 +00:00
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
2024-07-10 15:12:35 +00:00
<meta property="og:title" content="{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}">
<meta property="og:site_name" content="{{ .Site.Title }}">
<meta property="og:description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
<meta property="og:type" content='{{ if .IsHome }}{{ "website" }}{{ else }}{{ "article" }}{{ end }}'>
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
<meta property="og:url" content="{{ .Page.Permalink }}">
<meta property="og:image" content="{{ .Page.Permalink }}qr.png">
2024-02-07 23:08:16 +00:00
{{ if isset .Params "tags" }}
2025-01-04 07:31:14 +00:00
<meta name="keywords" content="{{ with .Params.tags }}{{ delimit . ", " }}{{ end }}">
2024-02-07 23:08:16 +00:00
{{ end -}}
2024-07-10 15:12:35 +00:00
2024-02-07 23:08:16 +00:00
{{ if isset .Params "redirect" }}
<meta http-equiv="refresh" content="2; URL={{ with .Params.redirect }}{{ . }}{{ end }}">
{{ end -}}
2025-01-04 07:31:14 +00:00
</head>