Skip to content

Commit 7a3121b

Browse files
committed
Yorumu şablon gövdesinden frontmatter'a al
Astro şablon gövdesinde `/* */` bir yorum değil, düz metin — sayfanın başına basıldı. Yorum frontmatter içine taşındı.
1 parent 74daf33 commit 7a3121b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/components/OturumDugmesi.astro‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ if (veritabani) {
3333
3434
/* Girişten sonra aynı sayfaya dönülüyor. */
3535
const donus = Astro.url.pathname + Astro.url.search;
36-
---
37-
3836
3937
/* `data-astro-reload` KALDIRILAMAZ.
4038
*
@@ -49,6 +47,9 @@ const donus = Astro.url.pathname + Astro.url.search;
4947
*
5048
* Bu öznitelik yönlendiriciye "bu gönderime karışma" diyor: tarayıcı kendi
5149
* navigasyonunu yapıyor, 303 normal şekilde izleniyor. */
50+
---
51+
52+
5253
{okuyucu && (
5354
<form class="oturum" method="POST" action="/cikis" data-astro-reload>
5455
<span class="oturum-ad" title={okuyucu.displayName ?? 'Orbit hesabı'}>

0 commit comments

Comments
 (0)