File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,10 @@ and it can be much faster than the simple binary installation.
26
26
Also, the action creates GitHub annotations for found issues (you don't need to dig into build log to see found by golangci-lint issues).
27
27
28
28
{{< cards cols=2 >}}
29
- {{< card subtitle="Console Output" image=" /images/colored-line-number.png" >}}
30
- {{< card subtitle="Annotations" image=" /images/annotations.png" >}}
29
+ {{< image- card src=" /images/colored-line-number.png" title="Console Output " >}}
30
+ {{< image- card src=" /images/annotations.png" title="Annotations " >}}
31
31
{{< /cards >}}
32
32
33
-
34
33
### GitLab CI
35
34
36
35
GitLab provides a [ guide for integrating golangci-lint into the Code Quality widget] ( https://docs.gitlab.com/ci/testing/code_quality/#golangci-lint ) .
Original file line number Diff line number Diff line change
1
+ {{- /*
2
+ Creates a card for an image.
3
+
4
+ @param {string} src The path to the image.
5
+ @param {string} title The title text for the image.
6
+
7
+ @example {{< image-card src ="path/to/image.png " title ="Image description " > }}
8
+ */ -}}
9
+
10
+ {{- $src := .Get "src" -}}
11
+ {{- $title := .Get "title" -}}
12
+
13
+ < div class ="hextra-card hx-group hx-flex hx-flex-col hx-justify-start hx-overflow-hidden ">
14
+ < img class ="hextra-card-image " src ="{{ $src }} " alt ="{{ $title }} " title ="{{ $title }} "/>
15
+ </ div >
You can’t perform that action at this time.
0 commit comments