feat: use latex hugo template
This commit is contained in:
parent
1d12f5614d
commit
9004c27ceb
56 changed files with 1666 additions and 2 deletions
17
layouts/_default/baseof.html
Normal file
17
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
{{- partial "head.html" . -}}
|
||||
{{- if site.Params.darkmode -}}
|
||||
<body class="latex-dark">
|
||||
{{- else if site.Params.lightmode -}}
|
||||
<body>
|
||||
{{- else -}}
|
||||
<body class="latex-dark-auto">
|
||||
{{- end -}}
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue