Skip to content

Commit 31dbac5

Browse files
committed
Adopt Hyde theme
1 parent 89ead0d commit 31dbac5

24 files changed

+840
-206
lines changed

.gitignore

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

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
title: OpenZipkin
22

3+
tagline: A distributed tracing system
4+
35
description: >
46
Zipkin is a distributed tracing system. It helps gather timing data needed to
57
troubleshoot latency problems in microservice architectures.

_includes/footer.html

-38
This file was deleted.

_includes/head.html

+22-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
11
<head>
2-
<meta charset="utf-8">
2+
<link href="http://gmpg.org/xfn/11" rel="profile">
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<meta name="viewport" content="width=device-width, initial-scale=1">
4+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
55

6-
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7-
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
6+
<!-- Enable responsiveness on mobile devices-->
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
8+
9+
<title>
10+
{% if page.title == "Home" %}
11+
{{ site.title }} &middot; {{ site.tagline }}
12+
{% else %}
13+
{{ page.title }} &middot; {{ site.title }}
14+
{% endif %}
15+
</title>
16+
17+
<!-- CSS -->
18+
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
19+
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
20+
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
21+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
22+
23+
<!-- Icons -->
24+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
25+
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
826

9-
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
10-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
11-
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
1227
</head>

_includes/header.html

-27
This file was deleted.

_includes/icon-github.html

-1
This file was deleted.

_includes/icon-github.svg

-1
This file was deleted.

_includes/icon-twitter.html

-1
This file was deleted.

_includes/icon-twitter.svg

-1
This file was deleted.

_includes/sidebar.html

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div class="sidebar">
2+
<div class="container sidebar-sticky">
3+
<div class="sidebar-about">
4+
<h1>
5+
<a href="{{ site.baseurl }}">
6+
<img alt="OpenZipkin logo" src="{{ site.baseurl }}public/img/zipkin-logo-200x119.jpg"
7+
style="border: 10px solid white">
8+
</a>
9+
</h1>
10+
<p class="lead">{{ site.tagline }}</p>
11+
</div>
12+
13+
<nav class="sidebar-nav">
14+
15+
{% assign pages_list = site.pages %}
16+
{% for node in pages_list %}
17+
{% if node.title != null %}
18+
{% if node.layout == "page" %}
19+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
20+
{% endif %}
21+
{% endif %}
22+
{% endfor %}
23+
</nav>
24+
25+
<p>&copy; {{ site.time | date: '%Y' }}. All rights reserved.</p>
26+
</div>
27+
</div>

_layouts/default.html

+5-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en-us">
33

44
{% include head.html %}
55

6-
<body>
6+
<body class="theme-base-0d">
77

8-
{% include header.html %}
8+
{% include sidebar.html %}
99

10-
<div class="page-content">
11-
<div class="wrapper">
12-
{{ content }}
13-
</div>
10+
<div class="content container">
11+
{{ content }}
1412
</div>
1513

16-
{% include footer.html %}
17-
1814
</body>
19-
2015
</html>

_layouts/page.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
layout: default
33
---
4-
<article class="post">
54

6-
<header class="post-header">
7-
<h1 class="post-title">{{ page.title }}</h1>
8-
</header>
9-
10-
<div class="post-content">
11-
{{ content }}
12-
</div>
13-
14-
</article>
5+
<div class="page">
6+
<h1 class="page-title">
7+
{% if page.title == "Home" %}
8+
Zipkin
9+
{% else %}
10+
{{ page.title }}
11+
{% endif %}
12+
</h1>
13+
{{ content }}
14+
</div>

_layouts/post.html

+20-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
---
22
layout: default
33
---
4-
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
54

6-
<header class="post-header">
7-
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
8-
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
9-
</header>
5+
<div class="post">
6+
<h1 class="post-title">{{ page.title }}</h1>
7+
<span class="post-date">{{ page.date | date_to_string }}</span>
8+
{{ content }}
9+
</div>
1010

11-
<div class="post-content" itemprop="articleBody">
12-
{{ content }}
13-
</div>
14-
15-
</article>
11+
<div class="related">
12+
<h2>Related Posts</h2>
13+
<ul class="related-posts">
14+
{% for post in site.related_posts limit:3 %}
15+
<li>
16+
<h3>
17+
<a href="{{ post.url }}">
18+
{{ post.title }}
19+
<small>{{ post.date | date_to_string }}</small>
20+
</a>
21+
</h3>
22+
</li>
23+
{% endfor %}
24+
</ul>
25+
</div>

_pages/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
title: Home
3+
---
4+
5+
![Web interface screenshot]({{ site.baseurl }}public/img/web-screenshot.png)
6+
17
Zipkin is a distributed tracing system. It helps gather timing data needed to
28
troubleshoot latency problems in microservice architectures. It manages both the
39
collection and lookup of this data through a Collector and a Query service.

about.md

-15
This file was deleted.

css/main.scss

-53
This file was deleted.

feed.xml

-30
This file was deleted.
588 Bytes
Loading

0 commit comments

Comments
 (0)