Commit 88a58d08 authored by Francisco Jesús Acién Pérez's avatar Francisco Jesús Acién Pérez
Browse files

Mod demo section

parent a6d54393
{{ define "main" }}
{{- if eq .Kind "taxonomy" }}
<div class="breadcrumb">
<a href="{{ "/" | relURL }}{{ .Data.Plural | urlize }}/">{{ .Data.Plural | humanize }}</a> / {{ .Data.Term | humanize }}
</div>
{{- else if eq .Kind "section" }}
<div class="breadcrumb">
{{ .Title }}
</div>
{{- end }}
<div class="main" role="main">
<section class="list {{ .Kind }}-list">
{{- $paginator := .Paginator }}
{{- range $paginator.Pages }}
<div class="card proyect-card">
<div class="card-body">
<div class="row">
<div class="col-3 box-logo">
<a href="{{ .Params.demo }}">
<img src="{{ .Params.logo}}">
</a>
<div class="icons-sub-logo">
{{- if .Params.github }}
{{ with .Params.github }}<a href="{{ . }}"><i class="fab fa-github fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
{{- if .Params.gitlab }}
{{ with .Params.gitlab }}<a href="{{ . }}"><i class="fab fa-gitlab fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
{{- if .Params.docs }}
{{ with .Params.docs }}<a href="{{ . }}"><i class="fas fa-book fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
{{- if .Params.docker }}
{{ with .Params.docker }}<a href="{{ . }}"><i class="fab fa-docker fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
{{- if .Params.pypi }}
{{ with .Params.pypi }}<a href="{{ . }}"><i class="fab fa-python fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
</div>
</div>
<div class="col">
<div class="proyect-title">
<a href="{{ .Params.demo }}" class="article-titles">
<h2 class="article-title">{{ .Title }}</h2>
</a>
</div>
<div class="research-areas-card">
<b>Demo from: </b> {{ range where $.Site.Pages "File.BaseFileName" .Params.parent_project }} {{ .Title }} {{ end }}<br>
</div>
<div class="subtitle-card">
{{ if .Params.subtitle }}
{{ .Params.subtitle }}
{{ end }}
</div>
</div>
</div>
</div>
</div>
{{- end }}
</section>
{{ template "_internal/pagination.html" . }}
</div>
{{ end }}
......@@ -74,6 +74,11 @@ h1 {
margin-bottom: 10px;
}
.icons-sub-logo{
margin-top: 10px;
text-align: center;
}
.subtitle-card {
margin-top: 10px;
margin-bottom: 10px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment