File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,18 @@ export default async function Page({
3131 < Header />
3232
3333 < div className = "w-full" >
34+ < Link href = "/blog" className = "text-gray-500 hover:text-gray-700" > ← Back to all posts</ Link >
35+
3436 < h1 className = "text-2xl font-bold" > { post . title } </ h1 >
3537 < p className = "p-0 m-0" > Published on { new Date ( post . published ) . toLocaleDateString ( "en-US" , {
3638 weekday : "long" ,
3739 year : "numeric" ,
3840 month : "long" ,
3941 day : "numeric" ,
40- } ) }
42+ } ) } .
4143 </ p >
4244 < div
43- className = "mt-4"
45+ className = "mt-4 postcontainer "
4446 dangerouslySetInnerHTML = { { __html : post . post } }
4547 />
4648 </ div >
Original file line number Diff line number Diff line change 177177 cursor: pointer;
178178}
179179
180- p {
180+ .postcontainer > p {
181181 margin: 1em 0;
182182 line-height: 1.6;
183183 font-size: 16px;
You can’t perform that action at this time.
0 commit comments