Skip to content

Commit fc5186c

Browse files
committed
New website with a single article.
1 parent 5645066 commit fc5186c

40 files changed

+2594
-42
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/_site
2+
/.jekyll-cache

Gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'jekyll', '4.2.2'
4+
gem 'jekyll-watch'
5+
gem 'jekyll-paginate-v2'
6+
gem 'jekyll-multiple-languages-plugin'
7+
gem 'jekyll-redirect-from'
8+
9+
gem "webrick", "~> 1.7"

Gemfile.lock

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.5)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.2)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.15.5)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.8.0)
15+
i18n (1.14.1)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (4.2.2)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 2.3)
25+
kramdown-parser-gfm (~> 1.0)
26+
liquid (~> 4.0)
27+
mercenary (~> 0.4.0)
28+
pathutil (~> 0.9)
29+
rouge (~> 3.0)
30+
safe_yaml (~> 1.0)
31+
terminal-table (~> 2.0)
32+
jekyll-multiple-languages-plugin (1.8.0)
33+
jekyll (>= 2.0, < 5.0)
34+
jekyll-paginate-v2 (3.0.0)
35+
jekyll (>= 3.0, < 5.0)
36+
jekyll-redirect-from (0.16.0)
37+
jekyll (>= 3.3, < 5.0)
38+
jekyll-sass-converter (2.2.0)
39+
sassc (> 2.0.1, < 3.0)
40+
jekyll-watch (2.2.1)
41+
listen (~> 3.0)
42+
kramdown (2.4.0)
43+
rexml
44+
kramdown-parser-gfm (1.1.0)
45+
kramdown (~> 2.0)
46+
liquid (4.0.4)
47+
listen (3.8.0)
48+
rb-fsevent (~> 0.10, >= 0.10.3)
49+
rb-inotify (~> 0.9, >= 0.9.10)
50+
mercenary (0.4.0)
51+
pathutil (0.16.2)
52+
forwardable-extended (~> 2.6)
53+
public_suffix (5.0.3)
54+
rb-fsevent (0.11.2)
55+
rb-inotify (0.10.1)
56+
ffi (~> 1.0)
57+
rexml (3.2.6)
58+
rouge (3.30.0)
59+
safe_yaml (1.0.5)
60+
sassc (2.4.0)
61+
ffi (~> 1.9)
62+
terminal-table (2.0.0)
63+
unicode-display_width (~> 1.1, >= 1.1.1)
64+
unicode-display_width (1.8.0)
65+
webrick (1.8.1)
66+
67+
PLATFORMS
68+
x86_64-linux
69+
x86_64-linux-musl
70+
71+
DEPENDENCIES
72+
jekyll (= 4.2.2)
73+
jekyll-multiple-languages-plugin
74+
jekyll-paginate-v2
75+
jekyll-redirect-from
76+
jekyll-watch
77+
webrick (~> 1.7)
78+
79+
BUNDLED WITH
80+
2.3.25

LICENSE.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright (c) 2024-present Jan Havlíček

README.md

-37
This file was deleted.

_config.yml

+46-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,46 @@
1-
theme: jekyll-theme-cayman
1+
# Settings
2+
exclude:
3+
[
4+
".github",
5+
"Gemfile",
6+
"Gemfile.lock",
7+
"build.sh",
8+
"README.md",
9+
"CNAME",
10+
]
11+
permalink: pretty
12+
13+
collections_dir: collections
14+
collections:
15+
article:
16+
output: true
17+
18+
defaults:
19+
- scope:
20+
path: ""
21+
type: "article"
22+
values:
23+
layout: "article"
24+
25+
plugins:
26+
- jekyll-paginate-v2
27+
28+
# Pagination (used by the blog)
29+
pagination:
30+
enabled: true
31+
debug: false
32+
33+
collection: "article"
34+
per_page: 24
35+
sort_field: "date"
36+
sort_reverse: true
37+
# Controls how the pagination trail for the paginated pages look like.
38+
trail:
39+
before: 2
40+
after: 2
41+
42+
# title: ":title - Page :num"
43+
permalink: "/:num/"
44+
category: "posts"
45+
tag: ""
46+
locale: ""

_data/authors.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- name: Jan Havlíček
2+
image: /assets/images/authors/jahav-avatar.jpg

_data/categories.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
dev-diary:
2+
- name: Dev diary
3+
description: Dev diary about quirky, fun and less fun things found in OOXML/ClosedXML.
4+
5+
release:
6+
- name: Release
7+
description: ClosedXML release announcement.
8+
9+
showcase:
10+
- name: Showcase
11+
description: Article displaying a new feature or improvement.

_includes/footer.html

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
</main>
2+
3+
<footer>
4+
<div class="container flex footer-container">
5+
<div id="copyright">
6+
<p>
7+
© 2024-{{ site.time | date: '%Y' }} Jan Havlíček.<br>
8+
</p>
9+
</div>
10+
<div id="sitemap">
11+
<ul class="sitemap-group">
12+
<li><strong>Get ClosedXML</strong></li>
13+
<li><a href="https://www.nuget.org/packages/ClosedXML">NuGet</a></li>
14+
<li><a href="https://github.com/ClosedXML/ClosedXML/">Source code</a></li>
15+
</ul>
16+
<ul class="sitemap-group">
17+
<li><strong>Info</strong></li>
18+
<li><a href="https://docs.closedxml.io">Documentation</a></li>
19+
<li><a href="https://github.com/ClosedXML/ClosedXML/blob/develop/LICENSE">License</a></li>
20+
</ul>
21+
</div>
22+
<div id="social" class="dark-desaturate">
23+
<div class="flex justify-space-between" style="gap: 3px;">
24+
<a href="https://github.com/ClosedXML/ClosedXML" target="_blank" rel="noopener">
25+
<img src="/assets/footer/github_logo.svg" width="32" height="32" alt="GitHub">
26+
</a>
27+
<a href="/rss.xml" target="_blank" rel="noopener">
28+
<!-- Icon is called `feed` instead of `rss` to prevent content blockers from blocking the icon -->
29+
<img src="/assets/footer/feed_logo.svg" width="32" height="32" alt="RSS feed">
30+
</a>
31+
<a href="https://twitter.com/closedxml" target="_blank" rel="noopener">
32+
<img src="/assets/footer/twitter_logo.svg" width="32" height="32" alt="Twitter">
33+
</a>
34+
</div>
35+
</div>
36+
</div>
37+
</footer>

_includes/header.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<input type="checkbox" id="nav_toggle_cb">
2+
<header>
3+
<div class="container flex align-center">
4+
<div id="nav_head">
5+
<a href="/" id="logo-link">
6+
<img class="nav-logo" src="/assets/logotype-a-06.svg" width="136" height="48" alt="ClosedXML">
7+
<img class="nav-logo dark-logo" src="/assets/logotype-a-06.svg" width="136" height="48" alt="ClosedXML">
8+
</a>
9+
<label for="nav_toggle_cb" id="nav_toggle_btn">
10+
<img src="/assets/icons/hamburger.svg" width="24" height="24" alt="Main menu">
11+
</label>
12+
</div>
13+
14+
<nav id="nav">
15+
<ul class="left">
16+
<li><a href="https://docs.closedxml.io">Documentation</a></li>
17+
<li><a href="https://parser.closedxml.io">Formula parser</a></li>
18+
</ul>
19+
</nav>
20+
</div>
21+
</header>
22+
23+
<main>

_includes/navigation.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<nav>
2+
<a href="/">Home</a>
3+
<a href="/about">About</a>
4+
</nav>

0 commit comments

Comments
 (0)