remove sub module theme and add our own theme
This commit is contained in:
30
themes/tse/layouts/_default/baseof.html
Normal file
30
themes/tse/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.Lang }}">
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
</head>
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
|
||||
<!-- We do need jQuery to be loaded before HugoScroll script -->
|
||||
|
||||
{{ $scriptJquery := resources.Get "js/jquery-3.6.3.min.js" }}
|
||||
|
||||
<!-- The main JavaScript files for HugoScroll -->
|
||||
{{ $scriptIndex := resources.Get "js/index.js" }}
|
||||
{{ $scriptPolyfill := resources.Get "js/css-vars-ponyfill.min.js" }}
|
||||
{{ $js := slice $scriptJquery $scriptIndex $scriptPolyfill | resources.Concat "js/script.js" | resources.Minify | resources.Fingerprint }}
|
||||
|
||||
<script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}" ></script>
|
||||
|
||||
<!-- activate css-vars-ponyfill.min.js -->
|
||||
<script>cssVars();</script>
|
||||
|
||||
<!-- A partial to be overwritten by the user.
|
||||
Simply place a custom_body.html into
|
||||
your local /layouts/partials-directory -->
|
||||
{{- partial "custom_body.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user