| commit c7a5d7c0f6d39fb50cd0cb4bc59ab5b9b2a5baa3 parent 40221266e98c6cdeb9f08ab2f75a4995519a2407 Author: sqzer <110329244+sqzer-x@users.noreply.github.com> Date: Sat, 25 Jul 2026 21:29:39 +0900 Delete three partials nothing includes base.html carries its own masthead and colophon markup, so partials/header, partials/footer and the lang-switch that only header pulled in have never been rendered. A template that is never reached is worse than no template: the next person to change the header edits one of them and wonders why the page does not move. Diffstat:
|
| 3 files changed, 0 insertion(+), 16 deletion(-) |
diff --git a/docs/templates/partials/footer.html b/docs/templates/partials/footer.html @@ -1,3 +0,0 @@ -<footer> - <p>{{ site.description }}</p> -</footer> diff --git a/docs/templates/partials/header.html b/docs/templates/partials/header.html @@ -1,4 +0,0 @@ -<header> - <a href="{% if page.language == "en" %}/{% else %}/{{ page.language }}/{% endif %}" class="brand">{{ site.title }}</a> - {% include "partials/lang-switch.html" %} -</header> diff --git a/docs/templates/partials/lang-switch.html b/docs/templates/partials/lang-switch.html @@ -1,9 +0,0 @@ -{# page.translations는 번역이 실제로 있는 언어만 담는다. 비어 있으면 아무것도 그리지 - 않는다 — 없는 번역으로 보내는 링크를 만들지 않기 위해서다. #} -{%- if page.translations %} -<nav aria-label="Language"> - {%- for t in page.translations %} - <a href="{{ t.url }}" lang="{{ t.code }}" hreflang="{{ t.code }}">{{ t.name }}</a> - {%- endfor %} -</nav> -{%- endif %} |