mirror of https://github.com/onweru/compose.git

weru
06.33.2020 0dd93f1fe265e44fed46c20bf87b2222ef7224eb
refactor template
3 files modified
6 ■■■■ changed files
layouts/partials/nav.html 2 ●●● patch | view | raw | blame | history
layouts/partials/search.html 2 ●●● patch | view | raw | blame | history
layouts/partials/sidebar.html 2 ●●● patch | view | raw | blame | history
layouts/partials/nav.html
@@ -11,7 +11,7 @@
            {{ end }}
            <img srcset = '{{ $litPath }}' alt = '{{ $s.Title }} Logo'>
        </picture>
        <label class="nav_toggle toggle" title="Site Menu" role="button">
        <label class="nav_toggle toggle" title='{{ T "site_menu" }}' role="button">
            {{ partial "sprite" (dict "icon" "harmburger") }}
        </label>
    </a>
layouts/partials/search.html
@@ -3,7 +3,7 @@
  <label for="find" class="search_label">
    {{- partial "sprite" (dict "icon" "search") }}
  </label>
  <input type="search" class="search_field" placeholder="{{ .Site.Params.searchPlaceholder }}" id="find" autocomplete="off">
  <input type="search" class="search_field" placeholder='{{ T "search_field_placeholder" }}' id="find" autocomplete="off">
  <div class="search_results"></div>
</div>
{{ end }}
layouts/partials/sidebar.html
@@ -1,6 +1,6 @@
<aside class="aside menu">
  <div>
    <label class="aside_toggle toggle" title="Docs Menu" role="button">Docs Menu {{ partial "sprite" (dict "icon" "harmburger") }}</label>
    <label class="aside_toggle toggle" title='{{ T "docs_menu" }}' role="button">{{ T "docs_menu" }} {{ partial "sprite" (dict "icon" "harmburger") }}</label>
  </div>
  {{- template "tree" (dict "page" . "section" .FirstSection)  }}
  {{- define "tree" }}