mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-25 20:22:19 +00:00
48 lines
2.3 KiB
HTML
48 lines
2.3 KiB
HTML
<title>{{ with .Title }}{{ . }} – {{end}}{{ .Site.Title }}</title>
|
|
{{ with .Site.Params.about }}<meta name="description" content="{{ .description }}">{{ end }}
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta charset="UTF-8"/>
|
|
{{ if or (.Site.Params.noindex) (.Params.noindex) }}<meta name="robots" content="noindex" /> {{ end }}
|
|
|
|
<!-- RSS -->
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
|
|
{{ end }}
|
|
|
|
<!-- verification links -->
|
|
{{ if .IsHome }}
|
|
{{ range $item := .Site.Params.verifyLinks }}
|
|
<link rel="me" title="{{ $item.title }}" href="{{ $item.url }}">
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ partialCached "favicon" . }}
|
|
{{ partial "opengraph" . }}
|
|
|
|
<!-- FontAwesome <https://fontawesome.com/> -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" />
|
|
|
|
<!-- ForkAwesome <https://forkaweso.me/> -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
|
|
|
|
<!-- Academicons <https://jpswalsh.github.io/academicons/> -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" />
|
|
|
|
<!-- risotto theme -->
|
|
<link rel="stylesheet" href="{{ printf "css/palettes/%s.css" (.Site.Params.theme.palette | default "base16-dark") | absURL }}">
|
|
<link rel="stylesheet" href="{{ "css/risotto.css" | absURL }}">
|
|
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
|
|
|
{{ if eq .Site.Params.analytics true }}
|
|
<!-- tinylytics -->
|
|
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=🎉&webring=avatars" defer></script>
|
|
{{ end }}
|
|
|
|
<!-- syntax highlighting -->
|
|
{{ if (findRE "<pre" .Content 1) }}
|
|
{{ $syntax := resources.Get "css/torchlight.css" | minify }}
|
|
<link href="{{ $syntax.RelPermalink }}" rel="stylesheet">
|
|
{{ $copyCss := resources.Get "css/code-copy-button.css" | minify }}
|
|
<link href="{{ $copyCss.RelPermalink }}" rel="stylesheet">
|
|
{{ end }}
|