Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/cards')
-rw-r--r--layouts/partials/cards/project.html50
1 files changed, 32 insertions, 18 deletions
diff --git a/layouts/partials/cards/project.html b/layouts/partials/cards/project.html
index 6b4f959..81d3fcd 100644
--- a/layouts/partials/cards/project.html
+++ b/layouts/partials/cards/project.html
@@ -26,25 +26,39 @@
</a>
<div class="card-body text-justify pt-1 pb-1">
<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 }}
- </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>