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 61f1ce6 commit cd78b49Copy full SHA for cd78b49
2 files changed
assets/css/component-projects/repo-card.scss
@@ -55,6 +55,7 @@
55
display: flex;
56
flex-direction: column;
57
height: 100%;
58
+ position: relative;
59
60
.repo-name {
61
@@ -162,6 +163,13 @@
162
163
}
164
165
166
+
167
+ .repo-post {
168
+ position: absolute;
169
+ top: calc(0.875rem * 1.5);
170
+ height: calc(100% - 0.875rem * 1.5 - 0.75rem * 1.5);
171
+ width: 100%;
172
+ }
173
174
175
layouts/partials/plugin/gh-repo-card.html
@@ -43,6 +43,11 @@
43
</a>
44
{{- end -}}
45
</p>
46
+ {{- $postLink := printf "/%v/%v" page.Section $repoInfo.full_name -}}
47
+ {{- $page := site.GetPage $postLink -}}
48
+ {{- with site.GetPage $postLink -}}
49
+ <a class="repo-post" href="{{ .RelPermalink }}"></a>
50
+ {{- end -}}
51
</div>
52
53
{{- else -}}
0 commit comments