danielroe / danielroe/beasties

Feature suggestion: append <style> to <head> end

Open
#176 6 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
699
Forks
25
Avg merge
20h 13m
Merged PRs (30d)
35

Description

Currently Beasties inserts extracted styles before the `` is located, which is fine at first glance.
But some frameworks tend to place `` at the very top of the` `, which results to a lot of "text" before the main tags like title, encoding, canonicals, etc. That may be not very good for SEO and robots.

I suggest adding an option, something like "insertStylesToHeadEnd" and append` to <head>` end for those who want that behavior.

I can do that.
Just let me know if you like the idea and let's discuss a better name for the option.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.