「飲食店検索」の版間の差分
提供: 川西図鑑
その他の操作
編集の要約なし |
編集の要約なし |
||
| 1行目: | 1行目: | ||
<html> | |||
<nav class="breadcrumb"> | |||
<a href="/">ホーム</a> | |||
› <a href="/飲食店検索">飲食店検索</a> | |||
<span id='navText'></span> | |||
</nav> | |||
<style> | |||
.breadcrumb { | |||
font-size: 14px; | |||
color: #555; | |||
margin-bottom: 12px; | |||
} | |||
.breadcrumb a { | |||
color: #3366cc; | |||
text-decoration: none; | |||
} | |||
.breadcrumb span { | |||
color: #333; | |||
font-weight: bold; | |||
} | |||
</style> | |||
</html> | |||
== 検索条件 == | == 検索条件 == | ||
<!-- 検索ボックス --> | <!-- 検索ボックス --> | ||
| 388行目: | 413行目: | ||
// タイトル生成 | // タイトル生成 | ||
let title = "川西市でおすすめのグルメ情報をご紹介! | 川西図鑑"; | let title = "川西市でおすすめのグルメ情報をご紹介! | 川西図鑑"; | ||
// パンくず用テキスト生成 | |||
let nav = ""; | |||
if (area) { | if (area) { | ||
if (category) { | if (category) { | ||
title = `${area}でおすすめのおいしい${category}をご紹介! | 川西図鑑`; | title = `${area}でおすすめのおいしい${category}をご紹介! | 川西図鑑`; | ||
nav = ` › ${area} × ${category}`; | |||
} else { | } else { | ||
title = `${area}でおすすめのおいしいグルメをご紹介! | 川西図鑑`; | title = `${area}でおすすめのおいしいグルメをご紹介! | 川西図鑑`; | ||
nav = ` › ${area}`; | |||
} | } | ||
} else if (category) { | } else if (category) { | ||
title = `川西市でおすすめのおいしい${category}をご紹介! | 川西図鑑`; | title = `川西市でおすすめのおいしい${category}をご紹介! | 川西図鑑`; | ||
nav = ` › ${category}`; | |||
} | } | ||
// タイトル更新 | // タイトル更新 | ||
document.title = title; | document.title = title; | ||
// パンくず更新 | |||
document.getElementById('navText').textContent = nav; | |||
if (area) { | if (area) { | ||
2025年12月9日 (火) 18:51時点における版
検索条件
エラー: テーブル飲食店情報が見つかりません。
件
検索結果
エラー: テーブル飲食店情報が見つかりません。