alembic-jekyll-theme 2.2.4 → 2.2.5
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 +15 -12
- data/_includes/nav-header.html +14 -3
- data/_includes/post-categories.html +1 -1
- data/assets/styles.scss +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 909dc585a1df6cd63e6b9a870bd91798763e6e7d
|
|
4
|
+
data.tar.gz: d298d34725645a87a18f9b7a63577888099dfbe3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cea3a78b2ee0c275571296490ff320394047af3e65401731b1f9eb32c134aecc5b4c572776dc3d9983328099605762b23facb732c0853a887439aa87049af403
|
|
7
|
+
data.tar.gz: 638cfdc34f97cdb4e7026b8645083fdb79775adb8b596af8ae17576fd3740adaf64ba56137d849ca19216529db3dec34177bbc6f3390845ad73b73098d68e49d
|
data/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|

|
|
7
7
|
|
|
8
|
+
[Tweet it](https://twitter.com/intent/tweet/?url=https://alembic.darn.es&text=Alembic%20-%20A%20Jekyll%20boilerplate%20theme&via=DavidDarnes) | [Tip me $5 💸](https://www.paypal.me/daviddarnes/5usd)
|
|
9
|
+
|
|
8
10
|
## Contents
|
|
9
11
|
- [About](#about)
|
|
10
12
|
- [Features](#features)
|
|
@@ -60,24 +62,25 @@ Here are a few examples of Alembic out in the wild being used in a variety of wa
|
|
|
60
62
|
### As a Boilerplate / Fork
|
|
61
63
|
|
|
62
64
|
1. [Fork the repo](https://github.com/daviddarnes/alembic#fork-destination-box)
|
|
63
|
-
2. Clone down the repo with
|
|
64
|
-
3.
|
|
65
|
-
4.
|
|
66
|
-
5.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
2. Clone down the repo with `git clone git@github.com:username/reponame.git`
|
|
66
|
+
3. Replace the `Gemfile` in the root of the repo with the one in `demo/Gemfile`
|
|
67
|
+
4. Delete the following unnecessary files/folders: `demo/`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `LICENSE`, `screenshot.png` and `alembic-jekyll-theme.gemspec`
|
|
68
|
+
5. Change the `logo.svg` and `default-social-image.png` in the `assets/` folder to your own branding
|
|
69
|
+
6. Configure your site settings using the `_config.yml`, more info can be found in [Configuration](#configuration)
|
|
70
|
+
7. Change the `CNAME` record to your projects' record
|
|
71
|
+
8. Install bundler with `gem install bundler`
|
|
72
|
+
9. Install gems with `bundle install`
|
|
73
|
+
10. Run Jekyll with `bundle exec jekyll serve --watch`
|
|
74
|
+
11. Begin hacking for your project
|
|
72
75
|
|
|
73
76
|
### As a Jekyll 3.3 theme gem
|
|
74
77
|
|
|
75
78
|
1. Download the starter `/demo` content, [quick download link](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/daviddarnes/alembic/tree/master/demo)
|
|
76
79
|
2. Configure your site settings using the `_config.yml`, more info can be found in [Configuration](#configuration)
|
|
77
80
|
3. Create a `logo.svg` and `default-social-image.png` in a new `assets/` folder
|
|
78
|
-
4. Install bundler with
|
|
79
|
-
5. Install gems with
|
|
80
|
-
6. Run Jekyll with
|
|
81
|
+
4. Install bundler with `gem install bundler`
|
|
82
|
+
5. Install gems with `bundle install`
|
|
83
|
+
6. Run Jekyll with `bundle exec jekyll serve --watch`
|
|
81
84
|
7. Begin hacking for your project
|
|
82
85
|
|
|
83
86
|
### Boilerplate & Theme differences
|
data/_includes/nav-header.html
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
{% if site.navigation_header %}
|
|
2
2
|
<nav class="nav nav--header">
|
|
3
|
-
<button class="button button--nav" aria-label="Nav toggle">
|
|
4
|
-
{% include icon.html id="nav" %}
|
|
5
|
-
</button>
|
|
6
3
|
<ul class="list list--nav">
|
|
7
4
|
{% for item in site.navigation_header %}
|
|
8
5
|
|
|
@@ -21,7 +18,20 @@
|
|
|
21
18
|
{% else %}
|
|
22
19
|
{% include nav-default.html %}
|
|
23
20
|
{% endif %}
|
|
21
|
+
|
|
22
|
+
<template id="buttontoggle">
|
|
23
|
+
<button class="button button--nav" aria-label="Nav toggle">
|
|
24
|
+
{% include icon.html id="nav" %}
|
|
25
|
+
</button>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
24
28
|
<script type="text/javascript">
|
|
29
|
+
|
|
30
|
+
const nav = document.querySelector('.nav')
|
|
31
|
+
const buttonTemplate = document.querySelector('#buttontoggle')
|
|
32
|
+
const button = document.importNode(buttonTemplate.content, true)
|
|
33
|
+
nav.appendChild(button)
|
|
34
|
+
|
|
25
35
|
const applyToggle = (list, button, breakpoint) => {
|
|
26
36
|
const navList = document.querySelector(list)
|
|
27
37
|
if (document.body.clientWidth < breakpoint) {
|
|
@@ -40,4 +50,5 @@ const applyToggle = (list, button, breakpoint) => {
|
|
|
40
50
|
}
|
|
41
51
|
|
|
42
52
|
applyToggle('.list--nav', '.button', 640)
|
|
53
|
+
|
|
43
54
|
</script>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<article class="article article--post typeset">
|
|
10
10
|
<h3><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h3>
|
|
11
11
|
{% include post-meta.html %}
|
|
12
|
-
{{ page.excerpt |
|
|
12
|
+
{{ page.excerpt | truncatewords: 60 | markdownify }}
|
|
13
13
|
</article>
|
|
14
14
|
</li>
|
|
15
15
|
{% endfor %}
|
data/assets/styles.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alembic-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Darnes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|