diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ef74318..d5b9e25 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -62,26 +62,26 @@ {{ else if eq $left_sidebar true }}
-
-
- {{ block "sidebar" . }}{{ end }} - {{ partial "layout/sidebar" }} -
-
+
+
{{ block "main" . }}{{ end }}
+
+ {{ block "sidebar" . }}{{ end }} + {{ partial "layout/sidebar" }} +
{{ else }}
-
-
+
+
{{ block "main" . }}{{ end }}
-
- {{ block "sidebar" . }}{{ end }} - {{ partial "layout/sidebar" }} -
+
+
+ {{ block "sidebar" . }}{{ end }} + {{ partial "layout/sidebar" }}
{{ end }} diff --git a/layouts/shortcodes/table.html b/layouts/shortcodes/table.html new file mode 100644 index 0000000..c1991d9 --- /dev/null +++ b/layouts/shortcodes/table.html @@ -0,0 +1,6 @@ +{{ $htmlTable := .Inner | markdownify }} +{{ $class := .Get 0 }} +{{ $old := "" }} +{{ $new := printf "
" $class }} +{{ $htmlTable := replace $htmlTable $old $new }} +{{ $htmlTable | safeHTML }} \ No newline at end of file