aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--content/static/stork_toml.md1
-rw-r--r--content/static/tinysearch_json.md1
3 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 82f0852..e8baf7d 100644
--- a/README.md
+++ b/README.md
@@ -174,6 +174,8 @@ Switch abridge to tinysearch:
```shell
cd ~/.dev/abridge
sed -i 's/^search_library =.*/search_library = "tinysearch"/' config.toml
+sed -i 's/^draft =.*/draft = true/' content/static/stork_toml.md
+sed -i 's/^draft =.*/draft = false/' content/static/tinysearch_json.md
zola build
tinysearch --optimize --path static public/data_tinysearch/index.html
# zola serve
@@ -196,6 +198,8 @@ Switch abridge to stork:
```shell
cd ~/.dev/abridge
sed -i 's/^search_library =.*/search_library = "stork"/' config.toml
+sed -i 's/^draft =.*/draft = false/' content/static/stork_toml.md
+sed -i 's/^draft =.*/draft = true/' content/static/tinysearch_json.md
zola build
stork build --input public/data_stork/index.html --output static/stork.st
# zola serve
@@ -207,6 +211,8 @@ abridge as a theme:
```shell
cd ~/.dev/abridge
sed -i 's/^search_library =.*/search_library = false/' config.toml
+sed -i 's/^draft =.*/draft = true/' themes/abridge/content/static/stork_toml.md
+sed -i 's/^draft =.*/draft = true/' themes/abridge/content/static/tinysearch_json.md
zola build
npm run abridge
zola build
@@ -217,6 +223,8 @@ abridge theme directly:
```shell
cd ~/.dev/abridge
sed -i 's/^search_library =.*/search_library = false/' config.toml
+sed -i 's/^draft =.*/draft = true/' content/static/stork_toml.md
+sed -i 's/^draft =.*/draft = true/' content/static/tinysearch_json.md
zola build
npm run abridge-demo
zola build
diff --git a/content/static/stork_toml.md b/content/static/stork_toml.md
index a56dc03..0f7b8a4 100644
--- a/content/static/stork_toml.md
+++ b/content/static/stork_toml.md
@@ -1,4 +1,5 @@
+++
path = "data_stork"
template = "stork_toml.html"
+draft = true
+++ \ No newline at end of file
diff --git a/content/static/tinysearch_json.md b/content/static/tinysearch_json.md
index 2edbcd2..c0125f1 100644
--- a/content/static/tinysearch_json.md
+++ b/content/static/tinysearch_json.md
@@ -1,4 +1,5 @@
+++
path = "data_tinysearch"
template = "tinysearch_json.html"
+draft = true
+++ \ No newline at end of file