styxlab / gatsby-theme-try-ghost

A Gatsby theme to build flaring fast blogs from headless Ghost CMS
MIT License
136 stars 56 forks source link

what is the problem? #251

Closed ghost closed 3 years ago

ghost commented 3 years ago

iShot2021-02-08 19 08 07

styxlab commented 3 years ago

This is an ecoding issue coming from the Ghost Casper stylesheet. The relevant css is in 'screen.css' is:

html.casper .nav-post-title.dash:before {
    content: "– ";
    opacity: 0.5;
}

I think this could be solved by providing an escape sequence in the content prop. However, as I am just re-using the original stylesheet from Ghost this has to be solved upstream. Please open an issue on the original Ghost project first. Once they have corrected their stylesheet, it will be automatically picked up here.

ghost commented 3 years ago

Thank you,I had fix it by change [content: "鈥� "]to [content: "– ";], but i do not know why it happen , i download the code from https://github.com/styxlab/gatsby-theme-try-ghost

iShot2021-02-09 09 11 32 PS: Looking Forward To your blogging platform!