mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-24 06:56:59 +00:00
Adds some optimizations
This commit is contained in:
@@ -1,2 +1,3 @@
|
|||||||
# Hugo default output directory
|
# Hugo default output directory
|
||||||
public/
|
public/
|
||||||
|
resources/_gen/
|
||||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
|||||||
{"Target":"main.e9b492b7c8114a36f5efea9cdbb748d9ce34ab94852195af017a2411e8f19c3d.css","MediaType":"text/css","Data":{"Integrity":"sha256-6bSSt8gRSjb17+qc27dI2c40q5SFIZWvAXokEejxnD0="}}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: auto;
|
font-display: fallback;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url("../fonts/Inter-UI-Regular.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Regular.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Regular.woff") format("woff");
|
url("../fonts/Inter-UI-Regular.woff") format("woff");
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-display: auto;
|
font-display: fallback;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url("../fonts/Inter-UI-Italic.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Italic.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Italic.woff") format("woff");
|
url("../fonts/Inter-UI-Italic.woff") format("woff");
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-display: auto;
|
font-display: fallback;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: url("../fonts/Inter-UI-MediumItalic.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-MediumItalic.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-MediumItalic.woff") format("woff");
|
url("../fonts/Inter-UI-MediumItalic.woff") format("woff");
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: auto;
|
font-display: fallback;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
src: url("../fonts/Inter-UI-Bold.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-Bold.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-Bold.woff") format("woff");
|
url("../fonts/Inter-UI-Bold.woff") format("woff");
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter UI';
|
font-family: 'Inter UI';
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-display: auto;
|
font-display: fallback;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
src: url("../fonts/Inter-UI-BoldItalic.woff2") format("woff2"),
|
src: url("../fonts/Inter-UI-BoldItalic.woff2") format("woff2"),
|
||||||
url("../fonts/Inter-UI-BoldItalic.woff") format("woff");
|
url("../fonts/Inter-UI-BoldItalic.woff") format("woff");
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main aria-role="main">
|
<main role="main">
|
||||||
<div>
|
<div>
|
||||||
{{ if .Site.Params.Portrait.Path }}
|
{{ if .Site.Params.Portrait.Path }}
|
||||||
<img src="{{ .Site.Params.Portrait.Path }}" class="circle" alt="{{ .Site.Params.Portrait.Alt }}"
|
<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 }}" /> -->
|
<!-- <meta name="theme-color" content="{{ .Site.Params.themeColor }}" /> -->
|
||||||
<link rel="canonical" href="{{ .Permalink }}" />
|
<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" . }}
|
{{ block "title" . }}
|
||||||
<title>
|
<title>
|
||||||
{{ if .IsHome }}
|
{{ if .IsHome }}
|
||||||
|
|||||||
Reference in New Issue
Block a user