-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (80 loc) · 3.44 KB
/
Copy pathindex.html
File metadata and controls
90 lines (80 loc) · 3.44 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
layout: default
title: "42DevOps | Infrastructure & Engineering Notes"
---
<section class="hero-banner">
<canvas id="hero-pretext-canvas" class="hero-pretext-canvas"></canvas>
<div class="hero-content pretext-obstacle">
<h1 class="hero-title" style="margin-bottom: 0.75rem;">Infrastructure, Systems & Engineering</h1>
<p class="hero-subtitle" style="margin: 0 auto;">Notes on Kubernetes, DevOps, Cloud Infrastructure, and Software Architecture.</p>
</div>
</section>
<script src="/js/dragon.js?v={{ site.time | date: '%s' }}" defer></script>
<script src="/js/hero-pretext.js?v={{ site.time | date: '%s' }}" defer></script>
<section id="articles" style="margin-bottom: 3rem;">
<div class="section-header">
<h2 class="section-title">Articles</h2>
</div>
<div class="filter-bar" id="category-filters">
<button class="filter-pill active" data-filter="all">All Posts</button>
{% assign categories = site.categories | sort %}
{% for category in categories %}
<button class="filter-pill" data-filter="{{ category[0] | downcase }}">{{ category[0] | capitalize }}</button>
{% endfor %}
</div>
<div class="posts-grid" id="posts-container">
{% for post in site.posts %}
<a href="{{ post.url }}" class="post-card {% if forloop.first %}featured-card{% endif %}" data-categories="{% if post.categories %}{{ post.categories | join: ' ' | downcase }}{% endif %}">
{% if forloop.first %}
<div class="featured-badge">Featured Article</div>
{% endif %}
<div class="post-card-header">
<h3 class="post-card-title">{{ post.title }}</h3>
<span class="post-card-meta">
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%b %d, %Y" }}</time>
</span>
</div>
{% if post.excerpt %}
<div class="post-card-snippet">
{% if forloop.first %}
{{ post.excerpt | strip_html | truncatewords: 42 }}
{% else %}
{{ post.excerpt | strip_html | truncatewords: 24 }}
{% endif %}
</div>
{% endif %}
{% if post.categories %}
<div style="margin-top: 0.75rem; display: flex; gap: 0.35rem; flex-wrap: wrap;">
{% for category in post.categories %}
<span class="tag-badge">{{ category }}</span>
{% endfor %}
</div>
{% endif %}
</a>
{% endfor %}
</div>
</section>
<section id="projects" style="margin-bottom: 3rem;">
<div class="section-header">
<h2 class="section-title">Featured Projects</h2>
</div>
<div class="projects-grid">
<a href="https://github.com/42devops/salt-kube-lite" target="_blank" rel="noopener" class="project-card">
<div>
<div class="project-name">
<span style="display: flex; align-items: center; gap: 0.35rem;">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--brand-primary)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
Salt-Kube Lite
</span>
<span class="tag-badge">Kubernetes</span>
</div>
<p class="project-desc">
SaltStack quickstart to bootstrap a production-ready, highly available Kubernetes cluster.
</p>
</div>
<div style="margin-top: 1rem; font-size: 0.8rem; color: var(--brand-primary); font-weight: 600;">
View on GitHub →
</div>
</a>
</div>
</section>