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

baseof.html « _default « layouts - github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a60e1ffeeaa407a385bd1eba43dae424fb99f04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html lang="{{ $.Site.Language.Lang }}">
<head>
	<meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  
  <title>{{ if .Title }} {{ .Title }} | {{ end }}{{ $.Site.Title }}</title>

  {{ $themeScss := "scss/main.scss" }}
  {{ $options := (dict "targetPath" "css/main.css" "outputStyle" "compressed") }}
  {{ $themeCss := resources.Get $themeScss | resources.ExecuteAsTemplate $themeScss . | toCSS $options }}
  <link rel="stylesheet" href="{{ $themeCss.RelPermalink }}">

  <link rel="stylesheet" href="/syntax.css" rel="stylesheet" />

  {{ block "header_scripts" . }}
  <!-- Optional header scripts -->
  {{ end }}

  {{ block "header_styles" . }}
  <!-- Optional header styles -->
  {{ end }}
</head>

<body class="{{ if not .Site.Params.disable_image_filters }}image-filters-enabled{{ end }} archive">
  <div id="page" class="site">
    <a class="skip-link screen-reader-text" href="#content">Skip to content</a>

    <header id="masthead" class="site-header {{ if .Params.image }}featured-image{{ end }}">
      <div class="site-branding-container">
        {{ partial "header/site-branding" . }}
      </div><!-- .layout-wrap -->

      {{ block "entry_header" . }}
        <!-- For single posts and pages, special treatment if there's a featured image -->
      {{ end }}
    </header><!-- #masthead -->

    <div id="content" class="site-content">
      <section id="primary" class="content-area">
        <main id="main" class="site-main">
          {{ block "main" . }}{{ end }}
        </main>
      </section>
    </div>

    {{ partial "footer" . }}
    
  </div>

  {{ block "footer_scripts" . }}
  <!-- Optional footer scripts. -->
  {{ end }}
  {{ partial "google-analytics-async.html" . }}
</body>
</html>