Welcome to mirror list, hosted at ThFree Co, Russian Federation.

head.html « partials « layouts - github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a7bfff91713fda401600b918d4185b40827690ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<head>
    <title>{{ .Title }}</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    {{/* Adds complete override capability */}}
    {{ $overrideTemplate := resources.Get "sass/override.scss" }}
    {{ $override := $overrideTemplate | resources.ExecuteAsTemplate "css/theme.scss" . | toCSS | minify }}
    <link rel="stylesheet" href="{{ $override.RelPermalink }}">

    {{/* Adds custom styles capability */}}
    {{ $customTemplate := resources.Get "sass/custom.scss" }}
    {{ $custom := $customTemplate | resources.ExecuteAsTemplate "css/custom.scss" . | toCSS | minify }}
    <link rel="stylesheet" href="{{ $custom.RelPermalink }}">

    {{ template "_internal/google_analytics.html" . }}
</head>