Просмотр исходного кода

refactor(baseof): removed unnecessary partials

Russell J. Hewett 6 лет назад
Родитель
Сommit
d3ea424f72

+ 0 - 5
layouts/partials/footer.html

@@ -1,5 +0,0 @@
-{{ partial "site_js.html" . }}
-
-
-  </body>
-</html>

+ 0 - 29
layouts/partials/footer_container.html

@@ -1,29 +0,0 @@
-<div class="container">
-  <footer class="site-footer">
-    {{ with site.GetPage "privacy.md" }}
-    <p class="powered-by">
-      {{ printf "<a href=\"%s\">%s</a>" .RelPermalink .Title | safeHTML }}
-    </p>
-    {{ end }}
-
-    <p class="powered-by">
-      {{ with site.Copyright }}{{ replace . "{year}" now.Year | markdownify}} &middot; {{ end }}
-
-      Powered by the
-      <a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic theme</a> for
-      <a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a>.
-
-      {{ if ne .Type "docs" }}
-      <span class="float-right" aria-hidden="true">
-        <a href="#" id="back_to_top">
-          <span class="button_icon">
-            <i class="fas fa-chevron-up fa-2x"></i>
-          </span>
-        </a>
-      </span>
-      {{ end }}
-    </p>
-  </footer>
-</div>
-
-{{ partial "citation.html" . }}

+ 0 - 7
layouts/partials/header.html

@@ -1,7 +0,0 @@
-<!DOCTYPE html>
-<html lang="{{ site.LanguageCode | default "en-us" }}">
-
-{{ partial "site_head.html" . }}
-
-<body id="top" data-spy="scroll" data-target="{{ if or .IsHome (eq .Type "widget_page") }}#navbar-main{{else}}#TableOfContents{{end}}" data-offset="71" {{ if not (.Scratch.Get "light") }}class="dark"{{end}}>
-  {{ partial "search" . }}