mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Adding the site theme to git
This commit is contained in:
19
_site/themes/hyde-hyde/layouts/_default/baseof.html
Normal file
19
_site/themes/hyde-hyde/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}" class="wf-firasans-n4-active wf-active">
|
||||
<head>
|
||||
{{ block "header" . -}}{{- end }}
|
||||
</head>
|
||||
<body {{- if .Site.Params.themeColor }} class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}" {{ end }}>
|
||||
{{ partial "sidebar.html" . }}
|
||||
<div class="content container">
|
||||
{{ block "content" . }}{{ end }}
|
||||
<div class="footer">
|
||||
{{ block "footer" . }}{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<!-- Google Analytics -->
|
||||
{{ if .Site.GoogleAnalytics -}}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{- end }}
|
||||
</body>
|
||||
</html>
|
||||
10
_site/themes/hyde-hyde/layouts/_default/list.html
Normal file
10
_site/themes/hyde-hyde/layouts/_default/list.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ define "header" -}}
|
||||
{{ partial "header.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "content_list.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
{{- end }}
|
||||
11
_site/themes/hyde-hyde/layouts/_default/single.html
Normal file
11
_site/themes/hyde-hyde/layouts/_default/single.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ define "header" -}}
|
||||
{{ partial "header.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "content" -}}
|
||||
{{ partial "content_single.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "footer" -}}
|
||||
{{ partial "commenting.html" . }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user