this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

🚸 Improve language switch

+11 -2
+11 -2
src/components/Navigation.astro
··· 100 100 <a href="/contact">contact</a> 101 101 </li><li> 102 102 { 103 + // TODO find out if theres a way to get the rewritten pathname 103 104 Astro.locals.lang === "fr" ? ( 104 - <a href="https://en.gwen.works/">in english</a> 105 + <a 106 + href={`https://en.gwen.works${Astro.url.pathname.replace(/^\/works\//, "/")}`} 107 + > 108 + in english 109 + </a> 105 110 ) : ( 106 - <a href="https://fr.gwen.works/">en français</a> 111 + <a 112 + href={`https://fr.gwen.works${Astro.url.pathname.replace(/^\/works\//, "/")}`} 113 + > 114 + en français 115 + </a> 107 116 ) 108 117 } 109 118 </li>