Add badge logos and encode Danish badges as YAML #56
|
@ -204,6 +204,10 @@ aside > footer img:hover {
|
|||
opacity : 1;
|
||||
}
|
||||
|
||||
.badge-icon {
|
||||
width: 30px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
dl.dl-services {
|
||||
display : grid;
|
||||
|
|
|
@ -1,26 +1,22 @@
|
|||
<h2>{{ i18n "badges_headline" }}</h2>
|
||||
|
||||
<dl class="dl-badges">
|
||||
|
||||
{{ range $badge_key, $badge := $.Site.Data.badges.da.badges.badges }}
|
||||
|
||||
<dt>{{ title .name }}</dt>
|
||||
<h3>
|
||||
{{ title .name }}
|
||||
<img src="{{ "/static/img" | absURL }}/badges/{{ .icon }}" class="badge-icon">
|
||||
</h3>
|
||||
|
||||
<dd>{{ markdownify .description }}</dd>
|
||||
{{ markdownify .description }}
|
||||
|
||||
{{ end }}
|
||||
|
||||
</dl>
|
||||
|
||||
<h2>{{ i18n "status_headline" }}</h2>
|
||||
|
||||
<dl class="dl-status">
|
||||
{{ range $.Site.Data.badges.da.status.status }}
|
||||
|
||||
<dt>{{ title .name }}</dt>
|
||||
<h3>{{ title .name }}</h3>
|
||||
|
||||
<dd>{{ markdownify .description }}</dd>
|
||||
{{ markdownify .description }}
|
||||
|
||||
{{ end }}
|
||||
</dl>
|
||||
|
||||
|
|
Loading…
Reference in a new issue