-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeployments.html
More file actions
70 lines (60 loc) · 1.98 KB
/
deployments.html
File metadata and controls
70 lines (60 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
layout: page
title: Deployments
permalink: /deployments.html
---
{% assign deployments_sorted = site.deployments | sort: "date" %}
<div class="two-column-layout">
<!-- LEFT: main scrollable content (2/3 width) -->
<div class="two-column-main">
<ul class="deployment-list">
{% for d in deployments_sorted reversed %}
{% assign anchor_id = "deployment-" | append: d.slug %}
<li class="deployment-item" id="{{ anchor_id }}">
<!-- Title -->
<div class="deployment-title">
<a href="{{ d.url | relative_url }}">{{ d.title }}</a>
</div>
<!-- Event info -->
{% if d.event %}
<div class="deployment-event">
{{ d.event }}
</div>
{% endif %}
<!-- Location and dates -->
<div class="deployment-meta-row">
{% if d.location %}
<span class="deployment-location">{{ d.location }}</span>
{% endif %}
{% if d.from and d.till %}
<span class="deployment-dates">
{{ d.from | date: "%B %Y" }} – {{ d.till | date: "%B %Y" }}
</span>
{% endif %}
</div>
<!-- Content preview (first 50 words from body) -->
{% if d.content %}
<div class="deployment-preview">
{{ d.content | strip_html | truncatewords: 50 }}
<a href="{{ d.url | relative_url }}" class="deployment-read-more">Read more →</a>
</div>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<!-- RIGHT: sidebar with list of deployments (1/3 width) -->
<aside class="two-column-sidebar">
<div class="sidebar-section">
<h2 class="sidebar-title">Deployments</h2>
<ul class="sidebar-list">
{% for d in deployments_sorted reversed %}
{% assign anchor_id = "deployment-" | append: d.slug %}
<li>
<a href="#{{ anchor_id }}">{{ d.title }}</a>
</li>
{% endfor %}
</ul>
</div>
</aside>
</div>