itslab-kyushu/youtube-comment-scraper

View on GitHub
docs/layouts/partials/head.html

Summary

Maintainability
Test Coverage
<head {{ with .Site.LanguageCode }}lang="{{ . }}"{{ end }}>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
    {{ with .Site.Params.description -}}
    <meta name="description" content="{{ . }}">
    {{- end }}
    {{ .Hugo.Generator }}

    <title>{{ if not .IsHome }}{{ .Title }} &mdash;{{ end }} {{ .Site.Title }}</title>

    <link rel="stylesheet" href="{{ .Site.BaseURL }}css/alabaster.css" type="text/css" />
    {{ range .Site.Params.custom_css -}}
    <link rel="stylesheet" href="{{ $.Site.BaseURL }}{{ . }}">
    {{- end }}

    {{ with .Site.Params.favicon -}}
    <link rel="shortcut icon" href="{{ $.Site.BaseURL }}{{ . }}" type="image/x-icon"/>
    {{- else -}}
    <link rel="shortcut icon" href="{{ $.Site.BaseURL }}favicon.ico" type="image/x-icon"/>
    {{- end }}
</head>