Skip to content

Commit 96e55aa

Browse files
mborlandsdarwin
authored andcommitted
Initial version based on deck for customers
1 parent 0995235 commit 96e55aa

9 files changed

Lines changed: 989 additions & 19 deletions

File tree

‎README.md‎

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
# edgcpp.org Website
22

3-
Source code for [edgcpp.org](https://edgcpp.org), the EDGCPP open-source
4-
project website. It is a Jekyll 4 project published as a fully static
5-
site through GitHub Pages.
6-
7-
The site is currently a barebones placeholder. It was bootstrapped from
8-
[cppalliance.github.io](https://github.com/cppalliance/cppalliance.github.io),
9-
and content (layouts, styling, navigation, etc.) may be taken from that
10-
repository as needed.
3+
Source code for [edgcpp.org](https://edgcpp.org), the website for EDG's
4+
transition to open source under a fiscal sponsorship agreement with
5+
[The C++ Alliance](https://cppalliance.org). It is a Jekyll 4 project
6+
published as a fully static site through GitHub Pages.
7+
8+
The site is a single page. Its content lives in `index.html`, built on a
9+
small Jekyll scaffold:
10+
11+
- `_layouts/default.html` – page shell
12+
- `_includes/head.html`, `header.html`, `footer.html` – shared chrome
13+
- `assets/css/main.css` – plain CSS, no Sass
14+
- `assets/img/favicon.svg`
15+
16+
Site-wide links (the GitHub organization, this repository, and The C++
17+
Alliance) are set in `_config.yml`. The history section of the page is a
18+
marked placeholder until that content is collected.
19+
20+
The project was bootstrapped from
21+
[cppalliance.github.io](https://github.com/cppalliance/cppalliance.github.io).
1122

1223
## Local Development
1324

‎_config.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ url: https://edgcpp.org # the base hostname & protocol for the site
55
description: >-
66
The edgcpp.org open-source project website.
77
8+
# Project links used throughout the site.
9+
github_url: https://github.com/edgcpp
10+
repo_url: https://github.com/edgcpp/edgcpp.github.io
11+
alliance_url: https://cppalliance.org
12+
813
# Build settings
914
markdown: kramdown
1015

@@ -16,3 +21,5 @@ exclude:
1621
- vendor
1722
- local
1823
- README.md
24+
- CLAUDE.md
25+
- AGENTS.md

‎_includes/footer.html‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<footer class="site-footer">
2+
<div class="container site-footer__inner">
3+
<p class="site-footer__brand">edgcpp.org</p>
4+
<nav class="site-footer__links" aria-label="Footer">
5+
<a href="{{ site.github_url }}">github.com/edgcpp</a>
6+
<a href="{{ site.alliance_url }}">The C++ Alliance</a>
7+
<a href="{{ site.repo_url }}">Site source</a>
8+
</nav>
9+
<p class="site-footer__legal">&copy; {{ site.time | date: '%Y' }} edgcpp.org</p>
10+
</div>
11+
</footer>

‎_includes/head.html‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta name="viewport" content="width=device-width, initial-scale=1">
4+
{%- assign meta_description = page.description | default: site.description | strip_newlines | strip -%}
5+
{%- if page.title -%}
6+
<title>{{ page.title }} · {{ site.title }}</title>
7+
{%- else -%}
8+
<title>{{ site.title }}</title>
9+
{%- endif -%}
10+
<meta name="description" content="{{ meta_description }}">
11+
<link rel="canonical" href="{{ page.url | absolute_url }}">
12+
<meta property="og:type" content="website">
13+
<meta property="og:site_name" content="{{ site.title }}">
14+
<meta property="og:title" content="{{ page.title | default: site.title }}">
15+
<meta property="og:description" content="{{ meta_description }}">
16+
<meta property="og:url" content="{{ page.url | absolute_url }}">
17+
<meta name="twitter:card" content="summary">
18+
<meta name="theme-color" content="#0b1220">
19+
<link rel="icon" href="assets/img/favicon.svg" type="image/svg+xml">
20+
<link rel="preconnect" href="https://fonts.googleapis.com">
21+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
22+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
23+
<link rel="stylesheet" href="assets/css/main.css">
24+
</head>

‎_includes/header.html‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<header class="site-header">
2+
<div class="container site-header__inner">
3+
<a class="brand" href="{{ '/' | relative_url }}">
4+
<span class="brand__mark" aria-hidden="true"></span>
5+
<span class="brand__name">{{ site.title }}</span>
6+
</a>
7+
<nav class="site-nav" aria-label="Primary">
8+
<a href="#history">History</a>
9+
<a href="#transition">The transition</a>
10+
<a href="#model">How it works</a>
11+
<a href="#users">What changes</a>
12+
<a href="#next-steps">Get involved</a>
13+
</nav>
14+
<a class="button button--github" href="{{ site.github_url }}">
15+
<svg viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
16+
GitHub
17+
</a>
18+
</div>
19+
</header>

‎_layouts/default.html‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
{% include head.html %}
4+
<body>
5+
<a class="skip-link" href="#main">Skip to content</a>
6+
{% include header.html %}
7+
<main id="main">
8+
{{ content }}
9+
</main>
10+
{% include footer.html %}
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)