falkon.sgorava.xyz/layouts/partials/head.html
Juraj Oravec caffb5abb3
Add basic hugo site
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2022-04-28 09:04:21 +02:00

23 lines
765 B
HTML

<head>
<meta charset="utf-8" />
<meta name="author" content="{{ .Site.Author.name }}" />
<meta name="description" content="{{ .Site.Params.meta.description }}" />
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="stylesheet" href="/css/layout.css" />
{{ $style := resources.Get "scss/dark.scss" | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }} - News" href="/index.xml" />
<title>
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ if or (eq $url "/") (eq $url "") }}
{{ .Site.Title }}
{{ else }}
{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} | {{ .Site.Title }} {{ end }}
{{ end }}
0</title>
</head>