aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
blob: 48eadddf11a9ad1e3d067012b5242122cbddc6e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<head>
    <meta charset="utf-8">
    <link rel="icon" href="/images/favicon.png">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    {{ $styles := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify }}
    <link rel="stylesheet" href="{{ $styles.Permalink }}" type="text/css" media="screen" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    {{ $title := print .Site.Title " | " .Title }}
    {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
    <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
    <title>{{ $title }}</title>
</head>