mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-09-27 20:46:25 +00:00
Adds some optimizations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<main aria-role="main">
|
||||
<main role="main">
|
||||
<div>
|
||||
{{ if .Site.Params.Portrait.Path }}
|
||||
<img src="{{ .Site.Params.Portrait.Path }}" class="circle" alt="{{ .Site.Params.Portrait.Alt }}"
|
||||
|
||||
@@ -11,6 +11,12 @@
|
||||
<!-- <meta name="theme-color" content="{{ .Site.Params.themeColor }}" /> -->
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
|
||||
|
||||
<link rel="preload" href="{{ .Site.BaseURL }}fonts/Inter-UI-Regular.woff2" as="font" type="font/woff2"
|
||||
crossorigin="anonymous">
|
||||
<link rel="preload" href="{{ .Site.BaseURL }}fonts/Inter-UI-Bold.woff2" as="font" type="font/woff2"
|
||||
crossorigin="anonymous">
|
||||
|
||||
{{ block "title" . }}
|
||||
<title>
|
||||
{{ if .IsHome }}
|
||||
|
||||
Reference in New Issue
Block a user