diff options
| author | Jieiku | 2022-10-21 12:26:37 -0700 |
|---|---|---|
| committer | Jieiku | 2022-10-21 12:26:37 -0700 |
| commit | 5281b8bf0a5dfec8460f54e0d0d06ecd4e285e0a (patch) | |
| tree | b523bba04f02137274bb29501b9f0e8381af50e9 /README.md | |
| parent | 56df031dd2a21570f05c3218d08655e1ffe25234 (diff) | |
| download | abridge-5281b8bf0a5dfec8460f54e0d0d06ecd4e285e0a.tar.gz abridge-5281b8bf0a5dfec8460f54e0d0d06ecd4e285e0a.tar.bz2 abridge-5281b8bf0a5dfec8460f54e0d0d06ecd4e285e0a.zip | |
exclude data_tinysearch & data_stork from sitemap.xml by marking as draft
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |
