mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-21 23:26:58 +01:00
This commit is contained in:
parent
23b85481b6
commit
6f6536e8ac
2 changed files with 1 additions and 11 deletions
|
@ -12,5 +12,5 @@
|
||||||
{{ if .Site.Params.touchicon }}
|
{{ if .Site.Params.touchicon }}
|
||||||
<link rel="apple-touch-icon" href="{{ .Site.Params.touchicon | absURL }}" />
|
<link rel="apple-touch-icon" href="{{ .Site.Params.touchicon | absURL }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "header.includes.html" . }}
|
{{ partial "header.includes.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/1.1.0/modern-normalize.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/1.1.0/modern-normalize.min.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||||
<!-- Pure css -->
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@3.0.0/build/pure-min.css" crossorigin="anonymous" /> -->
|
|
||||||
|
|
||||||
<!-- Fonts -->
|
|
||||||
<!-- <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans"> -->
|
|
||||||
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> -->
|
|
||||||
<!-- <link href='//fonts.googleapis.com/css?family=Raleway:400,200,100,700,300,500,600,800' rel='stylesheet' type='text/css'> -->
|
|
||||||
|
|
||||||
<!-- asynchronously load Google Fonts -->
|
<!-- asynchronously load Google Fonts -->
|
||||||
<!-- https://csswizardry.com/2020/05/the-fastest-google-fonts/#google-fonts-async-snippet -->
|
<!-- https://csswizardry.com/2020/05/the-fastest-google-fonts/#google-fonts-async-snippet -->
|
||||||
|
@ -20,9 +13,6 @@
|
||||||
href="https://fonts.googleapis.com/css?family=Noto+Serif+SC&display=swap" />
|
href="https://fonts.googleapis.com/css?family=Noto+Serif+SC&display=swap" />
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<!-- Font Awesome -->
|
|
||||||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.css"> -->
|
|
||||||
|
|
||||||
{{ $htoptions := (dict "targetPath" "/css/hugo-tufte.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
{{ $htoptions := (dict "targetPath" "/css/hugo-tufte.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
||||||
{{ $htstyle := resources.Get "scss/hugo-tufte.scss"| resources.ExecuteAsTemplate "main.scss" . | resources.ToCSS $htoptions }}
|
{{ $htstyle := resources.Get "scss/hugo-tufte.scss"| resources.ExecuteAsTemplate "main.scss" . | resources.ToCSS $htoptions }}
|
||||||
<link rel="stylesheet" href="{{ $htstyle.Permalink | relURL }}">
|
<link rel="stylesheet" href="{{ $htstyle.Permalink | relURL }}">
|
||||||
|
|
Loading…
Reference in a new issue