Merge branch 'master' into 'master'

fix(home): Change to use RelPermalink

See merge request mertbakir/resume-a4!3
This commit is contained in:
MERT BAKIR 2022-02-13 16:26:04 +00:00 committed by MERT BAKIR
commit ed8e2c9aa4

View file

@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{ $style := resources.Get "css/main.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" />
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
<link href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap" rel="stylesheet">
{{ if .Site.Params.useFontAwesome }}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==" crossorigin="anonymous" />
@ -13,7 +13,7 @@
{{ range .Site.Params.css }}
{{ $style := resources.Get (printf "css/%s" .) }}
{{ if $style }}
<link rel="stylesheet" href="{{ ($style | toCSS | minify | fingerprint).Permalink }}" />
<link rel="stylesheet" href="{{ ($style | toCSS | minify | fingerprint).RelPermalink }}" />
{{ end }}
{{ end }}
<title itemprop="name">{{ .Site.Title }}</title>