@liascript/exporter 3.1.3--1.0.6 → 3.1.4--1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -729,6 +729,22 @@ logo: https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Universitaetsbib
729
729
 
730
730
  icon: https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Logo_TU_Bergakademie_Freiberg.svg/242px-Logo_TU_Bergakademie_Freiberg.svg.png
731
731
 
732
+ # Optional sticky navigation bar at the top of the page.
733
+ # 'brand' is the text/logo shown on the left, 'background' sets the bar color,
734
+ # 'theme' controls text contrast (dark = white text, light = dark text).
735
+ # Each entry in 'links' becomes a nav item.
736
+ navbar:
737
+ brand: My OER Collection
738
+ background: "#0B6E75" # optional, defaults to #0B6E75
739
+ theme: dark # dark | light, defaults to dark
740
+ links:
741
+ - label: Home
742
+ url: "#"
743
+ - label: Section 1
744
+ url: "#section-1"
745
+ - label: Section 2
746
+ url: "#section-2"
747
+
732
748
  footer: >
733
749
  Simply add a custom footer - that can also contain HTML
734
750
  <a href="https://liascript.github.io" target="_blank">Made with LiaScript</a>
@@ -864,6 +880,22 @@ This way you can generate a very detailed project configuration and overview.
864
880
 
865
881
  **Project settings:**
866
882
 
883
+ **Navbar (YAML key):** Add a `navbar` block to your project YAML to generate a sticky navigation bar at the top of the page:
884
+
885
+ ```yaml
886
+ navbar:
887
+ brand: My OER Collection # text shown on the left side
888
+ background: "#0B6E75" # optional bar color (default: #0B6E75)
889
+ theme: dark # dark (white text) | light (dark text), default: dark
890
+ links:
891
+ - label: Home
892
+ url: "#"
893
+ - label: Section 1
894
+ url: "#section-1"
895
+ ```
896
+
897
+ If `navbar` is absent, no navigation bar is rendered.
898
+
867
899
  `--project-no-meta` Disable the generation of meta information for OpenGraph and Twitter-cards.
868
900
 
869
901
  `--project-no-rdf` Disable the generation of JSON-LD.