khusika / FeelIt

A clean, elegant but advanced blog theme for Hugo
https://feelit.khusika.dev
MIT License
164 stars 60 forks source link

[FEATURE] Can't use Font Awesome in the [params.home.profile].subtitle #56

Closed chengleqi closed 3 years ago

chengleqi commented 3 years ago

I enable the fontawesome, It can be used in the [params.home.profile].title, but it can't be used in the [params.home.profile].subtitle.

title = "<i class='fas fa-dharmachakra'></i>" #it can be shown correctly
subtitle = "<i class='fas fa-dharmachakra'></i>" # nothing

I also tried the shortcode , It just show a string :(fas fa-dharmachakra): It's wired, I don't know why. and fontawesome alse can't be used in the [params.header.title].logo and [params.header.title].name

khusika commented 3 years ago

I enable the fontawesome, It can be used in the [params.home.profile].title, but it can't be used in the [params.home.profile].subtitle.


title = "<i class='fas fa-dharmachakra'></i>" #it can be shown correctly
subtitle = "<i class='fas fa-dharmachakra'></i>" # nothing

Make sure typeit is disable, if you wanna use html phrase on the subtitle.

[params.home.profile]
  typeit = false
chengleqi commented 3 years ago

OK thank u!