We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f22e37e commit a1a18e8Copy full SHA for a1a18e8
Makefile
@@ -1,4 +1,4 @@
1
-VERSION = 0.1.8
+VERSION = 0.1.9
2
SOURCE = ./...
3
4
.DEFAULT_GOAL := build
templates/html.tmpl
@@ -1,5 +1,5 @@
-<h2>{{ .Heading }}</h2>
-<p>{{ .Description }}</p>
+{{ if .Heading }}<h2>{{ .Heading }}</h2>{{ end }}
+{{ if .Description }}<p>{{ .Description }}</p>{{ end }}
<table>
<tr>
5
<th>Output</th>
templates/markdown.tmpl
@@ -1,6 +1,6 @@
-## {{ .Heading }}
+{{ if .Heading }}## {{ .Heading }}{{ end }}
-{{ .Description }}
+{{ if .Description }}{{ .Description }}{{ end }}
| Output | Value | Type
6
| --- | --- | --- |
0 commit comments