mirror of https://github.com/onweru/compose.git

weru
27.02.2020 eafb88c4a6f9db03e4e1deb9898d70b4ed951bbc
edit example
4 files modified
25 ■■■■ changed files
exampleSite/config.toml 9 ●●●● patch | view | raw | blame | history
exampleSite/content/_index.md 10 ●●●● patch | view | raw | blame | history
exampleSite/content/docs/_index.md 5 ●●●●● patch | view | raw | blame | history
exampleSite/content/docs/compose/shortcodes.md 1 ●●●● patch | view | raw | blame | history
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/"
exampleSite/content/_index.md
@@ -26,7 +26,11 @@
![diy](/images/scribble.jpg)
{{< /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 >}}
{{< /grid >}}
{{< button "docs/compose/graphs-charts-tables/" "Learn more" "mt-2" >}}
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" >}}
{{< button "./clarity/" "Clarity Theme Docs" >}}
exampleSite/content/docs/compose/shortcodes.md
@@ -56,6 +56,7 @@
| :---  | :--- | :--- |
| label | button text | no |
| url | button link | no |
| modifier | styling classes | yes |
**Example**