1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-03 23:30:09 +05:30
Files
avinal.github.io/html-only/layouts/_default/baseof.html
T
2023-07-19 15:58:47 +05:30

83 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}" style="font-size: {{ .Site.Params.rootFontSize | default " 100%" }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- author -->
<meta name="author" content="{{ .Site.Author.name }}">
<!-- description -->
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ else if and .IsPage .Summary }}
<meta name="description" content="{{ .Summary }}">
{{ else }}
<meta name="description" content="{{ .Site.Params.description }}">
{{ end }}
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="https://avinal.space/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://avinal.space/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://avinal.space/favicon-16x16.png">
<!-- keywords -->
{{ if .Keywords }}
<meta name="keywords" content="{{ delimit .Keywords " " }} {{ delimit .Params.tags " " }}">
{{ else }}
<meta name="keywords" content="{{ delimit .Site.Params.keywords " ," }}">
{{ end }}
<!-- opengraph -->
{{ template "_internal/opengraph.html" . }}
<meta property="og:image" content="https://avinal.space{{ .Params.image }}" />
<meta itemprop="image" content="https://avinal.space{{ .Params.image }}">
<!-- permalink -->
<link rel="canonical" href="{{ .Permalink }}">
<!-- rss -->
{{ range .AlternativeOutputFormats -}}
{{ printf `
<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<!-- schema -->
{{ template "_internal/schema.html" . }}
<!-- style -->
<!-- <link rel="stylesheet" href="https://unpkg.com/latex.css/style.min.css" /> -->
<link media="screen" rel="stylesheet" href='https://null.avinal.space/css/common.css'>
<link media="screen" rel="stylesheet" href='https://null.avinal.space/css/content.css'>
<!-- title -->
{{ if .IsHome }}
<title>{{ .Site.Title }}</title>
{{ else }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
{{ end }}
{{ block "head" . }}{{ end }}
</head>
<body>
<div id="wrapper">
{{ partial "header.html" . }}
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
</div>
<!-- custom css -->
{{ range .Site.Params.customCSS }}
<link media="screen" rel="stylesheet" href="{{ . | absURL }}" />
{{ end }}
<!-- custom js -->
{{ range .Site.Params.customJS }}
<script src="{{ . | absURL }}"></script>
{{ end }}
</body>
</html>