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

adding gsi logo by default

parent 3ec7263a
......@@ -29,6 +29,7 @@ buildfuture = true
#showShareIcons = false
# Date format
dateFormat = "2 January, 2006"
logo = "/gsi-logo-high.png"
[taxonomies]
category = "categories"
......
......@@ -19,11 +19,12 @@
<div class="row">
<div class="col-3 box-logo">
<a href="{{ .Permalink | relURL }}">
<img src="{{ .Params.logo}}">
</a>
</div>
<div class="col-3 box-logo">
<a href="{{ .Permalink | relURL }}">
<img src="{{ if .Params.logo}} {{ .Params.logo }} {{ else }} {{ .Site.Params.logo }} {{ end }}">
</a>
</div>
<div class="col">
<div class="proyect-title">
<a href="{{ .Permalink | relURL }}" class="article-titles">
......@@ -50,9 +51,11 @@
{{- end }}
<br>
<div class="research-areas-card">
<b>Líneas de Investigación:</b> {{ delimit .Params.categories ", " " and " | humanize}}<br>
</div>
{{ if .Params.categories }}
<div class="research-areas-card">
<b>Research area:</b> {{ delimit .Params.categories ", " " and " | humanize}}<br>
</div>
{{ end }}
<div class="subtitle-card">
{{ if .Params.subtitle }}
......
......@@ -30,15 +30,13 @@
{{- end }}
{{- end }}
</ul>
{{ partial "toc.html" . }}
<div class="article-content">
{{- if .Params.logo }}
<div class="row card-row">
<div class="col card-col">
<div class="card card-project">
{{ with .Params.logo }}<img class="card-img-top" src="{{ . }}" alt="Card image cap"> {{ end }}
<img class="card-img-top" src="{{ if .Params.logo}} {{ .Params.logo }} {{ else }} {{ .Site.Params.logo }} {{ end }}" alt="Card image cap">
<div class="card-body text-center">
{{- if .Params.github }}
......@@ -60,6 +58,10 @@
{{- if .Params.pypi }}
{{ with .Params.pypi }}<a href="{{ . }}"><i class="fab fa-python fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
{{ if .Params.npm }}
{{ with .Params.npm }}<a href="{{ . }}"><i class="fab fa-npm fa-lg icon" style="color:#00a9e0"></i></a>{{ end }}
{{ end }}
</div>
</div>
......@@ -104,7 +106,6 @@
{{ end }}
</div>
</div>
{{ end }}
{{ .Content }}
</div>
......@@ -119,9 +120,7 @@
{{ $relatedPages = $relatedPages | append . }}
<div class="col-auto mb-3" style="width: 18rem;">
<div class="card">
{{ if .Params.logo }}
<a href="{{ .RelPermalink }}">{{ with .Params.logo }}<img class="card-img-top" src="{{ . }}" alt="Card image cap">{{ end }}</a>
{{ end }}
<a href="{{ .RelPermalink }}"><img class="card-img-top" src="{{ if .Params.logo}} {{ .Params.logo }} {{ else }} {{ .Site.Params.logo }} {{ end }}" alt="Card image cap"></a>
<div class="card-body">
<a href="{{ .RelPermalink }}"><h5 class="card-title">{{ .Title }}</h5></a>
......@@ -145,9 +144,7 @@
{{ range . }}
<div class="col-auto mb-3" style="width: 18rem;">
<div class="card">
{{ if .Params.logo }}
<a href="{{ .RelPermalink }}">{{ with .Params.logo }}<img class="card-img-top" src="{{ . }}" alt="Card image cap">{{ end }}</a>
{{ end }}
<a href="{{ .RelPermalink }}"><img class="card-img-top" src="{{ if .Params.logo}} {{ .Params.logo }} {{ else }} {{ .Site.Params.logo }} {{ end }}" alt="Card image cap"></a>
<div class="card-body">
<a href="{{ .RelPermalink }}"><h5 class="card-title">{{ .Title }}</h5></a>
......
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