get rid of Twitter metadata shit
This commit is contained in:
parent
1fd758e97e
commit
fb724e6282
|
@ -122,27 +122,8 @@
|
||||||
{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
|
{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
|
||||||
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
|
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
|
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
|
||||||
|
|
||||||
<noscript>
|
|
||||||
<style>
|
|
||||||
figure a img {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
.sidebar-game-platform {
|
|
||||||
max-height: 100%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</noscript>
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{{ "img/favicon.png" | absURL }}">
|
<link rel="shortcut icon" href="{{ "img/favicon.png" | absURL }}">
|
||||||
{{ with .OutputFormats.Get "RSS" }}
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="Jefklak's Codex" />
|
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="Jefklak's Codex" />
|
||||||
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="Jefklak's Codex" />
|
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="Jefklak's Codex" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- twitter cards -->
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta name="twitter:title" content="{{ .Title }}">
|
|
||||||
<meta name="twitter:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}">
|
|
||||||
<meta name="twitter:image" content="{{ $thumb }}">
|
|
||||||
<meta name="twitter:image:alt" content="Figure of {{ .Title }}">
|
|
||||||
|
|
Loading…
Reference in New Issue