Using Alternatives for Document.cshtml in Orchard CMS

后端 未结 3 1934
独厮守ぢ
独厮守ぢ 2021-01-14 07:02

I am currently working on a website that requires the ability to overwrite the document.cshtml file so that I can apply a specific CSS-class based on the user\'s current loc

3条回答
  •  失恋的感觉
    2021-01-14 07:36

    You could also move the tag into Layout.cshtml, and then use URL alternates of Layout.cshtml to set the 's class attribute.

提交回复
热议问题