카톡 채널 연결 버그 수정·canonical 추가·모바일 내비 터치 영역 확대
- templates/index.html: 인라인 스크립트 문자열에 실제 개행이 들어가 문법 오류 → 카톡 문의 버튼이 동작하지 않던 문제 (배열 join으로 교체) - content/site.json: 카톡 채널 주소 추가 - templates/base.html: canonical 태그, 헤더 앵커를 같은 페이지에서는 #앵커로 (불필요한 재로딩 제거) - assets/css/site.css: 모바일 내비 터치 영역 45px (음수 마진으로 글자 위치 유지)
This commit is contained in:
1 parent
7aaa488825
commit
72e1926d87
5 files changed
+24
-15
No files matched your search
@@ -470,6 +470,7 @@ def build_index(
|
||||
"og_title": esc(title),
|
||||
"og_description": esc(intro),
|
||||
"og_image": esc(absolute_url(hero_image)),
|
||||
"canonical": SITE_BASE,
|
||||
"og_type": "website",
|
||||
"body_class": "is-home",
|
||||
"intro": esc(intro),
|
||||
@@ -589,6 +590,7 @@ def build_product_page(
|
||||
"og_title": esc(title),
|
||||
"og_description": esc(description),
|
||||
"og_image": esc(absolute_url(image)),
|
||||
"canonical": absolute_url("p/" + product["slug"] + ".html"),
|
||||
"og_type": "product",
|
||||
"body_class": "is-product",
|
||||
"slug": esc(product["slug"]),
|
||||
|
||||
Reference in new issue
Block a user