From 6ed7097c0c609fb074fe25685d38d9bfbb2e617d Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 5 Aug 2023 20:59:31 +0100 Subject: [PATCH] refactor: remove ref to page model --- oliverbooth.dev/Pages/Index.cshtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oliverbooth.dev/Pages/Index.cshtml b/oliverbooth.dev/Pages/Index.cshtml index be8b96a..645eb24 100644 --- a/oliverbooth.dev/Pages/Index.cshtml +++ b/oliverbooth.dev/Pages/Index.cshtml @@ -1,8 +1,8 @@ @page "/{culture=en}" -@model IndexModel -@{ - ViewData["Title"] = "Home page"; -} +@using Microsoft.AspNetCore.Mvc.Localization +@inject IViewLocalizer Localizer + +

Welcome