{{ if $show_breadcrumb }}
- {{ partial "breadcrumb" $current_page }}
+ {{ partial "breadcrumb" $current_page }}
{{ end }}
-
+
\ No newline at end of file
diff --git a/layouts/partials/book_sidebar.html b/layouts/partials/book_sidebar.html
new file mode 100644
index 00000000..aca58d54
--- /dev/null
+++ b/layouts/partials/book_sidebar.html
@@ -0,0 +1,93 @@
+
+
+
diff --git a/layouts/partials/site_footer.html b/layouts/partials/site_footer.html
index 955d3998..9fbef991 100644
--- a/layouts/partials/site_footer.html
+++ b/layouts/partials/site_footer.html
@@ -3,7 +3,7 @@
{{ .Title }}
@@ -65,5 +49,21 @@{{ .Title }}
{{ partial "site_footer" . }} + + {{/* Show ToC by default. */}} + {{ if ne .Params.toc false }} +
+ {{ partial "hooks/page_toc_start" . }}
+
+
+
+ {{ .TableOfContents }}
+
+ {{ partial "hooks/page_toc_end" . }}
+
+ {{ end }}
+
+
+
diff --git a/layouts/shortcodes/diagram.html b/layouts/shortcodes/diagram.html
new file mode 100644
index 00000000..f4a18c21
--- /dev/null
+++ b/layouts/shortcodes/diagram.html
@@ -0,0 +1,3 @@
+
+ {{ with .Get 0 }}
+ {{ .Get 0 }}:
+ {{ else }}
+ Note:
+ {{ end }}
+ {{ .Inner | markdownify | emojify }}
+
+
+ {{- safeHTML .Inner -}}
+
\ No newline at end of file
diff --git a/layouts/shortcodes/info.html b/layouts/shortcodes/info.html
index aa16fe6b..7ec2d295 100644
--- a/layouts/shortcodes/info.html
+++ b/layouts/shortcodes/info.html
@@ -1,5 +1,6 @@
+ Info:
{{ .Inner | markdownify | emojify }}
{{ .Get "text" | markdownify | emojify }}
diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html index 32e41bea..9b3620ca 100644 --- a/layouts/shortcodes/warning.html +++ b/layouts/shortcodes/warning.html @@ -1,5 +1,6 @@
+ Warning:
{{ .Inner | markdownify | emojify }}
+ +{{ end }} {{ end -}} diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html new file mode 100644 index 00000000..ffc875ba --- /dev/null +++ b/layouts/taxonomy/tag.html @@ -0,0 +1,39 @@ +{{- define "main" -}} + +{{ partial "page_header.html" . }} + +
+ {{ with .Content }}
+
+
+{{- end -}}
diff --git a/static/scripts/split_outmd.py b/static/scripts/split_outmd.py
index e05f2153..4a6e48fc 100644
--- a/static/scripts/split_outmd.py
+++ b/static/scripts/split_outmd.py
@@ -35,7 +35,7 @@
#Now set up the files
-date=datetime.now(timezone.utc).strftime('%Y-%m-%d-%H:%M:%SZ')
+date=datetime.now(timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ')
#Index
with open('_index.md','w') as nfile:
@@ -47,7 +47,6 @@
nfile.write('tags: '+"[fill]\n")
nfile.write('type: docs '+"\n")
nfile.write('weight: 1 '+"\n")
- nfile.write('date: '+date+"\n")
nfile.write("\n")
nfile.write("menu: \n")
nfile.write(" "+base+":\n")
{{ . }}
+ {{ end }}
+
+ {{ $paginator := .Paginate .Data.Pages }}
+ {{ range $paginator.Pages }}
+ {{ $link := .RelPermalink }}
+ {{ $target := "" }}
+ {{ with .Params.external_link }}
+ {{ $link = . }}
+ {{ $target = "target=\"_blank\" rel=\"noopener\"" }}
+ {{ end }}
+
+ {{ if .Title }}
+
+ {{ end }} +
+ {{ end }}
+
+ {{ partial "pagination" . }}
+{{ .Title }}
+ {{ else }} ++ {{ end }} +
+ {{ if .Params.summary }}
+ {{ .Params.summary | plainify | emojify }}
+ {{ else if .Params.abstract }}
+ {{ .Params.abstract | plainify | emojify | truncate 250 }}
+ {{ else if .Summary }}
+ {{ .Summary | plainify | emojify }}
+ {{ end }}
+
+