mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2025-05-07 21:56:04 +02:00
site/layouts: add new FSC extension
We use a custom style block in the base that defaults to ISEAL, but gets overridden in the FSC layout. Layout is determined in the term frontmatter, either "home" or "fsc".
This commit is contained in:
@ -7,8 +7,10 @@
|
||||
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
|
||||
{{ $style := resources.Get "css/style.min.css" | resources.Fingerprint }}
|
||||
{{ block "style" . }}
|
||||
{{ $style := resources.Get "css/iseal.min.css" | resources.Fingerprint }}
|
||||
<link href="{{ $style.Permalink }}" rel="stylesheet" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous">
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
<!-- body start is in main because it needs scrollspy only on home -->
|
||||
|
Reference in New Issue
Block a user