From 9a0504b33b88b67713c8eef5b286c67668af9d90 Mon Sep 17 00:00:00 2001 From: Niklas Buschmann Date: Wed, 19 Feb 2020 22:14:49 +0100 Subject: [PATCH] fix build --- .../font-awesome/LICENSE.txt => data/fontawesome/LICENSE.toml | 2 ++ {static/font-awesome => data/fontawesome}/icons.json | 0 layouts/_default/baseof.html | 4 +--- 3 files changed, 3 insertions(+), 3 deletions(-) rename static/font-awesome/LICENSE.txt => data/fontawesome/LICENSE.toml (98%) rename {static/font-awesome => data/fontawesome}/icons.json (100%) diff --git a/static/font-awesome/LICENSE.txt b/data/fontawesome/LICENSE.toml similarity index 98% rename from static/font-awesome/LICENSE.txt rename to data/fontawesome/LICENSE.toml index f31bef9..6447b88 100644 --- a/static/font-awesome/LICENSE.txt +++ b/data/fontawesome/LICENSE.toml @@ -1,3 +1,4 @@ +license = """ Font Awesome Free License ------------------------- @@ -32,3 +33,4 @@ All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Font Awesome, nor vice versa. **Please do not use brand logos for any purpose except to represent the company, product, or service to which they refer.** +""" \ No newline at end of file diff --git a/static/font-awesome/icons.json b/data/fontawesome/icons.json similarity index 100% rename from static/font-awesome/icons.json rename to data/fontawesome/icons.json diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0fb726a..1c6f5e2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -18,8 +18,6 @@ {{ partial "math.html" . }} {{- end }} -{{ $font_awesome := getJSON "themes/contrast-hugo/static/font-awesome/icons.json" }} -
@@ -29,7 +27,7 @@ {{ range $menu, $items := .Site.Menus }}