From b8655ffd7eb659a94eeff8e6ee5c102c3211ffab Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Fri, 31 Mar 2023 01:28:08 +1000 Subject: [PATCH] Add a better Test Page --- .zs/config.yml | 7 + .zs/include | 12 + .zs/layout.html | 11 +- .zs/onthispage | 7 + TestPage.md | 682 ++++++++++++++++++++++++++++++++++++++++-------- 5 files changed, 604 insertions(+), 115 deletions(-) create mode 100755 .zs/include create mode 100755 .zs/onthispage diff --git a/.zs/config.yml b/.zs/config.yml index 80bf3bb..e8686a9 100644 --- a/.zs/config.yml +++ b/.zs/config.yml @@ -6,6 +6,13 @@ keywords: zen, static, zs, starter, template, site, website, template, generator extensions: - anchor - d2 + - definitionlist - embed - fences + - linkify + - footnote + - strikethrough + - table + - tasklist + - typography - wikilink diff --git a/.zs/include b/.zs/include new file mode 100755 index 0000000..3fd99f4 --- /dev/null +++ b/.zs/include @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ ! $# = 1 ]; then + printf "Usage: %s \n" "$(basename "$0")" + exit 0 +fi + +if [ -f "$1" ]; then + cat "$1" +else + echo "error: file not found $1" +fi diff --git a/.zs/layout.html b/.zs/layout.html index e616d0e..b950219 100644 --- a/.zs/layout.html +++ b/.zs/layout.html @@ -15,16 +15,17 @@ -
-

{{ title }}

-
-
{{ content }}
+
+

{{ title }}

+
+ +
{{ content }}