sqzass.git

sqzass

~ A static site generator written in Rust
git clone https://github.com/debuman/sqzass.git

docs/templates/partials/colophon.html (2188B)

      1 {#- 사이트 푸터. base.html(docs)과 landing.html이 같은 파일을 include한다 —
      2     푸터는 사이트 어디서나 같은 물건으로 보여야 하고, 두 벌을 두면 반드시
      3     어긋난다. 스타일은 각 시트(main.css / landing.css)의 .colophon 블록이 진다. #}
      4 <footer class="colophon">
      5   <div class="colophon-grid">
      6     <div class="colophon-brand">
      7       <a class="colophon-mark" href="{{ home }}">
      8         <img src="{{ asset("images/logo.png") }}" alt="" width="121" height="120">
      9         <span>{{ site.title }}</span>
     10       </a>
     11       {#- site.description은 사이트에 하나뿐이라 언어를 타지 않는다. 한국어
     12           페이지에 영어 한 줄이 남는 자리라서 i18n에서 가져온다. #}
     13       <p>{{ t("tagline") }}</p>
     14     </div>
     15 
     16     {#- 문서 갈래는 넣지 않는다. 상단바가 sticky라 화면에서 사라지지 않고,
     17         사이드바에도 있다. 같은 목록을 세 번째로 두는 건 채우는 것이지
     18         보태는 것이 아니다. #}
     19     <div>
     20       <h2>{{ t("footer_project") }}</h2>
     21       <ul>
     22         <li><a href="https://github.com/debuman/sqzass">GitHub</a></li>
     23         <li><a href="https://github.com/debuman/sqzass/releases">{{ t("footer_releases") }}</a></li>
     24         <li><a href="https://github.com/debuman/sqzass/issues">{{ t("footer_issues") }}</a></li>
     25         <li><a href="https://github.com/debuman/sqzass/blob/main/LICENSE">MIT</a></li>
     26       </ul>
     27     </div>
     28 
     29     {#- 이 빌드가 실제로 내보낸 파일들. 자기 자신을 빌드하는 도구의 문서라서
     30         여기 링크가 곧 증거가 된다 — 문서가 "이런 걸 만듭니다"라고 말한 것을
     31         눌러서 확인할 수 있다. #}
     32     <div>
     33       <h2>{{ t("footer_this_build") }}</h2>
     34       <ul>
     35         <li><a href="{{ site.base_path }}/sitemap.xml">sitemap.xml</a></li>
     36         <li><a href="{{ site.base_path }}/robots.txt">robots.txt</a></li>
     37         <li><a href="{{ site.base_path }}/llms.txt">llms.txt</a></li>
     38         {%- if site.search %}
     39         <li><a href="{{ site.search }}">{{ t("footer_search_index") }}</a></li>
     40         {%- endif %}
     41       </ul>
     42     </div>
     43   </div>
     44 </footer>