I looking for help with C# (cshtml) if statement, to display paragraph on only homepage site, like in php.
Thanks in advance
A Block in Razor always starts with @.
@if (Request.Url.ToString() == "/")
© 2016 Powered by mzan.com design MATCHINFO