Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google says one thing, the plugin inserts something else #24

Open
joho1968 opened this issue Dec 4, 2020 · 0 comments
Open

Google says one thing, the plugin inserts something else #24

joho1968 opened this issue Dec 4, 2020 · 0 comments

Comments

@joho1968
Copy link

joho1968 commented Dec 4, 2020

Using the latest Dokuwiki and your plugin, there's a difference in what Google says should be used and what the plugin does.

I couldn't paste the text, so I've removed < and >

The plugin does this:
<link type="text/css" rel="stylesheet" media="screen" href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:wght@300" />

Google says this:
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&display=swap" rel="stylesheet">

I don't know what the actual difference is to Google, but I'm having a hard time to get the fonts I want 😸

Also, notice the /css2 in Google's output vs /css in the plugin's.

Maybe something worthwhile looking at. Thanks for your work!

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

No branches or pull requests

1 participant