add profiles
This commit is contained in:
parent
ac3ba1ee4d
commit
880134b91b
52 changed files with 115 additions and 146 deletions
|
@ -1,9 +1,9 @@
|
|||
<div class="team-mosaic">
|
||||
{{ range .Site.Data.members.members }}
|
||||
<div class="team-item">
|
||||
<div class="team-item-image"><img src="{{ .img|safeURL }}" alt="avatar"></div>
|
||||
<div class="team-item-image"><img {{if .imgnoncover }}id="noncover"{{end}} src="/profiles/{{ .img }}{{ if .imgpng }}.png{{ else }}.jpg{{ end }}" alt="avatar"></div>
|
||||
<p class="team-item-title">{{ .name }}</p>
|
||||
<p class="team-item-description">{{ .post }}</p>
|
||||
<p class="team-item-description">{{ if (and .descriptionen (eq .Lang "en")) }}{{ .posten }}{{ else }}{{ .post }}{{ end }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<img src="{{ if .realimg }}{{ .realimg }}{{ else }}/proxyPhotos?code=/{{ .img }}{{ end }}">
|
||||
</a>
|
||||
<div class="w-full md:w-2/3">
|
||||
{{ .description | safeHTML }}
|
||||
{{ if (and .descriptionen (eq .Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<div class="maplibre-map" id="short-code-slippy-map"></div>
|
||||
|
||||
<div class="maplibre-map" id="short-code-slippy-map" style="height:100%;"></div>
|
||||
<script src="https://unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.js"></script>
|
||||
<link href="https://unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.css" rel="stylesheet" />
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue