Skip to content

Commit

Permalink
Try to improve arduino library search results, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
floatplane committed Jul 8, 2024
1 parent 8ff5857 commit 58a7e0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion examples/partials/partials.ino
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ void setup() {
// Render the template with the data. The third argument is the partials list. This
// defines how to map a partial reference like "person" to a particular template
// ("personString").
auto output = ministache::render(reportTemplate, data, {{"person", personTemplate}});
ministache::PartialList partials = {{"person", personTemplate}};
auto output = ministache::render(reportTemplate, data, partials);

// Print the result
Serial.println(output);
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Ministache",
"version": "1.0.0",
"description": "Ministache is a small, fast and spec-complete implementation of the Mustache templating language for Arduino. All core Mustache tags are supported: interpolation, partials, sections, inverted sections, custom delimiters, and comments.",
"version": "1.0.1",
"description": "A small, fast and spec-complete implementation of the Mustache template language for Arduino, supporting interpolation, partials, sections, inverted sections, custom delimiters, and comments.",
"keywords": ["mustache", "moustache", "text", "text processor", "template", "logic-less", "html"],
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=Ministache
version=1.0.0
version=1.0.1
author=Brian Sharon <[email protected]>
maintainer=Brian Sharon <[email protected]>
sentence=Complete implementation of a Mustache template processor for Arduino
paragraph=Ministache is a small, fast and spec-complete implementation of the Mustache templating language for Arduino. All core Mustache tags are supported: interpolation, partials, sections, inverted sections, custom delimiters, and comments.
sentence=Mustache template engine for Arduino and ESP32 - render HTML templates dynamically
paragraph=A small, fast and spec-complete implementation of the Mustache template language for Arduino, supporting interpolation, partials, sections, inverted sections, custom delimiters, and comments.
category=Data Processing
url=https://github.com/floatplane/ministache
architectures=*
Expand Down

0 comments on commit 58a7e0b

Please sign in to comment.