Skip to content

Commit eb8f054

Browse files
committed
Start a new Hugo site, based on the Kube theme
0 parents  commit eb8f054

File tree

8 files changed

+125
-0
lines changed

8 files changed

+125
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/kube"]
2+
path = themes/kube
3+
url = https://github.com/jeblister/kube.git

archetypes/blog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title = ""
3+
description = ""
4+
date = {{ .Date }}
5+
weight = 20
6+
draft = false
7+
+++

archetypes/default.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "{{ replace .Name "-" " " | title }}"
3+
date: {{ .Date }}
4+
draft: true
5+
---
6+

archetypes/docs.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
+++
2+
title = ""
3+
description = ""
4+
date = {{ .Date }}
5+
weight = 20
6+
draft = false
7+
bref = ""
8+
toc = true
9+
+++

config.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
baseURL = "https://data-apis.org/"
2+
languageCode = "en-us"
3+
title = "Consortium for Python Data API Standards"
4+
theme = "kube"
5+
description = "The purpose of the Consortium is to develop API standards for common Python data structures for scientific, data science and machine learning users and applications - using a combination of design discussions, requirements engineering and data-driven approaches."
6+
Paginate = 4
7+
8+
[Params]
9+
RSSLink = "/index.xml"
10+
author = "Consortium for Python Data API Standards"
11+
github = "data-apis"
12+
# twitter = ""
13+
# email = ""
14+
15+
#[[menu.main]]
16+
# name = "Docs"
17+
# weight = -100
18+
# url = "/docs/"
19+
20+
[[menu.main]]
21+
name = "Blog"
22+
weight = -100
23+
url = "/blog/"

layouts/_default/list.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{ define "title"}} {{ .Title}} {{end}}
2+
{{ define "header"}} {{ partial "header" .}} {{end}}
3+
4+
{{ define "main" }}
5+
6+
<div id="hero" class="wrap">
7+
<h1>Voice of the Consortium</h1>
8+
<p>Our vision, news and ideas, and whatever feels important.</p>
9+
</div>
10+
<ul id="posts">
11+
12+
{{ range .Paginator.Pages.ByWeight }} {{ partial "page-summary" . }} {{ end }}
13+
<section>{{ partial "pagination" .}}</section>
14+
</ul>
15+
16+
{{ end }}
17+
{{ define "footer" }}
18+
{{ partial "footer" . }}
19+
{{ end }}

layouts/index.html

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{{ define "title"}} {{ .Site.Title}} {{end}}
2+
{{ define "header"}} {{ partial "header" .}} {{end}}
3+
{{ define "main"}}
4+
5+
<div id="main">
6+
<div id="hero">
7+
<h1>{{.Title}}</h1>
8+
<p>{{.Description}}</p>
9+
</div>
10+
<div id="action-buttons">
11+
<a class="button primary big" href="https://github.com/data-apis/consortium-feedback">Feedback</a> <a class="button outline big" href="https://github.com/data-apis" >View on Github</a>
12+
<p>We're just getting started - tell us what you think!</p>
13+
</div>
14+
15+
<div id="kube-features">
16+
<div class="row gutters">
17+
<div class="col col-4 item">
18+
<figure>
19+
<img alt="Baseline" height="48" src="{{ "/img/kube/icon-baseline.png" | relURL }}" width="48">
20+
</figure>
21+
<h3>Horizontal Rhythm</h3>
22+
<p>In Kube horizontal rhythm based on a 4px vertical grid is something that we are truly proud of.</p>
23+
</div>
24+
<div class="col col-4 item">
25+
<figure>
26+
<img alt="Typography" height="48" src="{{ "/img/kube/icon-typo.png" | relURL }}" width="48">
27+
</figure>
28+
<h3>Typography</h3>
29+
<p>We obsess over typography, and it shows throughout Kube.</p>
30+
</div>
31+
<div class="col col-4 item">
32+
<figure>
33+
<img alt="Minimalism" height="48" src="{{ "/img/kube/icon-minimalism.png" | relURL }}" width="48">
34+
</figure>
35+
<h3>Minimalism</h3>
36+
<p>We strongly believe in minimalism as a general concept as well as a practical approach to everyday life.</p>
37+
</div>
38+
</div>
39+
<div class="row gutters">
40+
<div class="col col-4 item">
41+
<h4>Mobile-first Design</h4>
42+
<p>Every element in kube is mobile-first and fully embraces latest and greatest tech.</p>
43+
</div>
44+
<div class="col col-4 item">
45+
<h4>Cross-browser</h4>
46+
<p>Kube works in all modern browsers, both desktop and mobile, including latest Chrome, Firefox, Safari, Opera, IE and Edge.</p>
47+
</div>
48+
<div class="col col-4 item">
49+
<h4>License</h4>
50+
<p>Kube licensed under <a href="https://opensource.org/licenses/MIT">MIT</a>.<br>
51+
Kube Framework is absolutely free for personal or commercial use.</p>
52+
</div>
53+
</div>
54+
</div>
55+
</div>
56+
{{ end }}
57+
{{ define "footer"}} {{ partial "footer" .}} {{end}}

themes/kube

Submodule kube added at bda578d

0 commit comments

Comments
 (0)