|
@@ -26,25 +26,39 @@
|
|
</a>
|
|
</a>
|
|
<div class="card-body text-justify pt-1 pb-1">
|
|
<div class="card-body text-justify pt-1 pb-1">
|
|
<p>{{ .summary | markdownify }}</p>
|
|
<p>{{ .summary | markdownify }}</p>
|
|
- <span class="float-right">
|
|
|
|
- {{ if .repo }}
|
|
|
|
- <a
|
|
|
|
- class="github-button-inactive"
|
|
|
|
- href="{{ .repo }}"
|
|
|
|
- data-icon="octicon-standard"
|
|
|
|
- data-show-count="true"
|
|
|
|
- aria-label="Star {{ .name }}"
|
|
|
|
- >Star</a
|
|
|
|
- >
|
|
|
|
- {{ else if .url }}
|
|
|
|
- <a
|
|
|
|
- class="btn btn-outline-info btn-sm mb-2"
|
|
|
|
- href="{{ .url }}"
|
|
|
|
- target="#"
|
|
|
|
- >Details</a
|
|
|
|
- >
|
|
|
|
|
|
+ <!-- Display project card technology tags -->
|
|
|
|
+ <div class="project-card-footer">
|
|
|
|
+ {{ if .tags }}
|
|
|
|
+ <div class="project-tags-holder">
|
|
|
|
+ {{ range $index,$tag:= .tags }}
|
|
|
|
+ <span class="badge btn-info">
|
|
|
|
+ {{ $tag }}
|
|
|
|
+ </span>
|
|
|
|
+ {{ end }}
|
|
|
|
+ </div>
|
|
{{ end }}
|
|
{{ end }}
|
|
- </span>
|
|
|
|
|
|
+ <div class="project-btn-holder">
|
|
|
|
+ {{ if .repo }}
|
|
|
|
+ <a
|
|
|
|
+ class="github-button-inactive project-btn"
|
|
|
|
+ href="{{ .repo }}"
|
|
|
|
+ data-icon="octicon-standard"
|
|
|
|
+ data-show-count="true"
|
|
|
|
+ aria-label="Star {{ .name }}"
|
|
|
|
+ >Star</a
|
|
|
|
+ >
|
|
|
|
+ {{ else if .url }}
|
|
|
|
+ <span>
|
|
|
|
+ <a
|
|
|
|
+ class="btn btn-outline-info btn-sm"
|
|
|
|
+ href="{{ .url }}"
|
|
|
|
+ target="#"
|
|
|
|
+ >Details</a
|
|
|
|
+ >
|
|
|
|
+ </span>
|
|
|
|
+ {{ end }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|