ryanaghdam-jekyll-theme 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +38 -0
- data/_includes/header.html +10 -0
- data/_includes/tracking.html +1 -0
- data/_includes/webfont.html +8 -0
- data/_layouts/atom.xml +26 -0
- data/_layouts/default.html +12 -0
- data/_layouts/home.html +51 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +16 -0
- data/_sass/custom.scss +27 -0
- data/_sass/writ.scss +180 -0
- data/assets/styles.scss +5 -0
- metadata +99 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 92fd596639274f5fc2ec4acec01aee38991820b7
|
4
|
+
data.tar.gz: 8b952e8f5fa4d6e4facad5d539b23936060de060
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 005d6c6932f50c95b9e1a4a1f578a0e49f277570e13b4dd09bd6914a900d17e6e2aa4a6b9231f5ac0690ff13a04c9c392dc4eaabb3a563fddf066447c235742d
|
7
|
+
data.tar.gz: 9cd4b04dc9a7059f34e0ad16ae078d3b992479c7783a37bb417990ab1d3e513fa1bae805264f83e5e3c4c0c7161aaaec10864f8523b5d3dd7e73dd5361410fd2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Ryan Aghdam
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# ryanaghdam-jekyll-theme
|
2
|
+
|
3
|
+
Jekyll theme for ryanaghdam.com.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "ryanaghdam-jekyll-theme"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: ryanaghdam-jekyll-theme
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install ryanaghdam-jekyll-theme
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
To set up your environment to develop this theme, run `bundle install`.
|
30
|
+
|
31
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
32
|
+
|
33
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
34
|
+
|
35
|
+
## License
|
36
|
+
|
37
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
38
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-7132219-2', 'auto');ga('send', 'pageview');</script>
|
data/_layouts/atom.xml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
<?xml version="1.0"?>
|
4
|
+
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
5
|
+
<channel>
|
6
|
+
<title>ryanaghdam.com</title>
|
7
|
+
<link>http://ryanaghdam.com/</link>
|
8
|
+
<atom:link href="http://ryanaghdam.com/rss.xml" rel="self" type="application/rss+xml" />
|
9
|
+
<description>Ryan Aghdam</description>
|
10
|
+
<language>en-us</language>
|
11
|
+
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
12
|
+
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
|
13
|
+
|
14
|
+
{% for post in site.posts %}
|
15
|
+
<item>
|
16
|
+
<title>{{ post.title }}</title>
|
17
|
+
<link>http://ryanaghdam.com{{ post.url }}</link>
|
18
|
+
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
19
|
+
<author>ryan@ryanaghdam.com (Ryan Aghdam)</author>
|
20
|
+
<guid>http://ryanaghdam.com{{ post.id }}</guid>
|
21
|
+
<description>{{ post.content | xml_escape }}</description>
|
22
|
+
</item>
|
23
|
+
{% endfor %}
|
24
|
+
|
25
|
+
</channel>
|
26
|
+
</rss>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
<title>Ryan Aghdam: {{ page.title }}</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="/assets/styles.css">
|
6
|
+
|
7
|
+
{% include header.html %}
|
8
|
+
|
9
|
+
<main>{{ content }}</main>
|
10
|
+
|
11
|
+
{% include webfont.html %}
|
12
|
+
{% include tracking.html %}
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
6
|
+
|
7
|
+
<style type="text/css">
|
8
|
+
main ul {
|
9
|
+
list-style-type: none;
|
10
|
+
display: table;
|
11
|
+
padding-left: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
main ul li {
|
15
|
+
display: table-row;
|
16
|
+
}
|
17
|
+
|
18
|
+
main ul li time, main ul li div {
|
19
|
+
display: table-cell;
|
20
|
+
}
|
21
|
+
|
22
|
+
main ul li time:after {
|
23
|
+
content: "\00BB";
|
24
|
+
padding: 0.5em;
|
25
|
+
}
|
26
|
+
|
27
|
+
main ul li time {
|
28
|
+
white-space: nowrap;
|
29
|
+
text-align: right;
|
30
|
+
}
|
31
|
+
|
32
|
+
main ul li div p:last-child {
|
33
|
+
margin-bottom: 3rem;
|
34
|
+
}
|
35
|
+
</style>
|
36
|
+
|
37
|
+
<ul>
|
38
|
+
{% for post in site.posts %}
|
39
|
+
<li>
|
40
|
+
<time datetime="{{ post.date | date: "%Y-%m-%d" }}" pubdate>
|
41
|
+
{{ post.date | date: "%-m/%-d/%Y" }}
|
42
|
+
</time>
|
43
|
+
<div>
|
44
|
+
<a href="{{ post.url }}">
|
45
|
+
{{ post.title }}
|
46
|
+
</a>
|
47
|
+
<p>{{ post.excerpt }}</p>
|
48
|
+
</div>
|
49
|
+
</li>
|
50
|
+
{% endfor %}
|
51
|
+
</ul>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
layout: page
|
3
|
+
---
|
4
|
+
|
5
|
+
<article>
|
6
|
+
<header>
|
7
|
+
<h1>{{ page.title }}</h1>
|
8
|
+
<p>
|
9
|
+
<time datetime="{{ page.date | date: "%Y-%m-%d" }}" pubdate>
|
10
|
+
{{ page.date | date: "%B %-d, %Y" }}
|
11
|
+
</time>
|
12
|
+
</p>
|
13
|
+
</header>
|
14
|
+
|
15
|
+
{{ content }}
|
16
|
+
</article>
|
data/_sass/custom.scss
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
body {
|
2
|
+
font-family: 'Cardo', Georgia, Palatino, Lucida Bright, Book Antiqua, serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
h1,h2,h3,h4,h5,h6 {
|
6
|
+
font-family: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
7
|
+
}
|
8
|
+
|
9
|
+
body>header {
|
10
|
+
margin-bottom: 4rem;
|
11
|
+
}
|
12
|
+
|
13
|
+
a, header nav a:visited, a code {
|
14
|
+
color: #23593F;
|
15
|
+
}
|
16
|
+
|
17
|
+
a:visited, a:visited code {
|
18
|
+
color: #58223C;
|
19
|
+
}
|
20
|
+
|
21
|
+
nav a {
|
22
|
+
text-decoration: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
a, header nav a:hover {
|
26
|
+
text-decoration: underline;
|
27
|
+
}
|
data/_sass/writ.scss
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
/*!
|
2
|
+
* Writ v1.0.4
|
3
|
+
*
|
4
|
+
* Copyright © 2015, Curtis McEnroe <curtis@cmcenroe.me>
|
5
|
+
*
|
6
|
+
* https://cmcenroe.me/writ/LICENSE (ISC)
|
7
|
+
*/
|
8
|
+
|
9
|
+
/* Fonts, sizes & vertical rhythm */
|
10
|
+
|
11
|
+
html {
|
12
|
+
font-family: Palatino, Georgia, Lucida Bright, Book Antiqua, serif;
|
13
|
+
font-size: 16px;
|
14
|
+
line-height: 1.5rem;
|
15
|
+
}
|
16
|
+
|
17
|
+
code, pre, samp, kbd {
|
18
|
+
font-family: Consolas, Liberation Mono, Menlo, Courier, monospace;
|
19
|
+
font-size: 0.833rem;
|
20
|
+
}
|
21
|
+
|
22
|
+
kbd { font-weight: bold; }
|
23
|
+
h1, h2, h3, h4, h5, h6, th { font-weight: normal; }
|
24
|
+
|
25
|
+
/* Minor third */
|
26
|
+
h1 { font-size: 2.488em; }
|
27
|
+
h2 { font-size: 2.074em; }
|
28
|
+
h3 { font-size: 1.728em; }
|
29
|
+
h4 { font-size: 1.44em; }
|
30
|
+
h5 { font-size: 1.2em; }
|
31
|
+
h6 { font-size: 1em; }
|
32
|
+
small { font-size: 0.833em; }
|
33
|
+
|
34
|
+
h1, h2, h3 { line-height: 3rem; }
|
35
|
+
|
36
|
+
p, ul, ol, dl, table, blockquote, pre, h1, h2, h3, h4, h5, h6 {
|
37
|
+
margin: 1.5rem 0 0;
|
38
|
+
}
|
39
|
+
ul ul, ol ol, ul ol, ol ul { margin: 0; }
|
40
|
+
|
41
|
+
hr {
|
42
|
+
margin: 0;
|
43
|
+
border: none;
|
44
|
+
padding: 1.5rem 0 0;
|
45
|
+
}
|
46
|
+
|
47
|
+
/* Accounting for borders */
|
48
|
+
table {
|
49
|
+
line-height: calc(1.5rem - 1px);
|
50
|
+
margin-bottom: -1px;
|
51
|
+
}
|
52
|
+
pre {
|
53
|
+
margin-top: calc(1.5rem - 1px);
|
54
|
+
margin-bottom: -1px;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* Colors */
|
58
|
+
|
59
|
+
body { color: #222; }
|
60
|
+
code, pre, samp, kbd { color: #111; }
|
61
|
+
a, header nav a:visited, a code { color: #00e; }
|
62
|
+
a:visited, a:visited code { color: #60b; }
|
63
|
+
mark { color: inherit; }
|
64
|
+
|
65
|
+
code, pre, samp, thead, tfoot { background-color: rgba(0, 0, 0, 0.05); }
|
66
|
+
mark { background-color: #fe0; }
|
67
|
+
|
68
|
+
main aside, blockquote, ins { border: solid rgba(0, 0, 0, 0.05); }
|
69
|
+
pre, code, samp { border: solid rgba(0, 0, 0, 0.1); }
|
70
|
+
th, td { border: solid #dbdbdb; }
|
71
|
+
|
72
|
+
/* Layout */
|
73
|
+
|
74
|
+
body { margin: 1.5rem 1ch; }
|
75
|
+
|
76
|
+
body > header { text-align: center; }
|
77
|
+
|
78
|
+
main, body > footer {
|
79
|
+
display: block; /* Just in case */
|
80
|
+
max-width: 78ch;
|
81
|
+
margin: auto;
|
82
|
+
}
|
83
|
+
|
84
|
+
main figure, main aside {
|
85
|
+
float: right;
|
86
|
+
margin: 1.5rem 0 0 1ch;
|
87
|
+
}
|
88
|
+
|
89
|
+
main aside {
|
90
|
+
max-width: 26ch;
|
91
|
+
border-width: 0 0 0 0.5ch;
|
92
|
+
padding: 0 0 0 0.5ch;
|
93
|
+
}
|
94
|
+
|
95
|
+
/* Copy blocks */
|
96
|
+
|
97
|
+
blockquote {
|
98
|
+
margin-right: 3ch;
|
99
|
+
margin-left: 1.5ch;
|
100
|
+
border-width: 0 0 0 0.5ch;
|
101
|
+
padding: 0 0 0 1ch;
|
102
|
+
}
|
103
|
+
|
104
|
+
pre {
|
105
|
+
border-width: 1px;
|
106
|
+
border-radius: 2px;
|
107
|
+
padding: 0 0.5ch;
|
108
|
+
overflow-x: auto;
|
109
|
+
}
|
110
|
+
pre code {
|
111
|
+
border: none;
|
112
|
+
padding: 0;
|
113
|
+
background-color: transparent;
|
114
|
+
white-space: inherit;
|
115
|
+
}
|
116
|
+
|
117
|
+
img { max-width: 100%; }
|
118
|
+
|
119
|
+
/* Lists */
|
120
|
+
|
121
|
+
ul, ol, dd { padding: 0 0 0 3ch; }
|
122
|
+
dd { margin: 0; }
|
123
|
+
|
124
|
+
ul > li { list-style-type: disc; }
|
125
|
+
li ul > li { list-style-type: circle; }
|
126
|
+
li li ul > li { list-style-type: square; }
|
127
|
+
|
128
|
+
ol > li { list-style-type: decimal; }
|
129
|
+
li ol > li { list-style-type: lower-roman; }
|
130
|
+
li li ol > li { list-style-type: lower-alpha; }
|
131
|
+
|
132
|
+
nav ul {
|
133
|
+
padding: 0;
|
134
|
+
list-style-type: none;
|
135
|
+
}
|
136
|
+
nav ul li {
|
137
|
+
display: inline;
|
138
|
+
padding-left: 1ch;
|
139
|
+
white-space: nowrap;
|
140
|
+
}
|
141
|
+
nav ul li:first-child { padding-left: 0; }
|
142
|
+
|
143
|
+
/* Tables */
|
144
|
+
|
145
|
+
table {
|
146
|
+
width: 100%;
|
147
|
+
border-collapse: collapse;
|
148
|
+
overflow-x: auto;
|
149
|
+
}
|
150
|
+
|
151
|
+
th, td {
|
152
|
+
border-width: 1px;
|
153
|
+
padding: 0 0.5ch;
|
154
|
+
}
|
155
|
+
|
156
|
+
/* Copy inline */
|
157
|
+
|
158
|
+
a { text-decoration: none; }
|
159
|
+
|
160
|
+
sup, sub {
|
161
|
+
font-size: 0.75em;
|
162
|
+
line-height: 1em;
|
163
|
+
}
|
164
|
+
|
165
|
+
ins {
|
166
|
+
border-width: 1px;
|
167
|
+
padding: 1px;
|
168
|
+
text-decoration: none;
|
169
|
+
}
|
170
|
+
|
171
|
+
mark {
|
172
|
+
padding: 1px;
|
173
|
+
}
|
174
|
+
|
175
|
+
code, samp {
|
176
|
+
border-width: 1px;
|
177
|
+
border-radius: 2px;
|
178
|
+
padding: 0.1em 0.2em;
|
179
|
+
white-space: nowrap;
|
180
|
+
}
|
data/assets/styles.scss
ADDED
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ryanaghdam-jekyll-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryan Aghdam
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-11-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- ryan@ryanaghdam.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/header.html
|
65
|
+
- _includes/tracking.html
|
66
|
+
- _includes/webfont.html
|
67
|
+
- _layouts/atom.xml
|
68
|
+
- _layouts/default.html
|
69
|
+
- _layouts/home.html
|
70
|
+
- _layouts/page.html
|
71
|
+
- _layouts/post.html
|
72
|
+
- _sass/custom.scss
|
73
|
+
- _sass/writ.scss
|
74
|
+
- assets/styles.scss
|
75
|
+
homepage: http://ryanaghdam.com/projects/jekyll-theme
|
76
|
+
licenses:
|
77
|
+
- MIT
|
78
|
+
metadata: {}
|
79
|
+
post_install_message:
|
80
|
+
rdoc_options: []
|
81
|
+
require_paths:
|
82
|
+
- lib
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
requirements: []
|
94
|
+
rubyforge_project:
|
95
|
+
rubygems_version: 2.5.2
|
96
|
+
signing_key:
|
97
|
+
specification_version: 4
|
98
|
+
summary: Custom Jekyll theme for my personal homepage
|
99
|
+
test_files: []
|