96 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			96 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!doctype html>
 | 
						|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
 | 
						|
  <head>
 | 
						|
    <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }}</title>
 | 
						|
    <meta charset="utf-8" />
 | 
						|
    {{ hugo.Generator }}
 | 
						|
    <meta name="viewport" content="width=device-width, initial-scale=1" />
 | 
						|
    <meta name="author" content="{{ .Site.Params.author | default "John Doe" }}" />
 | 
						|
    <meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}" />
 | 
						|
    <meta name="fediverse:creator" content="@phundrak@mastodon.phundrak.com" />
 | 
						|
    {{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint -}}
 | 
						|
    <link rel="stylesheet" href="{{ $style.Permalink }}" />
 | 
						|
 | 
						|
    {{ template "_internal/google_analytics.html" . }}
 | 
						|
    {{ template "_internal/twitter_cards.html" . }}
 | 
						|
    {{ template "_internal/opengraph.html" . }}
 | 
						|
 | 
						|
    <style>
 | 
						|
    .commento-root .commento-anonymous-checkbox-container input[type="checkbox"] + label,
 | 
						|
    .commento-root .commento-mod-tools button,
 | 
						|
    .commento-root-font * {
 | 
						|
      color: #eceff4 !important;
 | 
						|
    }
 | 
						|
    .commento-root .commento-footer .commento-logo-container .commento-logo-text {
 | 
						|
      color: #34495e !important;
 | 
						|
    }
 | 
						|
    .commento-root .commento-dark-card {
 | 
						|
      background-color: #d08770 !important;
 | 
						|
    }
 | 
						|
    .commento-root input[type="text"], .commento-root textarea {
 | 
						|
      color: #2e3440 !important;
 | 
						|
    }
 | 
						|
    .commento-root .commento-mod-tools::before {
 | 
						|
      color: #b48ead !important;
 | 
						|
    }
 | 
						|
    .commento-root .commento-submit-button {
 | 
						|
      background: #5e81ac !important;
 | 
						|
    }
 | 
						|
 | 
						|
    .commento-login-box {
 | 
						|
      background: #3b4252;
 | 
						|
    }
 | 
						|
 | 
						|
    .commento-input::placeholder {
 | 
						|
      color:#d8dee9;
 | 
						|
    }
 | 
						|
 | 
						|
    .commento-root .commento-login-box-container .commento-login-box .commento-email-container .commento-email .commento-email-button {
 | 
						|
      background: #d8dee9
 | 
						|
    }
 | 
						|
 | 
						|
    p code {
 | 
						|
      font-family: monospace,monospace;
 | 
						|
      font-size: 1em;
 | 
						|
      background: rgba(46, 52, 64, .8);
 | 
						|
      padding: 3px;
 | 
						|
      border-radius: 5px;
 | 
						|
    }
 | 
						|
    .app-header-social {
 | 
						|
      cursor: default;
 | 
						|
    }
 | 
						|
    p {
 | 
						|
      text-align: justify;
 | 
						|
      text-justify: inter-word;
 | 
						|
    }
 | 
						|
    </style>
 | 
						|
 | 
						|
    <!-- Umami -->
 | 
						|
    <script async
 | 
						|
            src="https://umami.phundrak.com/script.js"
 | 
						|
            data-website-id="ded52f14-40e3-43b9-a680-704f16e02838"
 | 
						|
            data-do-not-track="true"
 | 
						|
    >
 | 
						|
    </script>
 | 
						|
    <!-- End of Umami code -->
 | 
						|
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <header class="app-header">
 | 
						|
      <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
 | 
						|
      <h1>{{ .Site.Title }}</h1>
 | 
						|
      <p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
 | 
						|
      <div class="app-header-social">
 | 
						|
        {{ range .Site.Params.social }}
 | 
						|
          <a target="_blank" href="{{ .url }}" rel="noreferrer noopener">{{ partial "icon.html" (dict "ctx" $ "name" .name ) }}</a>
 | 
						|
        {{ end }}
 | 
						|
      </div>
 | 
						|
    </header>
 | 
						|
    <main class="app-container">
 | 
						|
      {{ block "main" . }}
 | 
						|
        {{ .Content }}
 | 
						|
      {{ end }}
 | 
						|
    </main>
 | 
						|
  </body>
 | 
						|
</html>
 |