blob: c29eabcf5bd7326a5264df9f19341a765e698e68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
<link rel="stylesheet" type="text/css" href="/index.css">
<link rel="icon" type="image/webp" href="/p/pic.webp">
{{ if or .Params.noindex (eq .Kind "404") }}
<meta name="robots" content="noindex, nofollow">
{{ else }}
<meta name="robots" content="index, follow">
{{ end }}
{{ $desc := "Ave, meu nome é Sivaldo Davi e este é meu site na internet." }}
{{ with .Params.descricao }}{{ $desc = . }}{{ end }}
{{ if and (not .Params.descricao) (not .IsHome) }}
{{ with .Summary }}{{ $desc = . | plainify | truncate 160 }}{{ end }}
{{ end }}
<meta name="description" content="{{ $desc }}">
<meta name="author" content="Sivaldo Davi">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}">
<meta property="og:description" content="{{ $desc }}">
<meta property="og:image" content="{{ if .Params.capa }}{{ .Params.capa | absURL }}{{ else }}{{ "/p/pic.webp" | absURL }}{{ end }}">
<meta property="og:url" content="{{ .Permalink }}">
<meta name="twitter:card" content="summary">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
</head>
<body>
|