@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 +32 -0
- package/dist/assets/pdf/{index.f610bc39.js → index.a3a83b9d.js} +1 -1
- package/dist/assets/pdf/index.html +1 -1
- package/dist/assets/scorm1.2/{index.8a84517b.js → index.1f2f2a52.js} +1 -1
- package/dist/assets/scorm1.2/index.html +1 -1
- package/dist/assets/scorm2004/{index.52a9c8c7.js → index.82c21d53.js} +1 -1
- package/dist/assets/scorm2004/index.html +1 -1
- package/dist/assets/web/{index.cfc3039e.js → index.559bcb91.js} +1 -1
- package/dist/assets/web/index.html +1 -1
- package/dist/assets/{xapi/jszip.min.63142cc8.js → web/jszip.min.4fbcc13f.js} +1 -1
- package/dist/assets/xapi/{index.247e0b2a.js → index.b6b45ad9.js} +1 -1
- package/dist/assets/xapi/{index.adc1a301.js → index.ea86764f.js} +1 -1
- package/dist/assets/xapi/index.html +1 -1
- package/dist/assets/{web/jszip.min.63142cc8.js → xapi/jszip.min.4fbcc13f.js} +1 -1
- package/dist/index.js +59 -38
- package/package.json +1 -1
- /package/dist/assets/{scorm1.2 → pdf}/jszip.min.63142cc8.js +0 -0
- /package/dist/assets/{pdf → scorm1.2}/jszip.min.4fbcc13f.js +0 -0
- /package/dist/assets/{xapi → scorm2004}/jszip.min.19c66d77.js +0 -0
- /package/dist/assets/{scorm2004 → xapi}/jszip.min.eaecf580.js +0 -0
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.
|