Skip to content

Commit 2e6f818

Browse files
committed
Update the styles and reorganzie site.
1 parent e287d3e commit 2e6f818

File tree

17 files changed

+221
-1101
lines changed

17 files changed

+221
-1101
lines changed

_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@
88
# Site settings
99
title: GitHub.js
1010
description: > # Github.js is a library that allows easy access to GitHub's REST API.
11-
url: "http://yourdomain.com" # the base hostname & protocol for your site
11+
url: https://michael.github.io
12+
baseurl: /github
13+
git_repo: https://github.com/michael/github

_data/versions.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version
2+
1.0.0

_includes/head.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

_includes/stars.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<iframe src="https://ghbtns.com/github-btn.html?user=michael&amp;repo=github&amp;type=watch&amp;count=true"
2-
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30" style="vertical-align: bottom;"></iframe>
2+
allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>

_layouts/default.html

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,31 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="description" content="{{ site.description }}">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
89
<title>{{ site.title }}</title>
9-
<link rel="stylesheet" href="css/main.css">
10-
{% include head.html %}
10+
11+
<!-- CDN asssets -->
12+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,400,400italic,700,700italic">
13+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
14+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.1.0/milligram.min.css">
15+
<link rel="stylesheet" href="{{site.baseurl}}/css/main.css" media="screen" title="no title" charset="utf-8">
16+
1117
</head>
1218
<body>
13-
<div class="container">
14-
<h1><a href="./">{{ site.tag_text }}</a></h1>
19+
<div class="header">
20+
<div class="container centered">
21+
<h2><a href="{{site.url}}{{site.baseurl}}">GitHub.js</a></h2>
22+
{%if page.path == 'index.md' %}{%include stars.html%}{%endif%}
23+
</div>
24+
</div>
25+
<div class="container" style="min-height: 70vh;">
1526
{{ content }}
1627
</div>
17-
{% include scripts.html %}
28+
<div class="footer centered">
29+
&copy; 2013 - {{site.time | date: "%Y"}},
30+
Michael Aufreiter (<a href="//substance.io">Development Seed</a>) and
31+
<a href="//github.com/yahoo">Yahoo Inc</a>.
32+
</div>
33+
{% include scripts.html %}
1834
</body>
1935
</html>

_sass/_base.scss

Lines changed: 0 additions & 206 deletions
This file was deleted.

0 commit comments

Comments
 (0)