diff --git a/.zs/list b/.zs/list new file mode 100755 index 0000000..ace7f3d --- /dev/null +++ b/.zs/list @@ -0,0 +1,27 @@ +#!/bin/sh + +if [ ! $# = 1 ]; then + printf >&2 "Usage: %s [ext]\n" "$(basename "$0")" + exit 0 +fi + +p="$1" +t="${2:-md}" + +if [ ! -d "$p" ]; then + printf >&2 "error: path %s not found\n" "$p" + exit 1 +fi + +find "$p" -type f -name "*.$t" | while read -r file; do + name="${file#"$p"}" + name="${name#"/"}" + name="${name%.*}" + + title="$(zs vars "$file" title)" + if [ -z "$title" ]; then + title="$name" + fi + + echo "- [$title](${p}/${name}.html)" +done diff --git a/.zs/scripts b/.zs/scripts index d324fa8..a706244 100755 --- a/.zs/scripts +++ b/.zs/scripts @@ -15,5 +15,5 @@ if [ -n "$ZS_PRODUCTION" ]; then fi for js in $JS; do - printf "\n" "$js" "$ext" + printf "\n" "$js" "$ext" done diff --git a/.zs/slides.html b/.zs/slides.html index e492eb7..b412a5e 100644 --- a/.zs/slides.html +++ b/.zs/slides.html @@ -6,16 +6,16 @@ {{ title }} - - - + + + - - - + + + - + @@ -28,10 +28,10 @@ - - - - + + + + - + \ No newline at end of file diff --git a/.zs/styles b/.zs/styles index 859e923..6d57d8d 100755 --- a/.zs/styles +++ b/.zs/styles @@ -10,5 +10,5 @@ if [ -n "$ZS_PRODUCTION" ]; then fi for css in $CSS; do - printf "\n" "$css" "$ext" + printf "\n" "$css" "$ext" done diff --git a/css/bahunya.css b/assets/css/bahunya.css similarity index 100% rename from css/bahunya.css rename to assets/css/bahunya.css diff --git a/css/site.css b/assets/css/site.css similarity index 100% rename from css/site.css rename to assets/css/site.css diff --git a/js/live.js b/assets/js/live.js similarity index 100% rename from js/live.js rename to assets/js/live.js diff --git a/reveal.js/css/reset.css b/assets/reveal.js/css/reset.css similarity index 100% rename from reveal.js/css/reset.css rename to assets/reveal.js/css/reset.css diff --git a/reveal.js/css/reveal.css b/assets/reveal.js/css/reveal.css similarity index 100% rename from reveal.js/css/reveal.css rename to assets/reveal.js/css/reveal.css diff --git a/reveal.js/css/theme/beige.css b/assets/reveal.js/css/theme/beige.css similarity index 100% rename from reveal.js/css/theme/beige.css rename to assets/reveal.js/css/theme/beige.css diff --git a/reveal.js/css/theme/black-contrast.css b/assets/reveal.js/css/theme/black-contrast.css similarity index 100% rename from reveal.js/css/theme/black-contrast.css rename to assets/reveal.js/css/theme/black-contrast.css diff --git a/reveal.js/css/theme/black.css b/assets/reveal.js/css/theme/black.css similarity index 100% rename from reveal.js/css/theme/black.css rename to assets/reveal.js/css/theme/black.css diff --git a/reveal.js/css/theme/blood.css b/assets/reveal.js/css/theme/blood.css similarity index 100% rename from reveal.js/css/theme/blood.css rename to assets/reveal.js/css/theme/blood.css diff --git a/reveal.js/css/theme/dracula.css b/assets/reveal.js/css/theme/dracula.css similarity index 100% rename from reveal.js/css/theme/dracula.css rename to assets/reveal.js/css/theme/dracula.css diff --git a/reveal.js/css/theme/fonts/league-gothic/LICENSE b/assets/reveal.js/css/theme/fonts/league-gothic/LICENSE similarity index 100% rename from reveal.js/css/theme/fonts/league-gothic/LICENSE rename to assets/reveal.js/css/theme/fonts/league-gothic/LICENSE diff --git a/reveal.js/css/theme/fonts/league-gothic/league-gothic.css b/assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.css similarity index 100% rename from reveal.js/css/theme/fonts/league-gothic/league-gothic.css rename to assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.css diff --git a/reveal.js/css/theme/fonts/league-gothic/league-gothic.eot b/assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.eot similarity index 100% rename from reveal.js/css/theme/fonts/league-gothic/league-gothic.eot rename to assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.eot diff --git a/reveal.js/css/theme/fonts/league-gothic/league-gothic.ttf b/assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.ttf similarity index 100% rename from reveal.js/css/theme/fonts/league-gothic/league-gothic.ttf rename to assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.ttf diff --git a/reveal.js/css/theme/fonts/league-gothic/league-gothic.woff b/assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.woff similarity index 100% rename from reveal.js/css/theme/fonts/league-gothic/league-gothic.woff rename to assets/reveal.js/css/theme/fonts/league-gothic/league-gothic.woff diff --git a/reveal.js/css/theme/fonts/source-sans-pro/LICENSE b/assets/reveal.js/css/theme/fonts/source-sans-pro/LICENSE similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/LICENSE rename to assets/reveal.js/css/theme/fonts/source-sans-pro/LICENSE diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.eot b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.eot similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.eot rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.eot diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.ttf diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.woff b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.woff similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.woff rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-italic.woff diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.eot b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.eot similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.eot rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.eot diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.ttf diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.woff b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.woff similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.woff rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-regular.woff diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.eot diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.ttf diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibold.woff diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.eot diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.ttf diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro-semibolditalic.woff diff --git a/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro.css b/assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro.css similarity index 100% rename from reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro.css rename to assets/reveal.js/css/theme/fonts/source-sans-pro/source-sans-pro.css diff --git a/reveal.js/css/theme/league.css b/assets/reveal.js/css/theme/league.css similarity index 100% rename from reveal.js/css/theme/league.css rename to assets/reveal.js/css/theme/league.css diff --git a/reveal.js/css/theme/moon.css b/assets/reveal.js/css/theme/moon.css similarity index 100% rename from reveal.js/css/theme/moon.css rename to assets/reveal.js/css/theme/moon.css diff --git a/reveal.js/css/theme/night.css b/assets/reveal.js/css/theme/night.css similarity index 100% rename from reveal.js/css/theme/night.css rename to assets/reveal.js/css/theme/night.css diff --git a/reveal.js/css/theme/serif.css b/assets/reveal.js/css/theme/serif.css similarity index 100% rename from reveal.js/css/theme/serif.css rename to assets/reveal.js/css/theme/serif.css diff --git a/reveal.js/css/theme/simple.css b/assets/reveal.js/css/theme/simple.css similarity index 100% rename from reveal.js/css/theme/simple.css rename to assets/reveal.js/css/theme/simple.css diff --git a/reveal.js/css/theme/sky.css b/assets/reveal.js/css/theme/sky.css similarity index 100% rename from reveal.js/css/theme/sky.css rename to assets/reveal.js/css/theme/sky.css diff --git a/reveal.js/css/theme/solarized.css b/assets/reveal.js/css/theme/solarized.css similarity index 100% rename from reveal.js/css/theme/solarized.css rename to assets/reveal.js/css/theme/solarized.css diff --git a/reveal.js/css/theme/white-contrast.css b/assets/reveal.js/css/theme/white-contrast.css similarity index 100% rename from reveal.js/css/theme/white-contrast.css rename to assets/reveal.js/css/theme/white-contrast.css diff --git a/reveal.js/css/theme/white.css b/assets/reveal.js/css/theme/white.css similarity index 100% rename from reveal.js/css/theme/white.css rename to assets/reveal.js/css/theme/white.css diff --git a/reveal.js/css/theme/white_contrast_compact_verbatim_headers.css b/assets/reveal.js/css/theme/white_contrast_compact_verbatim_headers.css similarity index 100% rename from reveal.js/css/theme/white_contrast_compact_verbatim_headers.css rename to assets/reveal.js/css/theme/white_contrast_compact_verbatim_headers.css diff --git a/reveal.js/js/reveal.js b/assets/reveal.js/js/reveal.js similarity index 100% rename from reveal.js/js/reveal.js rename to assets/reveal.js/js/reveal.js diff --git a/reveal.js/plugin/highlight/highlight.esm.js b/assets/reveal.js/plugin/highlight/highlight.esm.js similarity index 100% rename from reveal.js/plugin/highlight/highlight.esm.js rename to assets/reveal.js/plugin/highlight/highlight.esm.js diff --git a/reveal.js/plugin/highlight/highlight.js b/assets/reveal.js/plugin/highlight/highlight.js similarity index 100% rename from reveal.js/plugin/highlight/highlight.js rename to assets/reveal.js/plugin/highlight/highlight.js diff --git a/reveal.js/plugin/highlight/monokai.css b/assets/reveal.js/plugin/highlight/monokai.css similarity index 100% rename from reveal.js/plugin/highlight/monokai.css rename to assets/reveal.js/plugin/highlight/monokai.css diff --git a/reveal.js/plugin/highlight/plugin.js b/assets/reveal.js/plugin/highlight/plugin.js similarity index 100% rename from reveal.js/plugin/highlight/plugin.js rename to assets/reveal.js/plugin/highlight/plugin.js diff --git a/reveal.js/plugin/highlight/zenburn.css b/assets/reveal.js/plugin/highlight/zenburn.css similarity index 100% rename from reveal.js/plugin/highlight/zenburn.css rename to assets/reveal.js/plugin/highlight/zenburn.css diff --git a/reveal.js/plugin/markdown/markdown.esm.js b/assets/reveal.js/plugin/markdown/markdown.esm.js similarity index 100% rename from reveal.js/plugin/markdown/markdown.esm.js rename to assets/reveal.js/plugin/markdown/markdown.esm.js diff --git a/reveal.js/plugin/markdown/markdown.js b/assets/reveal.js/plugin/markdown/markdown.js similarity index 100% rename from reveal.js/plugin/markdown/markdown.js rename to assets/reveal.js/plugin/markdown/markdown.js diff --git a/reveal.js/plugin/markdown/plugin.js b/assets/reveal.js/plugin/markdown/plugin.js similarity index 100% rename from reveal.js/plugin/markdown/plugin.js rename to assets/reveal.js/plugin/markdown/plugin.js diff --git a/reveal.js/plugin/notes/notes.esm.js b/assets/reveal.js/plugin/notes/notes.esm.js similarity index 100% rename from reveal.js/plugin/notes/notes.esm.js rename to assets/reveal.js/plugin/notes/notes.esm.js diff --git a/reveal.js/plugin/notes/notes.js b/assets/reveal.js/plugin/notes/notes.js similarity index 100% rename from reveal.js/plugin/notes/notes.js rename to assets/reveal.js/plugin/notes/notes.js diff --git a/reveal.js/plugin/notes/plugin.js b/assets/reveal.js/plugin/notes/plugin.js similarity index 100% rename from reveal.js/plugin/notes/plugin.js rename to assets/reveal.js/plugin/notes/plugin.js diff --git a/reveal.js/plugin/notes/speaker-view.html b/assets/reveal.js/plugin/notes/speaker-view.html similarity index 100% rename from reveal.js/plugin/notes/speaker-view.html rename to assets/reveal.js/plugin/notes/speaker-view.html diff --git a/index.md b/index.md index 820df54..026a9ec 100644 --- a/index.md +++ b/index.md @@ -76,8 +76,7 @@ With the [wikilink][wikilink] extension you can link to other pages more easily ### We can even do slides! -- [[SlideExample]] -- [[TestSlides]] +{{ list slides }} ## License diff --git a/SlideExample.md b/slides/SlideExample.md similarity index 100% rename from SlideExample.md rename to slides/SlideExample.md diff --git a/TestSlides.md b/slides/TestSlides.md similarity index 100% rename from TestSlides.md rename to slides/TestSlides.md