Skip to content

Commit

Permalink
improve rendering in template
Browse files Browse the repository at this point in the history
  • Loading branch information
seethroughdev committed Nov 21, 2023
1 parent b0bfa80 commit 136d525
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build obsidian plugin

on:
push:
branches:
- master
tags:
- "*"
workflow_dispatch:

env:
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "recipe-grabber",
"name": "Recipe Grabber",
"version": "0.16.0",
"version": "0.17.0",
"minAppVersion": "0.15.0",
"description": "Quickly grab the important contents of any online recipe.",
"author": "seethroughdev",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recipe-grabber",
"version": "0.16.0",
"version": "0.17.0",
"description": "Quickly grab the important contents of any online recipe.",
"main": "main.js",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ url: {{url}}
### Ingredients
{{#each recipeIngredient}}
- {{this}}
- {{{this}}}
{{/each}}
### Instructions
{{#each recipeInstructions}}
{{#if this.itemListElement}}
#### {{this.name}}
#### {{{this.name}}}
{{#each this.itemListElement}}
- {{this.text}}
- {{{this.text}}}
{{/each}}
{{else}}
- {{this.text}}
- {{{this.text}}}
{{/if}}
{{/each}}
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"0.12.0": "0.15.0",
"0.13.0": "0.15.0",
"0.15.0": "0.15.0",
"0.16.0": "0.15.0"
"0.16.0": "0.15.0",
"0.17.0": "0.15.0"
}

0 comments on commit 136d525

Please sign in to comment.