homepage highlight icons cliccabili
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m0s
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 2m0s
This commit is contained in:
parent
a0248212e4
commit
0b781b7451
@ -205,3 +205,7 @@ article header div.author {
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-image: url("images/mattermost_logo.svg");
|
background-image: url("images/mattermost_logo.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon.major {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
@ -26,11 +26,13 @@ items:
|
|||||||
items:
|
items:
|
||||||
- title: Events
|
- title: Events
|
||||||
icon: fa-calendar-day
|
icon: fa-calendar-day
|
||||||
|
url: /en/events/
|
||||||
content: >
|
content: >
|
||||||
Come to our events! You would learn all that there is to know about
|
Come to our events! You would learn all that there is to know about
|
||||||
free software and *open source*
|
free software and *open source*
|
||||||
- title: Schools
|
- title: Schools
|
||||||
icon: fa-graduation-cap
|
icon: fa-graduation-cap
|
||||||
|
url: /it/tags/scuola/
|
||||||
content: >
|
content: >
|
||||||
Follow our volunteers on their activities by schools in the province
|
Follow our volunteers on their activities by schools in the province
|
||||||
of Bergamo.
|
of Bergamo.
|
||||||
|
@ -26,11 +26,13 @@ items:
|
|||||||
items:
|
items:
|
||||||
- title: Eventi
|
- title: Eventi
|
||||||
icon: fa-calendar-day
|
icon: fa-calendar-day
|
||||||
|
url: /it/eventi/
|
||||||
content: >
|
content: >
|
||||||
Accorri agli eventi che organizziamo! Avrai modo di imparare tutto
|
Accorri agli eventi che organizziamo! Avrai modo di imparare tutto
|
||||||
quello che c'è da sapere sul software libero o *open source*
|
quello che c'è da sapere sul software libero o *open source*
|
||||||
- title: Scuole
|
- title: Scuole
|
||||||
icon: fa-graduation-cap
|
icon: fa-graduation-cap
|
||||||
|
url: /it/tags/scuola/
|
||||||
content: >
|
content: >
|
||||||
Segui i nostri volontari nelle loro attività presso le scuole della
|
Segui i nostri volontari nelle loro attività presso le scuole della
|
||||||
provincia di Bergamo
|
provincia di Bergamo
|
||||||
|
22
layouts/partials/homepage/blocks/highlights.html
Normal file
22
layouts/partials/homepage/blocks/highlights.html
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<section class="wrapper style1">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row gtr-200">
|
||||||
|
{{- $item_cols := (div 12 (.item.items_per_row | default 3)) }}
|
||||||
|
{{- range .item.items }}
|
||||||
|
<section class="col-{{ $item_cols }} col-12-narrower">
|
||||||
|
<div class="box highlight">
|
||||||
|
{{- if .url -}}
|
||||||
|
<a href="{{ .url }}">
|
||||||
|
{{- end -}}
|
||||||
|
<i class="icon solid major {{ .icon }}"></i>
|
||||||
|
<h3>{{ .title }}</h3>
|
||||||
|
{{- if .url -}}
|
||||||
|
</a>
|
||||||
|
{{- end -}}
|
||||||
|
<p>{{ .content | markdownify }}</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{- end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
Loading…
x
Reference in New Issue
Block a user