alembic-jekyll-theme 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9780ef63f82fe42101fc2b2d86ae1938fcf80a2d
4
- data.tar.gz: 50f01f784ba68d085d6b0ae29b20ea0a81705119
3
+ metadata.gz: 909dc585a1df6cd63e6b9a870bd91798763e6e7d
4
+ data.tar.gz: d298d34725645a87a18f9b7a63577888099dfbe3
5
5
  SHA512:
6
- metadata.gz: 9ce4c679ba77daa5f7da78998892c1f60120b72b7e71ad2ef503ea115c20d5f0682ee8d1ec33bd37feb55236c4431bfd92b26995ea97794dd374c5a9df12d201
7
- data.tar.gz: 4b463682bee8db9c70384604905c6a4d683c777ddd9c6b5cdfb6b6fa0cbad208664c467957d69dd5a691d20608c7163cb4318b36868d147e607b0ee36e6d398d
6
+ metadata.gz: cea3a78b2ee0c275571296490ff320394047af3e65401731b1f9eb32c134aecc5b4c572776dc3d9983328099605762b23facb732c0853a887439aa87049af403
7
+ data.tar.gz: 638cfdc34f97cdb4e7026b8645083fdb79775adb8b596af8ae17576fd3740adaf64ba56137d849ca19216529db3dec34177bbc6f3390845ad73b73098d68e49d
data/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  ![Screenshot](https://raw.githubusercontent.com/daviddarnes/alembic/master/screenshot.png)
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 `$ git clone git@github.com:username/reponame.git`
64
- 3. Delete the following unnecessary files/folders: `demo/`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `LICENSE`, `screenshot.png` and `alembic-jekyll-theme.gemspec`
65
- 4. Change the `logo.svg` and `default-social-image.png` in the `assets/` folder to your own branding
66
- 5. Configure your site settings using the `_config.yml`, more info can be found in [Configuration](#configuration)
67
- 5. Change the `CNAME` record to your projects' record
68
- 6. Install bundler with `$ gem install bundler`
69
- 7. Install gems with `$ bundle install`
70
- 8. Run Jekyll with `$ bundle exec jekyll serve --watch`
71
- 9. Begin hacking for your project
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 `$ gem install bundler`
79
- 5. Install gems with `$ bundle install`
80
- 6. Run Jekyll with `$ bundle exec jekyll serve --watch`
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
@@ -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 | markdownify | truncatewords: 60 }}
12
+ {{ page.excerpt | truncatewords: 60 | markdownify }}
13
13
  </article>
14
14
  </li>
15
15
  {% endfor %}
data/assets/styles.scss CHANGED
@@ -48,6 +48,12 @@ body {
48
48
  }
49
49
  }
50
50
 
51
+ .header .nav {
52
+ display: flex;
53
+ flex-direction: column-reverse;
54
+ align-items: flex-end;
55
+ }
56
+
51
57
  .feature {
52
58
  padding-bottom: .4rem;
53
59
  margin-bottom: 1.6rem;
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
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-09-06 00:00:00.000000000 Z
11
+ date: 2017-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll