forked from autonomic-cooperative/sophie-lewis-hugo
structern mostly in place
This commit is contained in:
@ -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>
|
||||
|
||||
9
themes/sophie-lewis/layouts/partials/octocss.html
Normal file
9
themes/sophie-lewis/layouts/partials/octocss.html
Normal 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>
|
||||
Reference in New Issue
Block a user