2021-07-21 20:23:55 +02:00
|
|
|
<!-- Load Katex, if necessary. -->
|
2016-01-15 19:08:17 +01:00
|
|
|
{{ if or .Params.math .IsHome }}
|
2021-07-21 20:23:55 +02:00
|
|
|
{{ partial "math.html" . }}
|
2015-12-30 03:35:20 +01:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Pure css -->
|
2021-07-28 10:51:14 +02:00
|
|
|
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/pure-min.css">
|
2015-12-30 03:35:20 +01:00
|
|
|
|
|
|
|
<!-- 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'> -->
|
|
|
|
|
|
|
|
<!-- Font Awesome -->
|
2016-01-15 05:43:52 +01:00
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
2015-12-30 03:35:20 +01:00
|
|
|
|
2021-07-28 11:12:12 +02:00
|
|
|
<script defer src="{{ "/js/main.js" | relURL }}"></script>
|
2021-08-03 22:18:19 +02:00
|
|
|
|
2015-12-30 03:35:20 +01:00
|
|
|
<!-- Main CSS file based on Pure blog layout -->
|
2021-08-03 22:18:19 +02:00
|
|
|
{{ if .Site.Params.codeBlocksDark }}
|
|
|
|
{{ $codeoptions := (dict "targetPath" "/css/highlight-dark.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
|
|
|
{{ $style := resources.Get "scss/highlight-dark.scss" | resources.ToCSS $codeoptions }}
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ $style.Permalink | relURL }}">
|
|
|
|
{{ else }}
|
|
|
|
{{ $codeoptions := (dict "targetPath" "/css/highlight-light.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
|
|
|
{{ $codestyle := resources.Get "scss/highlight-light.scss" | resources.ToCSS $codeoptions }}
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="{{ $codestyle.Permalink | relURL }}">
|
|
|
|
{{ end }}
|
|
|
|
|
2021-07-28 11:12:12 +02:00
|
|
|
<link rel="stylesheet" href="{{ "/css/tufte.css" | relURL }}">
|
2021-08-03 22:18:19 +02:00
|
|
|
|
|
|
|
{{ $htoptions := (dict "targetPath" "/css/hugo-tufte.min.css" "outputStyle" "compressed" "enableSourceMap" true) }}
|
|
|
|
{{ $htstyle := resources.Get "scss/hugo-tufte.scss" | resources.ToCSS $htoptions }}
|
|
|
|
<link rel="stylesheet" href="{{ $htstyle.Permalink | relURL }}">
|
|
|
|
|
2021-07-28 11:12:12 +02:00
|
|
|
<link rel="stylesheet" href="{{ "/css/hugo-tufte-override.css" | relURL }}">
|
2021-08-03 22:18:19 +02:00
|
|
|
|
2021-07-25 10:04:41 +02:00
|
|
|
|