It merely strips the leading tilde and thus returns relative path. See [here](https://github.com/SparkViewEngine/spark/blob/master/src/Spark/DefaultResourcePathManager.cs#L45)