mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 04:55:30 -04:00
dark mode octocat icon on COVID post (and fix AMP errors)
https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fjarv.is%2F&item_key=GhUIIhADIgNpbWciB2FtcC1pbWcolk4&hl=en&sharing_key=jrQsA5DhNhUqwYxUooGbfw
This commit is contained in:
@@ -250,7 +250,9 @@
|
||||
on <a class="date" href="{{ (.OutputFormats.Get "html").Permalink }}">{{ .Date.Format "January 2, 2006" }}</a>
|
||||
</p>
|
||||
|
||||
{{ .Content }}
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<footer>
|
||||
|
@@ -3,10 +3,9 @@
|
||||
|
||||
{{/* Page-specific styles set via front matter, scoped via SCSS */}}
|
||||
{{ with .Params.css }}
|
||||
{{- $sass := printf "div#content { %s }" . }}
|
||||
{{- $target := path.Join $.File.Dir "css/inline.min.scss" }}
|
||||
|
||||
{{- $css := $sass | resources.FromString $target | resources.ToCSS | resources.PostCSS (dict "config" "postcss.config.js") | resources.Fingerprint "sha256" -}}
|
||||
{{- $css := . | resources.FromString $target | resources.ToCSS | resources.PostCSS (dict "config" "postcss.config.js") | resources.Fingerprint "sha256" -}}
|
||||
|
||||
<link rel="stylesheet" href="{{ $css.Permalink }}">
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user