35 lines
1.4 KiB
HTML
35 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<meta property="og:title" content="{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}"/>
|
|
{{ if .IsPage }}
|
|
<meta property="og:description" content="{{ if .IsPage }}{{ .Description }}{{end}}" />
|
|
{{ end }}
|
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}"/>
|
|
<meta property="og:url" content="{{ .Permalink }}"/>
|
|
<meta property="og:image" content="{{ .Site.BaseURL }}images/vikunja.png"/>
|
|
{{ .Hugo.Generator }}
|
|
|
|
<title>{{ if and (not .IsHome) .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
|
|
|
{{ $siteBaseURL := .Site.BaseURL }}
|
|
{{ $styleFolder := "./themes/vikunja/static/styles" }}
|
|
{{ range readDir $styleFolder }}
|
|
<link rel="stylesheet" href="{{ $siteBaseURL }}styles/{{ .Name }}">
|
|
{{ end }}
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">
|
|
<link rel="icon" type="image/x-icon" href="{{ .Site.BaseURL }}favicon.ico">
|
|
</head>
|
|
<body>
|