diff --git a/README.md b/README.md index 6aeb80b..090278d 100644 --- a/README.md +++ b/README.md @@ -37,3 +37,15 @@ $ zola serve ...as per [zola docs](https://www.getzola.org/documentation/getting-started/overview) +## how to disable loading +go to `content/index.md`, and in the `+++` blocks, set `extra.noload` to `true`. + +like this: +```toml ++++ +title = "Welcome" + +[extra] +noload = true ++++ +``` diff --git a/templates/index.html b/templates/index.html index 608bec4..5b40f57 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,18 +15,20 @@ {% block root %} -
-
- Loading . . .
+{% if page.extra.noload %}
+
+
+ Loading . . .
-
- Credit for loading gif to
-
- BDragon1727
-
-
-