pocket-theme 0.4.3 → 0.4.4
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 +48 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95136f0d784f7a6f31b129a476a06453df7cc8726c595884040bff94510fb563
|
|
4
|
+
data.tar.gz: 3ac450b92afe09d1ef2c4801f5e33a44604d0a1e60c62975fa7c905f3c20c54c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b5a446c6fcfd6563181a7e1260ea35c7f176ca3acbbd9c6b1ebba90164b5b52c8838cf555e02227f3ef0ed4f2d2f76b5d36a1499e3d4ffe5c2a8d39c32e6885b
|
|
7
|
+
data.tar.gz: de799f0655f9bfac18818adf326407d132f7b498e6461d98faa0e511b4c711c72e9b7d7d3f67a0721b8d43c3d1353a06a6ea36369d2ea129288b360ca1598abb
|
data/README.md
CHANGED
|
@@ -1,2 +1,50 @@
|
|
|
1
1
|
# The Pocket theme for Jekyll
|
|
2
2
|
|
|
3
|
+
Pocket is a plain theme that uses no javascript or web fonts and loads just one plugin.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
### As a Ruby gem
|
|
8
|
+
|
|
9
|
+
Pocket is available as a Ruby gem. Assuming you have Ruby, Bundler and Jekyll installed, follow these steps:
|
|
10
|
+
|
|
11
|
+
- Open a command line
|
|
12
|
+
- Create a new Jekyll website by navigating to the folder you want to store it in
|
|
13
|
+
- From the command line enter `jekyll new my-website-folder-name`
|
|
14
|
+
- Jekyll will create a new site
|
|
15
|
+
- Open the `_config.yml` file
|
|
16
|
+
- Edit the `theme: minima` line. Replace `minima` with `pocket-theme`
|
|
17
|
+
- Open the `Gemfile` file
|
|
18
|
+
- Add this line: `gem "pocket-theme", "~> 0.4.4"`
|
|
19
|
+
- Go to the command line and enter `cd my-website-folder-name`
|
|
20
|
+
- Enter `bundle update`
|
|
21
|
+
- Test the site works by entering `bundle exec jekyll s`
|
|
22
|
+
- Open a browser and visit `localhost:4000`
|
|
23
|
+
- The Pocket theme should open
|
|
24
|
+
|
|
25
|
+
### Download from Github
|
|
26
|
+
|
|
27
|
+
Assuming you have Ruby, Bundler, Git and Jekyll installed, follow these steps:
|
|
28
|
+
|
|
29
|
+
- Open a command line
|
|
30
|
+
- Navigate to the folder you want to store the website in
|
|
31
|
+
- Enter `git clone https://github.com/leonp/pocket-theme.git`
|
|
32
|
+
- Navigate to the `pocket-theme` folder
|
|
33
|
+
- Enter `bundle exec jekyll s`
|
|
34
|
+
- Open a browser and visit `localhost:4000`
|
|
35
|
+
- The Pocket theme should open
|
|
36
|
+
|
|
37
|
+
## Site variables
|
|
38
|
+
|
|
39
|
+
You can add variables to your `_config.yml` file:
|
|
40
|
+
|
|
41
|
+
- `title` (e.g. `title: The Pocket theme for Jekyll`), displayed at the top of every page and in the browser title bar
|
|
42
|
+
- `description` (e.g. `description: "A shortish sentence or two that will be displayed at the bottom of every page."`)
|
|
43
|
+
- `lang` (e.g. `lang: en`), used in the `HTML` element to define the main language of your blog
|
|
44
|
+
- `url` (e.g. `url: https://leonpaternoster.com`), the full address of your website
|
|
45
|
+
|
|
46
|
+
## The intro variable
|
|
47
|
+
|
|
48
|
+
Pages or posts accept an `intro` variable. Intros are displayed below the page/post title in a slightly larger font. They serve as a summary of the page/post.
|
|
49
|
+
|
|
50
|
+
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pocket-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Leon Paternoster
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-11-
|
|
11
|
+
date: 2021-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -167,5 +167,6 @@ requirements: []
|
|
|
167
167
|
rubygems_version: 3.0.3
|
|
168
168
|
signing_key:
|
|
169
169
|
specification_version: 4
|
|
170
|
-
summary: Pocket is a fast, neutral theme
|
|
170
|
+
summary: Pocket is a fast, neutral theme for Jekyll. It uses no javascript or web
|
|
171
|
+
fonts, and loads only one plugin.
|
|
171
172
|
test_files: []
|