💄 Add smooth scrolling behaviour

This commit is contained in:
James Panther
2022-01-12 00:08:38 +11:00
parent cdf56a1e11
commit 2043921232
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
{{- else -}}
ltr
{{- end }}"
{{ if .Site.Params.darkMode | default false }}class="dark"{{ end }}
class="scroll-smooth {{ if .Site.Params.darkMode | default false }}dark{{ end }}"
>
{{- partial "head.html" . -}}
<body