diff options
| author | Jieiku | 2023-08-25 01:44:50 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-25 01:44:50 -0700 |
| commit | 009d3f90b1881530bd28003abe83cfc3735882be (patch) | |
| tree | 5112554449edf2aaff956b9c364133ec41ff39c5 /content/overview-showdata.md | |
| parent | c04ff0a3ac2aff149c3454f7563de3f7941e373d (diff) | |
| download | abridge-009d3f90b1881530bd28003abe83cfc3735882be.tar.gz abridge-009d3f90b1881530bd28003abe83cfc3735882be.tar.bz2 abridge-009d3f90b1881530bd28003abe83cfc3735882be.zip | |
Refactor Documentation, PWA Fix, image shortcodes fix, simplify js script loading
Diffstat (limited to 'content/overview-showdata.md')
| -rw-r--r-- | content/overview-showdata.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/content/overview-showdata.md b/content/overview-showdata.md new file mode 100644 index 0000000..90e4406 --- /dev/null +++ b/content/overview-showdata.md @@ -0,0 +1,29 @@ ++++ +title = "Showdata Shortcode" +description = "A brief description of a custom Shortcode for Zola that implements loading and displaying external data." +date = 2021-05-04 +draft = false + +[taxonomies] +tags = ["Features","Data","Shortcodes"] +[extra] +keywords = "Data, Load, External, Shortcodes" ++++ + +The `showdata` shortcode can load and display data from an external source via Zola's [load_data()](https://www.getzola.org/documentation/templates/overview/#load-data) function. + +<!-- more --> + +These are the parameters, currently all 3 are required. + +- `src` path or url to file (if url, must include the http(s):// prefix). +- `type` the type of file to load. ([supported types](https://www.getzola.org/documentation/templates/overview/#load-data)) +- `key` the field in the data that you want to display. + +### Usage + +This theme requires version {{ showdata(src="https://raw.githubusercontent.com/Jieiku/abridge/master/theme.toml" type="toml" key="min_version") }} or later of Zola. + +### Output + +This theme requires version {{ showdata(src="https://raw.githubusercontent.com/Jieiku/abridge/master/theme.toml" type="toml" key="min_version") }} or later of Zola. |
