Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
It now includes presence checks.
  • Loading branch information
VOID404 committed Sep 12, 2024
1 parent 6f2198a commit aa2ad61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions example/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

Generated from `{{ env "$GITHUB_REPOSITORY" }}`

{{ if filep "./example/code.go" -}}
```go
{{ file "./example/code.go"}}
```
{{- end }}
{{if filep "./example/other_code.go" }}
```go
{{ file "./example/other_code.go" }}
```
{{- end -}}

0 comments on commit aa2ad61

Please sign in to comment.