Files
teamat/templates/base.html
T
koreafood 72e1926d87 카톡 채널 연결 버그 수정·canonical 추가·모바일 내비 터치 영역 확대
- templates/index.html: 인라인 스크립트 문자열에 실제 개행이 들어가 문법 오류 → 카톡 문의 버튼이 동작하지 않던 문제 (배열 join으로 교체)
- content/site.json: 카톡 채널 주소 추가
- templates/base.html: canonical 태그, 헤더 앵커를 같은 페이지에서는 #앵커로 (불필요한 재로딩 제거)
- assets/css/site.css: 모바일 내비 터치 영역 45px (음수 마진으로 글자 위치 유지)
2026-11-01 18:59:49 +09:00

74 lines
2.8 KiB
HTML

<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{title}}</title>
<meta name="description" content="{{description}}">
<meta name="theme-color" content="#F6F2EA">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500&amp;family=Noto+Serif+KR:wght@400;600&amp;display=swap" rel="stylesheet">
<link rel="canonical" href="{{canonical}}">
<link rel="stylesheet" href="{{asset_prefix}}assets/css/site.css">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' fill='%23F6F2EA'/%3E%3Cpath d='M9 9l14 14M23 9L9 23' stroke='%236C7A63' stroke-width='2'/%3E%3C/svg%3E">
<meta property="og:title" content="{{og_title}}">
<meta property="og:description" content="{{og_description}}">
<meta property="og:image" content="{{og_image}}">
<meta property="og:type" content="{{og_type}}">
</head>
<body class="{{body_class}}">
<a class="skip-link" href="#main">본문으로 건너뛰기</a>
<header class="site-head">
<div class="shell head-inner">
<a class="wordmark" href="{{home}}index.html" aria-label="{{brand_name}} 홈">
<span class="wordmark-ko">{{brand_name}}</span>
<span class="wordmark-en">{{brand_name_en}}</span>
</a>
<nav class="nav" aria-label="주요">
<a href="{{home}}#works">작품</a>
<a href="{{home}}#process">과정</a>
<a href="{{home}}#kit">키트</a>
<a href="{{home}}#contact">문의</a>
</nav>
</div>
</header>
<main id="main">
{{content}}
</main>
<footer class="site-foot">
<div class="shell">
<div class="foot-meta">
<p>{{footer_note}}</p>
<p class="foot-contact">
<a href="{{email_href}}">{{contact_email}}</a>
<span class="foot-sep" aria-hidden="true">/</span>
{{instagram_link}}
</p>
</div>
<p class="foot-brand">{{brand_name}}</p>
<div class="foot-credits">
<p class="credits-title">이미지 출처</p>
<ul class="credits">
{{#credits}}<li><span>{{title}}</span> — {{author}} / {{license}}</li>{{/credits}}
</ul>
</div>
<p class="foot-copy">© {{since}} {{brand_name}}</p>
</div>
</footer>
<script>
// 작업실(studio) 링크: 로컬에서 열었을 때만 보인다. 운영 사이트에서는 hidden 그대로.
if (["localhost", "127.0.0.1"].indexOf(location.hostname) !== -1) {
document.querySelectorAll(".studio-edit").forEach(function (el) { el.hidden = false; });
}
</script>
</body>
</html>