blog/themes/chosto/layouts/partials/head.html

17 lines
679 B
HTML
Raw Normal View History

2021-05-18 16:22:28 +02:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ $styleBulma := resources.Get "css/bulma.min.css" }}
{{ $styleCustom := resources.Get "css/custom.css" }}
<link rel="stylesheet" href="{{ $styleBulma.Permalink }}">
<link rel="stylesheet" href="{{ $styleCustom.Permalink }}">
2021-05-25 02:39:24 +02:00
<!-- tbh I am too lazy to extend Bulma, so put dirty CSS directives here to be able to use Hugo templating system -->
<style>
{{ $bg := resources.Get "img/hero_home.png" }}
.has-bg-img { background: url('{{ $bg.Permalink }}')center center; background-size:cover; }
</style>
2021-05-18 16:22:28 +02:00
<title>
{{ .Site.Title }}
</title>
</head>