Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Remove emoji #186

Open
khoerodin opened this issue Sep 4, 2021 · 1 comment
Open

Remove emoji #186

khoerodin opened this issue Sep 4, 2021 · 1 comment

Comments

@khoerodin
Copy link

Hi, this theme is very cool, i love it

But I don't want to use emoji, How to remove it?
I filled in emoji: '' in frontmatter but left an empty area. Look like this:

Screenshot from 2021-09-04 08-02-44

Thank you

@mrmartineau
Copy link
Owner

Hi @khoerodin, this is quite easy to solve, but needs to be handled carefully because I don't want to break the functionality for existing users. As you are aware, if no emoji is used, a default emoji (🗒️) is used instead, so what we need to do is add a new config option with that default emoji (it is hard-coded right now) and set it to an empty string, then conditionally render the emoji on the list view and the note page if there is an emoji.

I'm not sure when I'll get time to do this, so if you need it soon, I suggest you submit a PR for it yourself. Are you able to do that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants