mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 22:15:11 +00:00
Merge branch 'baseof-refactor' of https://github.com/rhewett/hugo-academic into rhewett-baseof-refactor
This commit is contained in:
commit
dcd3c05abd
26 files changed
+118
-73
No files matched your search
+4
-4
@@ -1,5 +1,5 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
<div class="universal-wrapper pt-3">
|
<div class="universal-wrapper pt-3">
|
||||||
|
|
||||||
<h1>{{ i18n "page_not_found" }}</h1>
|
<h1>{{ i18n "page_not_found" }}</h1>
|
||||||
@@ -27,5 +27,5 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<!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" . }}
|
||||||
|
|
||||||
|
{{ partial "navbar.html" . }}
|
||||||
|
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
|
||||||
|
{{ partial "site_js.html" . }}
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
{{ partial "site_footer.html" . }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ partial "citation.html" . }}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
|
|
||||||
@@ -26,5 +25,5 @@
|
|||||||
|
|
||||||
{{ partial "pagination" . }}
|
{{ partial "pagination" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
<article class="article" itemscope itemtype="http://schema.org/Article">
|
<article class="article" itemscope itemtype="http://schema.org/Article">
|
||||||
|
|
||||||
@@ -40,5 +39,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
{{/* Author profile page. */}}
|
{{/* Author profile page. */}}
|
||||||
|
|
||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{/* If an account has not been created for this user, just display their name as the title. */}}
|
{{/* If an account has not been created for this user, just display their name as the title. */}}
|
||||||
{{ if not .File }}
|
{{ if not .File }}
|
||||||
@@ -38,5 +37,4 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
{{/* List of all authors. */}}
|
{{/* List of all authors. */}}
|
||||||
|
|
||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
|
|
||||||
@@ -20,5 +19,5 @@
|
|||||||
|
|
||||||
{{ partial "pagination" . }}
|
{{ partial "pagination" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
+19
-1
@@ -1 +1,19 @@
|
|||||||
{{ partial "docs_layout.html" . }}
|
<!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" . }}
|
||||||
|
|
||||||
|
{{ partial "navbar.html" . }}
|
||||||
|
|
||||||
|
{{ partial "docs_layout.html" . }}
|
||||||
|
|
||||||
|
{{ partial "site_js.html" . }}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
@@ -1 +1,19 @@
|
|||||||
{{ partial "docs_layout.html" . }}
|
<!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" . }}
|
||||||
|
|
||||||
|
{{ partial "navbar.html" . }}
|
||||||
|
|
||||||
|
{{ partial "docs_layout.html" . }}
|
||||||
|
|
||||||
|
{{ partial "site_js.html" . }}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
@@ -1,4 +1,9 @@
|
|||||||
|
{{- define "main" -}}
|
||||||
|
|
||||||
{{ if not (isset site.Params "color_theme") }}
|
{{ if not (isset site.Params "color_theme") }}
|
||||||
{{ errorf "Please complete the installation of Academic by following the steps at https://sourcethemes.com/academic/docs/install/" }}
|
{{ errorf "Please complete the installation of Academic by following the steps at https://sourcethemes.com/academic/docs/install/" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "widget_page.html" . }}
|
{{ partial "widget_page.html" . }}
|
||||||
|
|
||||||
|
{{- end -}}
|
||||||
@@ -1,7 +1,3 @@
|
|||||||
<div class="container">
|
|
||||||
{{ partial "footer_section.html" . }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Citation modal -->
|
<!-- Citation modal -->
|
||||||
<div id="modal" class="modal fade" role="dialog">
|
<div id="modal" class="modal fade" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
@@ -26,4 +22,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{{/* No changes should be made to this file. */}}
|
||||||
|
{{/* Instead, create or modify your sites layout/partials/custom_head.html. */}}
|
||||||
|
|
||||||
|
{{/* This partial is included in themes/academic/layout/partials/site_head.html. */}}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{{/* No changes should be made to this file. */}}
|
||||||
|
{{/* Instead, create or modify your sites layout/partials/custom_js.html. */}}
|
||||||
|
|
||||||
|
{{/* This partial is included in themes/academic/layout/partials/site_js.html. */}}
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
{{ partial "header.html" . }}
|
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
{{ $current_page := . }}
|
{{ $current_page := . }}
|
||||||
|
|
||||||
<div class="container-fluid docs">
|
<div class="container-fluid docs">
|
||||||
@@ -46,10 +44,8 @@
|
|||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{{ partial "footer_section.html" . }}
|
{{ partial "site_footer.html" . }}
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
Whitespace-only changes.
@@ -23,3 +23,4 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="{{ site.LanguageCode | default "en-us" }}">
|
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
@@ -183,10 +181,9 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "cookie_consent" . }}
|
{{ partial "cookie_consent" . }}
|
||||||
{{ partial "head_custom" . }}
|
|
||||||
|
{{ partial "custom_head" . }}
|
||||||
|
|
||||||
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}</title>
|
<title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ site.Title }}</title>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<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 ($scr.Get "light") }}class="dark"{{end}}>
|
|
||||||
{{ partial "search" . }}
|
|
||||||
@@ -150,5 +150,4 @@
|
|||||||
{{ $js_bundle := slice $js_bundle_head $js_bundle | resources.Concat "js/academic.min.js" | fingerprint "md5" }}
|
{{ $js_bundle := slice $js_bundle_head $js_bundle | resources.Concat "js/academic.min.js" | fingerprint "md5" }}
|
||||||
<script src="{{ $js_bundle.RelPermalink }}"></script>
|
<script src="{{ $js_bundle.RelPermalink }}"></script>
|
||||||
|
|
||||||
</body>
|
{{ partial "custom_js" . }}
|
||||||
</html>
|
|
||||||
@@ -1,6 +1,3 @@
|
|||||||
{{ partial "header.html" . }}
|
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{/* Notify JS that this is a widget page */}}
|
{{/* Notify JS that this is a widget page */}}
|
||||||
<span class="js-widget-page d-none"></span>
|
<span class="js-widget-page d-none"></span>
|
||||||
|
|
||||||
@@ -75,6 +72,3 @@
|
|||||||
{{if $use_container}}</div>{{end}}
|
{{if $use_container}}</div>{{end}}
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
<article class="article article-project" itemscope itemtype="http://schema.org/Article">
|
<article class="article article-project" itemscope itemtype="http://schema.org/Article">
|
||||||
|
|
||||||
@@ -73,5 +72,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
<div class="pub" itemscope itemtype="http://schema.org/CreativeWork">
|
<div class="pub" itemscope itemtype="http://schema.org/CreativeWork">
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
@@ -62,5 +62,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
|
|
||||||
@@ -16,5 +15,4 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
|
|
||||||
@@ -23,5 +22,5 @@
|
|||||||
{{ partial "pagination" . }}
|
{{ partial "pagination" . }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
|
|
||||||
@@ -75,5 +74,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
|
|
||||||
@@ -36,5 +35,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{ partial "footer_container.html" . }}
|
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{{ partial "header.html" . }}
|
{{- define "main" -}}
|
||||||
{{ partial "navbar.html" . }}
|
|
||||||
<div class="pub" itemscope itemtype="http://schema.org/Event">
|
<div class="pub" itemscope itemtype="http://schema.org/Event">
|
||||||
|
|
||||||
{{ partial "page_header.html" . }}
|
{{ partial "page_header.html" . }}
|
||||||
@@ -84,5 +84,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ partial "footer_container.html" . }}
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
|
||||||
@@ -1 +1,5 @@
|
|||||||
|
{{- define "main" -}}
|
||||||
|
|
||||||
{{ partial "widget_page.html" . }}
|
{{ partial "widget_page.html" . }}
|
||||||
|
|
||||||
|
{{- end -}}
|
||||||
Reference in new issue
Block a user