- var path = location.pathname; body(class=`${path}`)
これだと「undefined」というclassが付与されます。
ページごとにユニークのclassを付与することはできますか?
あなたの回答
tips
プレビュー
投稿2022/11/28 02:27
- var path = location.pathname; body(class=`${path}`)
これだと「undefined」というclassが付与されます。
ページごとにユニークのclassを付与することはできますか?
あなたの回答
tips
プレビュー