feat(menu): add menu pre

This commit is contained in:
Dillon
2020-02-04 02:19:05 +08:00
parent 097473ef2a
commit 8cd7e8d672
3 changed files with 7 additions and 3 deletions

View File

@@ -97,7 +97,9 @@ dateFormatToUse = "2006-01-02"
[[menu.main]]
identifier = "zh"
name = '<i class="fas fa-language fa-fw" title="简体中文"></i>'
pre = '<i class="fas fa-language fa-fw"></i>'
name = ""
title = "简体中文"
url = "https://hugo-loveit-zh.netlify.com"
weight = 5

View File

@@ -97,7 +97,9 @@ dateFormatToUse = "2006-01-02"
[[menu.main]]
identifier = "en"
name = '<i class="fas fa-language fa-fw" title="English"></i>'
pre = '<i class="fas fa-language fa-fw"></i>'
name = ""
title = "English"
url = "https://hugo-loveit-en.netlify.com"
weight = 5