I'm trying to include multiple web fonts into an Orchard theme. Google gives the usage as follows:
<link href='http://fonts.googleapis.com/css?family=Tauri|Patrick+Hand+SC|Sintony' rel='stylesheet' type='text/css'>
Hence I added the following line to Layout.cshtml:
This causes the server error 'http:/fonts.googleapis.com/css' is not a valid virtual path
It works fine with one single font. Just when there is a |
in the url, it snaps. I suppose this is either a bug, or I have to use some sort of escape sequence in my link.
One workaround would be to include the <link> tag provided by Google in the documents file, but I'd rather have it with the other style includes in layout.cshtml, since my theme doesn't have a document.cshtml, and I'd like to keep it that way if possible.
Another way is to include them seperatly, but this results in additional http-requests.