Skip to content

Commit aa65561

Browse files
committed
Updates site config and layout design
Adds theme, markdown, and relative links settings. Introduces default layout, CSS styling, and home index. Signed-off-by: DavidOsipov <[email protected]>
1 parent 35570e1 commit aa65561

File tree

4 files changed

+88
-13
lines changed

4 files changed

+88
-13
lines changed

_config.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
# Jekyll configuration for GitHub Pages
22
title: PostQuantum-Feldman-VSS
33
description: Post-Quantum Secure Feldman's Verifiable Secret Sharing
4+
theme: minima # Or jekyll-theme-minimal, or another supported theme
45

5-
# Include only specific files and directories
6+
# Build settings
7+
markdown: kramdown
8+
plugins:
9+
- jekyll-relative-links
10+
11+
# Process these files as Jekyll files
612
include:
7-
- "docs/**"
8-
- "README.md"
9-
- "LICENSE"
13+
- "docs/"
1014
- "SECURITY.md"
15+
- "CODE_OF_CONDUCT.md"
16+
- "CONTRIBUTING.md"
1117

12-
# Exclude everything else
13-
exclude:
14-
- "*"
15-
- ".*"
16-
- "!docs"
17-
- "!README.md"
18-
- "!LICENSE"
19-
- "!SECURITY.md"
20-
- "!_config.yml"
18+
# Relative links configuration
19+
relative_links:
20+
enabled: true
21+
collections: true

_layouts/default.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>{{ page.title | default: site.title }}</title>
7+
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
8+
</head>
9+
<body>
10+
<header>
11+
<h1>{{ site.title }}</h1>
12+
<nav>
13+
<ul>
14+
<li><a href="{{ '/' | relative_url }}">Home</a></li>
15+
<li><a href="{{ '/docs/DOCUMENTATION' | relative_url }}">Documentation</a></li>
16+
<li><a href="{{ '/SECURITY' | relative_url }}">Security</a></li>
17+
<li><a href="{{ '/CONTRIBUTING' | relative_url }}">Contributing</a></li>
18+
<li><a href="{{ '/CODE_OF_CONDUCT' | relative_url }}">Code of Conduct</a></li>
19+
</ul>
20+
</nav>
21+
</header>
22+
23+
<main>
24+
{{ content }}
25+
</main>
26+
27+
<footer>
28+
<p>&copy; {{ site.time | date: '%Y' }} David Osipov</p>
29+
</footer>
30+
</body>
31+
</html>

assets/css/style.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
body {
2+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
3+
line-height: 1.6;
4+
max-width: 1000px;
5+
margin: 0 auto;
6+
padding: 2rem;
7+
}
8+
9+
header {
10+
margin-bottom: 2rem;
11+
border-bottom: 1px solid #eaecef;
12+
}
13+
14+
nav ul {
15+
display: flex;
16+
list-style: none;
17+
padding: 0;
18+
}
19+
20+
nav li {
21+
margin-right: 1rem;
22+
}
23+
24+
a {
25+
color: #0366d6;
26+
text-decoration: none;
27+
}
28+
29+
a:hover {
30+
text-decoration: underline;
31+
}
32+
33+
footer {
34+
margin-top: 2rem;
35+
border-top: 1px solid #eaecef;
36+
padding-top: 1rem;
37+
}

index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: default
3+
title: Home
4+
---
5+
6+
{% include_relative README.md %}

0 commit comments

Comments
 (0)