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 f003980 commit 9691763Copy full SHA for 9691763
docs/layouts/_shortcodes/starcharts.html
@@ -1,6 +1,15 @@
1
+{{- /*
2
+Displays a starchart for a GitHub repository.
3
+Supports both light and dark mode.
4
+
5
+@param {string} repo The name of the GitHub repository.
6
7
+@example {{< starcharts repo="golangci/golangci-lint" >}}
8
9
+*/ -}}
10
{{- $repo := .Get "repo" -}}
11
-<a href="https://starchart.cc/{{ $repo }}">
12
+<a href="https://starchart.cc/{{ $repo }}" target="_blank">
13
<img
14
alt="Stargazers over time"
15
src="https://starchart.cc/{{ $repo }}.svg"
0 commit comments