chore: format with Prettier
This commit is contained in:
parent
7d561b6fec
commit
aee1770a01
1 changed files with 116 additions and 41 deletions
|
@ -1,15 +1,36 @@
|
|||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
|
||||
{{ partialCached "copying.html" . }}
|
||||
|
||||
<html class="h-card" lang="en-gb" itemscope itemtype="https://schema.org/Blog">
|
||||
|
||||
<html
|
||||
class="h-card"
|
||||
lang="en-gb"
|
||||
itemscope
|
||||
itemtype="https://schema.org/Blog"
|
||||
>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta name="theme-color" content="#FFFFF0">
|
||||
<meta name="description" content="{{ block "head-description" . }}{{ $.Site.Params.description | html }}{{ end }}">
|
||||
<meta name="twitter:dnt" content="on">
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1"
|
||||
/>
|
||||
<meta
|
||||
name="robots"
|
||||
content="noindex"
|
||||
/>
|
||||
<meta
|
||||
name="theme-color"
|
||||
content="#FFFFF0"
|
||||
/>
|
||||
<meta
|
||||
name="description"
|
||||
content="{{ block "head-description" . }}{{ $.Site.Params.description | html }}{{ end }}"
|
||||
/>
|
||||
<meta
|
||||
name="twitter:dnt"
|
||||
content="on"
|
||||
/>
|
||||
|
||||
<title itemprop="name">
|
||||
{{- block "title" . -}}
|
||||
|
@ -20,29 +41,80 @@
|
|||
{{- end -}}
|
||||
</title>
|
||||
|
||||
<link rel="license" href="{{ block "head-license" . }}https://creativecommons.org/publicdomain/zero/1.0/{{ end }}">
|
||||
<link class="u-url u-uid" rel="me" href="{{ .Site.Home.Permalink }}">
|
||||
<link class="u-email" rel="me" href="mailto:me+bg@bengoldsworthy.net">
|
||||
<link class="u-url" rel="me" href="https://github.com/Rumperuu">
|
||||
<link class="u-url" rel="me" href="https://news.ycombinator.com/user?id=Rumperuu">
|
||||
<link class="u-logo" rel="icon" sizes="192x192" href="/images/icon.png">
|
||||
<link
|
||||
rel="license"
|
||||
href="{{ block "head-license" . }}https://creativecommons.org/publicdomain/zero/1.0/{{ end }}"
|
||||
/>
|
||||
<link
|
||||
class="u-url u-uid"
|
||||
rel="me"
|
||||
href="{{ .Site.Home.Permalink }}"
|
||||
/>
|
||||
<link
|
||||
class="u-email"
|
||||
rel="me"
|
||||
href="mailto:me+bg@bengoldsworthy.net"
|
||||
/>
|
||||
<link
|
||||
class="u-url"
|
||||
rel="me"
|
||||
href="https://github.com/Rumperuu"
|
||||
/>
|
||||
<link
|
||||
class="u-url"
|
||||
rel="me"
|
||||
href="https://news.ycombinator.com/user?id=Rumperuu"
|
||||
/>
|
||||
<link
|
||||
class="u-logo"
|
||||
rel="icon"
|
||||
sizes="192x192"
|
||||
href="/images/icon.png"
|
||||
/>
|
||||
{{- with .Site.Params.keyfile -}}
|
||||
<link class="u-key" rel="author" href="{{ . }}">
|
||||
<link
|
||||
class="u-key"
|
||||
rel="author"
|
||||
href="{{ . }}"
|
||||
/>
|
||||
{{- end -}}
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
<link
|
||||
rel="canonical"
|
||||
href="{{ .Permalink }}"
|
||||
/>
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type | html }}" href="{{ .RelPermalink }}" title="{{ $.Site.Title | safeHTML }}" />
|
||||
<link
|
||||
rel="{{ .Rel }}"
|
||||
type="{{ .MediaType.Type | html }}"
|
||||
href="{{ .RelPermalink }}"
|
||||
title="{{ $.Site.Title | safeHTML }}"
|
||||
/>
|
||||
{{- end }}
|
||||
|
||||
<link href="/css/sanitize.css" rel="stylesheet" />
|
||||
|
||||
<link
|
||||
href="/css/sanitize.css"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
{{- $mainStylesheet := resources.Get "css/main.scss" }}
|
||||
{{- $mainStylesheet := $mainStylesheet | css.Sass | resources.Fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $mainStylesheet.Permalink }}" integrity="{{ $mainStylesheet.Data.Integrity | html }}">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
href="{{ $mainStylesheet.Permalink }}"
|
||||
integrity="{{ $mainStylesheet.Data.Integrity | html }}"
|
||||
/>
|
||||
{{- $printStylesheet := resources.Get "css/print.scss" }}
|
||||
{{- $printStylesheet := $printStylesheet | css.Sass | resources.Fingerprint }}
|
||||
<link rel="stylesheet" media="print" href="{{ $printStylesheet.Permalink }}" integrity="{{ $printStylesheet.Data.Integrity | html }}">
|
||||
<link
|
||||
rel="stylesheet"
|
||||
media="print"
|
||||
href="{{ $printStylesheet.Permalink }}"
|
||||
integrity="{{ $printStylesheet.Data.Integrity | html }}"
|
||||
/>
|
||||
|
||||
{{- if .Param "math" -}}
|
||||
{{- partialCached "math.html" . -}}
|
||||
|
@ -53,29 +125,32 @@
|
|||
{{- block "header-styles" . -}}<!-- -->{{- end -}}
|
||||
</head>
|
||||
|
||||
<body class="site-container site-container{{ block "main-class" . }} layouts-default-baseof{{ end }}">
|
||||
<body class="site-container site-container{{ block "main-class" . }}layouts-default-baseof{{ end }}">
|
||||
{{ block "header" . -}}
|
||||
{{- partialCached "header/site-header.html" . -}}
|
||||
{{- end }}
|
||||
|
||||
<article class="{{ block "article-class" . }}h-entry {{ end }}site-content site-content{{ block "main-class" . }}{{ end }}" itemscope itemtype="https://schema.org/BlogPosting">
|
||||
|
||||
<article
|
||||
class="{{ block "article-class" . }}h-entry{{ end }}site-content site-content{{ block "main-class" . }}{{ end }}"
|
||||
itemscope
|
||||
itemtype="https://schema.org/BlogPosting"
|
||||
>
|
||||
{{ block "main-header" . }}{{ end }}
|
||||
{{ block "main-body" . }}{{ end }}
|
||||
{{ block "main-footer" . }}{{ end }}
|
||||
</article>
|
||||
|
||||
{{- block "footer" . -}}
|
||||
<footer class="site-footer">
|
||||
<p>
|
||||
By <a href="/">{{ $.Site.Params.Author.name }}</a> |
|
||||
<a href="{{ $.Site.Params.codeURL }}{{ $.Site.Params.reportIssueURL }}">Report an Issue</a> |
|
||||
<a href="{{ relref . "privacy-policy" }}">Privacy Policy</a> |
|
||||
<a href="/{{ .Sitemap.Filename }}">Sitemap</a> |
|
||||
Built: {{ now.Format "2006-01-02T15:04:05" }}
|
||||
</p>
|
||||
{{ block "footer-scripts" . }}<!-- -->{{ end }}
|
||||
</footer>
|
||||
<footer class="site-footer">
|
||||
<p>
|
||||
By <a href="/">{{ $.Site.Params.Author.name }}</a> |
|
||||
<a href="{{ $.Site.Params.codeURL }}{{ $.Site.Params.reportIssueURL }}">Report an Issue</a> |
|
||||
<a href="{{ relref . "privacy-policy" }}">Privacy Policy</a> | <a href="/{{ .Sitemap.Filename }}">Sitemap</a> | Built:
|
||||
{{ now.Format "2006-01-02T15:04:05" }}
|
||||
</p>
|
||||
{{ block "footer-scripts" . }}<!-- -->{{ end }}
|
||||
</footer>
|
||||
{{- end -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Reference in a new issue