together-theme 0.0.11 → 0.0.12
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 +4 -4
- data/README.md +10 -4
- data/_config.yml +5 -5
- data/_includes/article_header.html +19 -0
- data/_includes/article_nav.html +15 -0
- data/_includes/head.html +17 -0
- data/_includes/meta.html +0 -0
- data/_layouts/default.html +5 -50
- data/index.html +1 -1
- data/screenshot.png +0 -0
- data/together-theme.gemspec +1 -1
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc2bfee765c07b8f900693f691598184bf6b10c16256e05518ba26b54322dac0
|
4
|
+
data.tar.gz: fbeb2c24a4eda0e897ce060c36449d0643d550634bbd41733e62fc0e8960c6af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 040f14b7f7322bb87904e071269ab84bfaaf52eb576a9defd3b96c32c1899119c234e00f44861b837d2e117ae70c8459e4a5fa63b22c489ec81635a18ffecf55
|
7
|
+
data.tar.gz: be38b74d2ce78898cb1a7b59b34bf670468418e10e99fee40a3ec81120f6eb905fcda2949cf97cd05b185054a42fe66675d0539892d05559d438df831d7d4413
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ And add the following lines to your Jekyll site's `_config.yml`:
|
|
34
34
|
theme: together-theme
|
35
35
|
```
|
36
36
|
|
37
|
-
|
37
|
+
The Together Theme's configuration has sensible defaults, but you may wish to ignore the [default configuration](https://github.com/dallasread/together-theme/blob/master/_config.yml) and supply your own:
|
38
38
|
|
39
39
|
```yaml
|
40
40
|
ignore_theme_config: true
|
@@ -42,17 +42,23 @@ ignore_theme_config: true
|
|
42
42
|
|
43
43
|
And then on the command line, execute:
|
44
44
|
|
45
|
-
|
45
|
+
```bash
|
46
|
+
$ bundle
|
47
|
+
```
|
46
48
|
|
47
49
|
Or install the theme yourself as:
|
48
50
|
|
49
|
-
|
51
|
+
```bash
|
52
|
+
$ gem install together-theme
|
53
|
+
```
|
50
54
|
|
51
55
|
## Usage
|
52
56
|
|
53
57
|
And you'll need to install the JS modules:
|
54
58
|
|
55
|
-
|
59
|
+
```bash
|
60
|
+
$ yarn || npm i
|
61
|
+
```
|
56
62
|
|
57
63
|
Start it up with
|
58
64
|
|
data/_config.yml
CHANGED
@@ -1,27 +1,27 @@
|
|
1
|
-
title: Together
|
1
|
+
title: Together Theme
|
2
2
|
description: This is the Together Theme for Jekyll.
|
3
3
|
baseurl: ""
|
4
4
|
|
5
5
|
author:
|
6
6
|
name: Dallas Read
|
7
|
+
url: "https://dallasread.com"
|
7
8
|
|
8
|
-
markdown: kramdown
|
9
|
-
permalink: /:title
|
10
|
-
exclude: ['*.gemspec']
|
11
9
|
keep_files: ['assets/js/main.js']
|
12
10
|
|
13
11
|
together:
|
14
12
|
top_bar:
|
15
13
|
content: "Like this Jekll theme? Visit us on <a target=\"_blank\" href=\"https://github.com/dallasread/together-theme\">GitHub.</a>"
|
16
14
|
padding: "0.75rem"
|
15
|
+
|
17
16
|
sidebar:
|
18
17
|
content: This is the Together Theme for Jekyll. It's designed for a specific use case – telling a single story across multiple articles.
|
18
|
+
|
19
19
|
style:
|
20
20
|
default:
|
21
21
|
sans_serif: "'Avenir Next', Helvetica Neue, Helvetica, Arial, sans-serif"
|
22
22
|
serif: "Palatino, Times, serif"
|
23
23
|
|
24
|
-
bg_color: "#
|
24
|
+
bg_color: "#0D1115"
|
25
25
|
bg_emphasis: "#ddd"
|
26
26
|
|
27
27
|
text_color: "#222"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<p class="series">
|
2
|
+
{{ site.title }}
|
3
|
+
|
4
|
+
{% if site.author %}
|
5
|
+
<span class="byline">
|
6
|
+
By <a href="{{ site.author.url }}">{{ site.author.name }}</a>
|
7
|
+
</span>
|
8
|
+
{% endif %}
|
9
|
+
</p>
|
10
|
+
|
11
|
+
<h1>
|
12
|
+
{{ page.title }}
|
13
|
+
</h1>
|
14
|
+
|
15
|
+
{% if page.description %}
|
16
|
+
<p class="description">
|
17
|
+
{{ page.description }}
|
18
|
+
</p>
|
19
|
+
{% endif %}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<nav>
|
2
|
+
<a href="{{ '/' | relative_url }}">
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
4
|
+
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
|
5
|
+
</svg>
|
6
|
+
</a>
|
7
|
+
|
8
|
+
{% if page.previous.url %}
|
9
|
+
<a href="{{page.previous.url}}">
|
10
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
11
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
|
12
|
+
</svg>
|
13
|
+
</a>
|
14
|
+
{% endif %}
|
15
|
+
</nav>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
|
6
|
+
<title>{{ site.title }}{% if page.title and page.title != "" %} » {{ page.title }}{% endif %}</title>
|
7
|
+
|
8
|
+
{% if site.description %}<meta name="description" content="{{ site.description }}">{% endif %}
|
9
|
+
|
10
|
+
<link rel="apple-touch-icon" href="{{ site.icon }}">
|
11
|
+
{% include meta.html %}
|
12
|
+
|
13
|
+
{% include style_variables.html %}
|
14
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}?{{ site.time | date: '%s%N' }}">
|
15
|
+
|
16
|
+
<script type="text/javascript" src="{{ '/assets/js/main.js' | absolute_url }}?{{ site.time | date: '%s%N' }}"></script>
|
17
|
+
</head>
|
data/_includes/meta.html
ADDED
File without changes
|
data/_layouts/default.html
CHANGED
@@ -1,63 +1,18 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
-
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
-
|
8
|
-
<title>{{ site.title }}{% if page.title and page.title != "" %} » {{ page.title }}{% endif %}</title>
|
9
|
-
|
10
|
-
{% if site.description %}<meta name="description" content="{{ site.description }}">{% endif %}
|
11
|
-
|
12
|
-
<link rel="apple-touch-icon" href="{{ site.icon }}">
|
13
|
-
{% include style_variables.html %}
|
14
|
-
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}?{{ site.time | date: '%s%N' }}">
|
15
|
-
|
16
|
-
<script type="text/javascript" src="{{ '/assets/js/main.js' | absolute_url }}?{{ site.time | date: '%s%N' }}"></script>
|
17
|
-
</head>
|
3
|
+
{% include head.html %}
|
18
4
|
<body>
|
19
5
|
{% include top_bar.html %}
|
6
|
+
|
20
7
|
<div class="wrapper">
|
21
8
|
<article class="container">
|
22
9
|
<div class="nav">
|
23
|
-
|
24
|
-
<a href="{{ '/' | relative_url }}">
|
25
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
|
26
|
-
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
|
27
|
-
</svg>
|
28
|
-
</a>
|
29
|
-
|
30
|
-
{% if page.previous.url %}
|
31
|
-
<a href="{{page.previous.url}}">
|
32
|
-
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
33
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M15 19l-7-7 7-7" />
|
34
|
-
</svg>
|
35
|
-
</a>
|
36
|
-
{% endif %}
|
37
|
-
</nav>
|
10
|
+
{% include article_nav.html %}
|
38
11
|
</div>
|
39
12
|
|
40
13
|
<div class="content">
|
41
14
|
<header>
|
42
|
-
|
43
|
-
{{ site.title }}
|
44
|
-
|
45
|
-
{% if site.author.name %}
|
46
|
-
<span class="byline">
|
47
|
-
By <a href="">{{ site.author.name }}</a>
|
48
|
-
</span>
|
49
|
-
{% endif %}
|
50
|
-
</p>
|
51
|
-
|
52
|
-
<h1>
|
53
|
-
{{ page.title }}
|
54
|
-
</h1>
|
55
|
-
|
56
|
-
{% if page.description %}
|
57
|
-
<p class="description">
|
58
|
-
{{ page.description }}
|
59
|
-
</p>
|
60
|
-
{% endif %}
|
15
|
+
{% include article_header.html %}
|
61
16
|
</header>
|
62
17
|
|
63
18
|
<main>
|
@@ -68,7 +23,7 @@
|
|
68
23
|
<div class="sidebar">
|
69
24
|
{% include sidebar.html %}
|
70
25
|
</div>
|
71
|
-
</
|
26
|
+
</article>
|
72
27
|
</div>
|
73
28
|
</body>
|
74
29
|
</html>
|
data/index.html
CHANGED
data/screenshot.png
CHANGED
Binary file
|
data/together-theme.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: together-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dallas Read
|
@@ -65,6 +65,10 @@ files:
|
|
65
65
|
- Gemfile
|
66
66
|
- README.md
|
67
67
|
- _config.yml
|
68
|
+
- _includes/article_header.html
|
69
|
+
- _includes/article_nav.html
|
70
|
+
- _includes/head.html
|
71
|
+
- _includes/meta.html
|
68
72
|
- _includes/sidebar.html
|
69
73
|
- _includes/style_variables.html
|
70
74
|
- _includes/top_bar.html
|