structern mostly in place

This commit is contained in:
2021-08-25 10:39:09 +01:00
parent dd44c55616
commit 1a66e21316
17 changed files with 121 additions and 15 deletions

View File

@ -6,8 +6,8 @@
{{/* scss compiling */}}
{{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed") }}
{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<link href='{{ $style.RelPermalink }}' rel="stylesheet">
<title>{{ $title }}</title>
{{- partial "octocss.html" . -}}
</head>

View File

@ -0,0 +1,9 @@
{{ $octo_url := path.Join "/img/octo" $.Page.Params.octo }}
<style>
#octopus {
background-image: url('{{ $octo_url }}');
background-repeat: no-repeat;
background-size: contain;
}
</style>