Skip to content

Meteor 1.7.0.5 client side rawModHtml nothing happens #23

Open
@mgscreativa

Description

@mgscreativa

Hi! just installed meteor-inject-initial and put the following code in meteor server main file fo modify head tag:

Inject.rawModHtml('cdnStyle', function(html) {
            return html.replace('<head>', '<head><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&amp;subset=latin">');
        });

But nothing happens, the page gets rendered without the new link tag at the beggining of the head.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions