Extract more CSS/JS into static files on static.danilafe.com

This commit is contained in:
2023-12-30 14:30:27 -08:00
parent 0d721d48a4
commit f5be44887b
3 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{{ define "main" }}
<h2>{{ .Title }} </h2>
<script src="//unpkg.com/vis-network@9.1.0/dist/vis-network.min.js"></script>
<script src="{{ .Site.Params.visNetworkJsUrl }}"></script>
<script type="module" src="{{ .Site.BaseURL }}/graph/graph.js"></script>
<style>
#graph-container {

View File

@@ -10,8 +10,8 @@
<meta name="matrix-highlight-comments" content="{{ . }}">
{{ end }}
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&family=Raleway&family=Lora&display=block" media="screen">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" media="screen">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&family=Raleway&family=Lora&display=block" media="screen">
<link rel="stylesheet" href="{{ .Site.Params.normalizeCssUrl }}" media="screen">
<link rel="stylesheet" href="{{ .Site.Params.katexCssUrl }}" crossorigin="anonymous">
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type | html }}" href="{{ .Permalink | safeURL }}">