Skip to content

Commit 089859a

Browse files
committed
Don't use a layout for the slides page
1 parent e0539dc commit 089859a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/ProgrammerAl.Site/ProgrammerAl.Site/Pages/PresentationSlides.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@page "/posts/{PostUrl}/slides/{Index:int}"
22
@page "/drafts/{PostUrl}/slides/{Index:int}"
3+
@layout EmptyLayout
34
@using System.Text.Encodings.Web;
45
@using ProgrammerAl.Site.Components
56
@using ProgrammerAl.Site.Components.AnimatedComponents

src/ProgrammerAl.Site/ProgrammerAl.Site/ProgrammerAl.Site.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
<Content Update="Pages\PresentationSlides.razor">
2727
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
2828
</Content>
29+
<Content Update="Shared\EmptyLayout.razor">
30+
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
31+
</Content>
2932
</ItemGroup>
3033

3134
<Target Name="PreBuild" BeforeTargets="PreBuildEvent" Condition="'$(Configuration)'=='DEBUG'">
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@using ProgrammerAl.Site.Components
2+
@inherits LayoutComponentBase
3+
4+
@Body

0 commit comments

Comments
 (0)