You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Follow button (red circle) cannot be removed by commenting out the widgets.gravatar.follow_link field in the _config.icarus.yml config file.
This is because url_for(follow_link) in layout/widget/profile.jsx returns / instead of undefined when there's no follow_link. This / is recognized as a valid url and activates the Follow button.
To Reproduce
comment out widgets.gravatar.follow_link field in the _config.icarus.yml config file.
hexo generate
The follow link isn't removed
Screenshots
disclaimer: using ss from your website instead of mine
The text was updated successfully, but these errors were encountered:
Describe the bug
The Follow button (red circle) cannot be removed by commenting out the
widgets.gravatar.follow_link
field in the_config.icarus.yml
config file.This is because
url_for(follow_link)
inlayout/widget/profile.jsx
returns/
instead ofundefined
when there's nofollow_link
. This/
is recognized as a valid url and activates the Follow button.To Reproduce
widgets.gravatar.follow_link
field in the_config.icarus.yml
config file.hexo generate
Screenshots
disclaimer: using ss from your website instead of mine
The text was updated successfully, but these errors were encountered: