Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最後に更新されたタイムスタンプをオーチャードWebサイトのフッターに追加するにはどうすればよいですか?つまり、CMS管理者を介してコンテンツに変更が加えられた日付です。
追加する必要はありません。すでに共通部分にあります。アイテムの最新の公開日が必要な場合は公開日、アイテムが最後に変更されたのが本当に必要な場合は変更日です。 。これを共通部分(parts.common.metadata.cshtml)のテンプレートオーバーライドに追加します:@Model.ContentPart.PublishedUtcまたは@Model.ContentPart.ModifiedUtc
@Model.ContentPart.PublishedUtc
@Model.ContentPart.ModifiedUtc