From eafb88c4a6f9db03e4e1deb9898d70b4ed951bbc Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 27 Dec 2020 17:02:24 +0000
Subject: [PATCH] edit example
---
exampleSite/config.toml | 9 ++++++++-
exampleSite/content/_index.md | 10 +++++++---
exampleSite/content/docs/_index.md | 5 +++--
exampleSite/content/docs/compose/shortcodes.md | 1 +
4 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 808f555..1c1405c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -32,7 +32,7 @@
hl_Lines = ""
lineNoStart = 1
lineNos = true
- lineNumbersInTable = true
+ lineNumbersInTable = false
noClasses = false
style = "monokai"
tabWidth = 2
@@ -51,6 +51,12 @@
time_format_default = "January 2, 2006"
enableDarkMode = true # set to false to disable darkmode by default # user will still have the option to use dark mode
+ # sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
+ codeMaxLines = 7
+
+ # disable showing line numbers by default. Switch to `true` if you'd rather have them on.
+ codeLineNumbers = false
+
# Site logo
[params.logo]
lightMode = "compose.svg"
@@ -66,3 +72,4 @@
[params.author]
name = "Weru"
url = "https://neuralvibes.com/author/"
+
diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md
index bca7eca..14990a6 100644
--- a/exampleSite/content/_index.md
+++ b/exampleSite/content/_index.md
@@ -26,7 +26,11 @@

{{< /column >}}
{{< /block >}}
-
-{{< grid "3 mt-2" >}}
+{{< column "mt-3" >}}
+### You can generate graphs, charts and tables from a csv, ~~or a json~~ dataset
+{{< /column >}}
+{{< grid "3 mt-1" >}}
{{< chart "data" "pie, bar, doughnut" >}}
-{{< /grid >}}
\ No newline at end of file
+{{< /grid >}}
+
+{{< button "docs/compose/graphs-charts-tables/" "Learn more" "mt-2" >}}
\ No newline at end of file
diff --git a/exampleSite/content/docs/_index.md b/exampleSite/content/docs/_index.md
index fa5fbe7..5a86a91 100644
--- a/exampleSite/content/docs/_index.md
+++ b/exampleSite/content/docs/_index.md
@@ -12,6 +12,7 @@
<!-- That content is better than dummy lorem ipsum 2) That content serves a good real-world demo for this theme 3) Publish more structured docs for each theme which are better than long blocky READMEs -->
-{{< button "./compose/" "Compose Theme Docs" >}}
+{{< button "./compose/" "Compose Theme Docs" "mb-1" >}}
-{{< button "./clarity/" "Clarity Theme Docs" >}}
\ No newline at end of file
+{{< button "./clarity/" "Clarity Theme Docs" >}}
+
diff --git a/exampleSite/content/docs/compose/shortcodes.md b/exampleSite/content/docs/compose/shortcodes.md
index 80cc889..4ca5fe3 100644
--- a/exampleSite/content/docs/compose/shortcodes.md
+++ b/exampleSite/content/docs/compose/shortcodes.md
@@ -56,6 +56,7 @@
| :--- | :--- | :--- |
| label | button text | no |
| url | button link | no |
+| modifier | styling classes | yes |
**Example**
--
Gitblit v1.10.0