Skip to content

Commit aa135c0

Browse files
committed
up
1 parent 39be011 commit aa135c0

File tree

11 files changed

+292
-1
lines changed

11 files changed

+292
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
Planet Jekyll Site
2+
Planet Jekyll Site - [`planetjekyll.github.io`](http://planetjekyll.github.io)
33

_config.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
###########
2+
# site.url, site.title
3+
4+
url: 'http://planetjekyll.github.io'
5+
title: 'Planet Jekyll'
6+
7+
########
8+
# more settings
9+
10+
markdown: kramdown
11+
12+
collections:
13+
links:
14+
output: true
15+
16+
sass:
17+
sass_dir: css
18+
style: expanded
19+
20+
21+
###
22+
# todo/check:
23+
# possible to exclude *.ini ???
24+
25+
exclude:
26+
- README.md
27+
- LINKS.md
28+
- QUICKREF-DRAFT.md
29+
- QUICKREF.md
30+
- WORDPRESS.md
31+
32+
33+
safe: true
34+
lsi: false
35+

_includes/welcome-links.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
<p>
3+
Welcome. The Jekyll Links 'n' Bookmarks page collects
4+
links about all things Jekyll and friends.
5+
Any goodies missing? New links and tips always welcome.
6+
Send in a pull request or
7+
<a href="https://github.com/planetjekyll/planetjekyll.github.io/issues">open an issue ticket</a>
8+
to get the conversation started and your bookmark posted on Planet Jekyll.
9+
</p>
10+

_layouts/default.html

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>{{ page.title }} - {{ site.title }}</title>
6+
<link rel="stylesheet" type="text/css" href="{{ site.url }}/css/style.css" >
7+
<link rel="alternate" type="application/atom+xml" href="{{ site.url }}/feed.xml" title="Jekyll Themes News Feed">
8+
</head>
9+
<body>
10+
11+
<div id="nav">
12+
<a href="http://planetjekyll.herokuapp.com">Planet Jekyll</a>
13+
14+
<a href="{{ site.url }}/index.html">Jekyll Theme of the Month Series</a>
15+
16+
<a href="https://github.com/planetjekyll/planetjekyll.github.io/blob/master/QUICKREF.md">Jekyll Quick Reference (Cheat Sheet)</a>
17+
18+
<a href="https://github.com/planetjekyll/planetjekyll.github.io/blob/master/WORDPRESS.md">WordPress <=> Jekyll Template (Theming) Cheat Sheet</a>
19+
20+
<a href="https://github.com/planetjekyll/themes">Repo (Edit Me!)</a>
21+
22+
<a href="http://groups.google.com/group/feedreader">Forum (Questions? Comments?)</a>
23+
</div>
24+
25+
<div id="content">
26+
{{ content }}
27+
</div>
28+
29+
</body>
30+
</html>

_layouts/link.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: default
3+
---
4+
<div class="post">
5+
6+
<header class="post-header">
7+
<h1 class="post-title">Jekyll Links 'n' Bookmarks</h1>
8+
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}</p>
9+
</header>
10+
11+
{% include welcome-links.html %}
12+
13+
<article class="post-content">
14+
{{ content }}
15+
</article>
16+
17+
</div>

_links/octopress.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: link
3+
title: "Octopress - an obsessively designed toolkit for writing and deploying Jekyll blogs"
4+
date: 2015-02-02 11:11
5+
link_url: http://octopress.org
6+
---
7+
8+
## [{{page.title}}]({{page.link_url}})
9+
10+
Octopress is an obsessively designed toolkit for writing and deploying Jekyll blogs.
11+
12+
13+
### About
14+
15+
Written by Brandon Mathis and friends.
16+
17+
### Find Out More
18+
19+
- Site :: [`octopress.org](http://octopress.org)
20+
- Source :: [`github.com/octopress`](https://github.com/octopress)
21+

css/_gallery.scss

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
.gallery {
3+
4+
div.link,
5+
div.book,
6+
div.app,
7+
div.theme {
8+
display: inline-block;
9+
width: 330+15px; // note: assume img w/ 320x240 plus add margin+border
10+
margin-right: 15px;
11+
margin-bottom: 15px;
12+
vertical-align: top;
13+
text-align: center;
14+
}
15+
16+
div.link-title,
17+
div.app-title,
18+
div.theme-title {
19+
margin-bottom: 10px;
20+
}
21+
22+
.link-img img,
23+
.app-img img,
24+
.theme-img img {
25+
border: 1px solid #bbb;
26+
}
27+
}

css/_settings.scss

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
$font-family: Helvetica,Arial,sans-serif;
4+
5+
$color-primary: #8b0000; // dark red/ruby
6+
7+
8+
$color-link-hover: yellow;
9+
10+
$color-programlisting-border: #bbb;
11+
$color-programlisting-background: #f3f3f3;
12+
13+
14+

css/style.scss

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
# note: this front matter ensures Jekyll converts the scss into css
3+
---
4+
5+
6+
@import 'settings';
7+
8+
body {
9+
font-family: $font-family;
10+
}
11+
12+
13+
/*
14+
h1 {
15+
border-bottom: 1px solid black;
16+
}
17+
*/
18+
19+
20+
h2 {
21+
border-bottom: 1px solid black;
22+
font-weight: bold;
23+
}
24+
25+
26+
ul { list-style-type: square; }
27+
28+
span.highlight { background-color: yellow;
29+
font-weight: bold;
30+
}
31+
32+
a {
33+
color: $color-primary;
34+
text-decoration: none;
35+
36+
&:visited {
37+
color: $color-primary;
38+
}
39+
40+
&:hover {
41+
// border-bottom: 2px dotted $color-primary;
42+
background-color: $color-link-hover;
43+
}
44+
}
45+
46+
47+
48+
#header {
49+
padding: 0.25em;
50+
51+
.small {
52+
font-size: 120%;
53+
color: gray;
54+
padding-left: 15px;
55+
}
56+
57+
.big {
58+
font-size: 200%;
59+
font-weight: bold;
60+
}
61+
}
62+
63+
#nav {
64+
padding: 0.5em;
65+
}
66+
67+
#content {
68+
padding: 0.5em;
69+
}
70+
71+
72+
/* fix: use javascript?? jquery to add .programlisting class
73+
to pre tags followed by code e.g. <pre><code> => <pre class='programlisting'><code>
74+
75+
for now assume all pres are programlistings
76+
*/
77+
pre,
78+
.programlisting
79+
{
80+
padding: 4px 4px 4px 4px;
81+
border-top: $color-programlisting-border 1px solid;
82+
border-bottom: $color-programlisting-border 1px solid;
83+
background-color: $color-programlisting-background;
84+
}
85+
86+
@import 'gallery';
87+

feed.xml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: null
3+
---
4+
<?xml version="1.0" encoding="utf-8"?>
5+
<feed xmlns="http://www.w3.org/2005/Atom">
6+
<title>Jekyll Links 'n' Bookmarks | {{ site.title }}</title>
7+
<link href="{{ site.url }}/feed.xml" rel="self"/>
8+
<link href="{{ site.url }}/"/>
9+
<updated>{{ site.time | date_to_xmlschema }}</updated>
10+
<id>{{ site.url }}/</id>
11+
<author>
12+
<name>Planet Jekyll Team</name>
13+
</author>
14+
<generator>Jekyll v{{ jekyll.version }}</generator>
15+
16+
{% for link in site.links limit: 10 %}
17+
<entry>
18+
<title>{{ link.title | xml_escape }}</title>
19+
<link href="{{ site.url }}{{ link.url }}"/>
20+
<updated>{{ link.date | date_to_xmlschema }}</updated>
21+
<id>{{ site.url }}{{ link.url }}</id>
22+
<content type="html">{{ link.content | xml_escape }}</content>
23+
</entry>
24+
{% endfor %}
25+
</feed>

index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
title: "Jekyll Links 'n' Bookmarks"
4+
---
5+
6+
<p>
7+
Subscribe to the <a href="{{ site.url }}/feed.xml">{{ page.title}} News Feed »</a>
8+
</p>
9+
10+
11+
<h1>{{ page.title }}</h1>
12+
13+
14+
{% include welcome-links.html %}
15+
16+
17+
<ul>
18+
{% for link in site.links %}
19+
<li>
20+
<a href="{{ site.url }}{{ link.url }}">
21+
{{ link.title }}
22+
</a>
23+
</li>
24+
{% endfor %}
25+
</ul>

0 commit comments

Comments
 (0)