From 517137eba57ce661f1e8e9520abf38b2c23fab97 Mon Sep 17 00:00:00 2001 From: noxil Date: Tue, 20 Aug 2024 02:24:05 +0200 Subject: [PATCH] fix(calendar): load font for icons --- .../scss/custom/plugins/icons/_google-material.scss | 12 ++++++++++++ content/events.de.md | 1 - hugo.toml | 3 +++ layouts/events/list.ics | 4 ++-- 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 assets/scss/custom/plugins/icons/_google-material.scss diff --git a/assets/scss/custom/plugins/icons/_google-material.scss b/assets/scss/custom/plugins/icons/_google-material.scss new file mode 100644 index 0000000..30580db --- /dev/null +++ b/assets/scss/custom/plugins/icons/_google-material.scss @@ -0,0 +1,12 @@ +// Google Material Icon Font via +// https://github.com/marella/material-symbols/tree/main/material-symbols + +@font-face { + font-family: 'Material Symbols Outlined'; + font-weight: 400 700; + font-display: block; + font-style: normal; + src: local('Material Icons'), local('MaterialIcons-Outlined'), + url('/docs/fonts/material-symbols-outlined.woff2') format('woff2'), /* Super Modern Browsers */ + // url('../docs/fonts/material-symbols-outlined.woff') format('woff'); /* Modern Browsers */ + } \ No newline at end of file diff --git a/content/events.de.md b/content/events.de.md index bd78a6a..09cb0f3 100644 --- a/content/events.de.md +++ b/content/events.de.md @@ -1,6 +1,5 @@ --- title: "Events" -url: "events" ---