statical-template: improve, locale
This commit is contained in:
parent
2878e6a33e
commit
4d0a178ff2
2 changed files with 8 additions and 12 deletions
|
@ -6,3 +6,7 @@ output_dir = "output"
|
|||
display_timezone = "EET"
|
||||
agenda_events_per_page = 5
|
||||
agenda_start_date = ""
|
||||
default_calendar_view = "agenda"
|
||||
stylesheet_path = ""
|
||||
copy_stylesheet_to_output = false
|
||||
copy_stylesheet_from = ""
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
padding: 0 0;
|
||||
}
|
||||
.agenda-event-summary, .agenda-event-summary:visited {
|
||||
color: #93117e;
|
||||
color: #93117e !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
.agenda-event-summary:hover, .agenda-event-summary:focus {
|
||||
color: #f19300;
|
||||
color: #f19300 !important;
|
||||
}
|
||||
.agenda-ical_link {
|
||||
float: right;
|
||||
|
@ -28,18 +28,10 @@
|
|||
<ul class="agenda-events">
|
||||
{% for event in events %}
|
||||
<li>
|
||||
<p>
|
||||
<span class="agenda-event-start">
|
||||
{{ event[0].events[0].start_timestamp | date(format="le %d/%m à %H:%M", timezone=timezone) | safe }}
|
||||
</span><br/>
|
||||
<a class="agenda-event-summary"{% if event[1].url %} href="{{ event[1].url }}"{% endif %}>
|
||||
{{ event[1].summary }}
|
||||
</a>
|
||||
</p>
|
||||
<p><span class="agenda-event-start">{{ event[0].events[0].start_timestamp | date(format="%A %d %B à %H:%M", timezone=timezone, locale="fr_FR") | safe }}</span><br/><a class="agenda-event-summary"{% if event[1].url %} href="{{ event[1].url }}"{% endif %}>{{ event[1].summary }}</a></p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<a href="https://mobilizon.cloud-libre.eu/@dubitaristes">➤ Tout l'agenda</a>
|
||||
<a class="agenda-ical_link" href="https://mobilizon.cloud-libre.eu/@dubitaristes/feed/ics" title="Calendrier iCalendar" aria-label="Calendrier iCalendar">🗓</a>
|
||||
<p><a href="https://mobilizon.cloud-libre.eu/@dubitaristes">➤ Voir tout</a> – <a href="https://mobilizon.cloud-libre.eu/@dubitaristes/events?future=false">Archive</a> <a class="agenda-ical_link" href="https://mobilizon.cloud-libre.eu/@dubitaristes/feed/ics" title="Calendrier iCalendar" aria-label="Calendrier iCalendar">🗓</a></p>
|
||||
</div>
|
||||
<!-- calendar from Mobilizon rendered using statical: https://github.com/ZettaScript/statical -->
|
||||
|
|
Loading…
Reference in a new issue