bookends 2.0.0 → 2.0.1
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/lib/bookends/jekyll_handler.rb +2 -0
- data/lib/bookends/version.rb +1 -1
- metadata +1 -31
- data/fixtures/dummy-jekyll/README.md +0 -64
- data/fixtures/dummy-jekyll/_config.yml +0 -8
- data/fixtures/dummy-jekyll/_layouts/default.html +0 -118
- data/fixtures/dummy-jekyll/_layouts/post.html +0 -14
- data/fixtures/dummy-jekyll/_sass/_base.scss +0 -478
- data/fixtures/dummy-jekyll/_sass/_google-cse.scss +0 -372
- data/fixtures/dummy-jekyll/_sass/_header.scss +0 -780
- data/fixtures/dummy-jekyll/_sass/_legacy.scss +0 -567
- data/fixtures/dummy-jekyll/_sass/_menu-icon.scss +0 -68
- data/fixtures/dummy-jekyll/_sass/_mixins.scss +0 -12
- data/fixtures/dummy-jekyll/_sass/_search.scss +0 -51
- data/fixtures/dummy-jekyll/_sass/bookends/_footer.scss +0 -390
- data/fixtures/dummy-jekyll/_sass/mixins/_background-image.scss +0 -48
- data/fixtures/dummy-jekyll/_sass/mixins/_border-radius.scss +0 -22
- data/fixtures/dummy-jekyll/_sass/mixins/_box-sizing.scss +0 -4
- data/fixtures/dummy-jekyll/_sass/mixins/_hide-text.scss +0 -5
- data/fixtures/dummy-jekyll/_sass/mixins/_hidpi.scss +0 -10
- data/fixtures/dummy-jekyll/_sass/mixins/_linear-gradient.scss +0 -41
- data/fixtures/dummy-jekyll/_sass/mixins/_prefixer.scss +0 -49
- data/fixtures/dummy-jekyll/_sass/mixins/_responsiveness.scss +0 -129
- data/fixtures/dummy-jekyll/_sass/mixins/_retina-image.scss +0 -31
- data/fixtures/dummy-jekyll/_sass/mixins/_size.scss +0 -44
- data/fixtures/dummy-jekyll/_sass/mixins/_transition.scss +0 -34
- data/fixtures/dummy-jekyll/_sass/mixins/_triangle.scss +0 -45
- data/fixtures/dummy-jekyll/app.json +0 -15
- data/fixtures/dummy-jekyll/bin/from-gdoc +0 -3
- data/fixtures/dummy-jekyll/bin/platform-setup +0 -15
- data/fixtures/dummy-jekyll/feed.xml +0 -34
- data/fixtures/dummy-jekyll/index.html +0 -40
- data/fixtures/dummy-jekyll/static.json +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b79a069a992f5e67f50a2f1d8b9231b27ca4155e
|
4
|
+
data.tar.gz: 9495f04ee613d04403bfd60516a1bbe504fa8cb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aedf9dd8a1ba5fbcf9be122522f0b918c9ffa8226e8bcd25ab57c35eccce9c316503c8b7facc66cf7885626f0f5489c803986881bd1341fb349438b6f98fdae
|
7
|
+
data.tar.gz: 91ddca9abcb0ce50fdd680b4a63220f2d975efd7f76b8e6934d30b41216633c8c82b00634f2aefdba293f074e41c74377a9f62be3544516ecf4d598820228e14
|
@@ -15,6 +15,8 @@ module Bookends
|
|
15
15
|
copy :file, name: 'newsletter.js', dest: 'assets/js/bookends/'
|
16
16
|
copy :directory, name: 'footer_images', dest: 'assets/images/', name_in_dest: 'bookends/footer'
|
17
17
|
append_to_file '../js/bookends/newsletter.js', "$(function() { return window.Heroku.newsletterSignup = new Heroku.NewsletterSignup(); });"
|
18
|
+
gsub_file '../../_sass/bookends/_footer.scss', 'bookends/footer', 'images/bookends/footer'
|
19
|
+
gsub_file '../../_sass/bookends/_footer.scss', 'asset-url', 'url'
|
18
20
|
end
|
19
21
|
end
|
20
22
|
end
|
data/lib/bookends/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookends
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marketing Web Ops at heroku
|
@@ -155,36 +155,6 @@ files:
|
|
155
155
|
- bin/bookends
|
156
156
|
- bin/setup
|
157
157
|
- bookends.gemspec
|
158
|
-
- fixtures/dummy-jekyll/README.md
|
159
|
-
- fixtures/dummy-jekyll/_config.yml
|
160
|
-
- fixtures/dummy-jekyll/_layouts/default.html
|
161
|
-
- fixtures/dummy-jekyll/_layouts/post.html
|
162
|
-
- fixtures/dummy-jekyll/_sass/_base.scss
|
163
|
-
- fixtures/dummy-jekyll/_sass/_google-cse.scss
|
164
|
-
- fixtures/dummy-jekyll/_sass/_header.scss
|
165
|
-
- fixtures/dummy-jekyll/_sass/_legacy.scss
|
166
|
-
- fixtures/dummy-jekyll/_sass/_menu-icon.scss
|
167
|
-
- fixtures/dummy-jekyll/_sass/_mixins.scss
|
168
|
-
- fixtures/dummy-jekyll/_sass/_search.scss
|
169
|
-
- fixtures/dummy-jekyll/_sass/bookends/_footer.scss
|
170
|
-
- fixtures/dummy-jekyll/_sass/mixins/_background-image.scss
|
171
|
-
- fixtures/dummy-jekyll/_sass/mixins/_border-radius.scss
|
172
|
-
- fixtures/dummy-jekyll/_sass/mixins/_box-sizing.scss
|
173
|
-
- fixtures/dummy-jekyll/_sass/mixins/_hide-text.scss
|
174
|
-
- fixtures/dummy-jekyll/_sass/mixins/_hidpi.scss
|
175
|
-
- fixtures/dummy-jekyll/_sass/mixins/_linear-gradient.scss
|
176
|
-
- fixtures/dummy-jekyll/_sass/mixins/_prefixer.scss
|
177
|
-
- fixtures/dummy-jekyll/_sass/mixins/_responsiveness.scss
|
178
|
-
- fixtures/dummy-jekyll/_sass/mixins/_retina-image.scss
|
179
|
-
- fixtures/dummy-jekyll/_sass/mixins/_size.scss
|
180
|
-
- fixtures/dummy-jekyll/_sass/mixins/_transition.scss
|
181
|
-
- fixtures/dummy-jekyll/_sass/mixins/_triangle.scss
|
182
|
-
- fixtures/dummy-jekyll/app.json
|
183
|
-
- fixtures/dummy-jekyll/bin/from-gdoc
|
184
|
-
- fixtures/dummy-jekyll/bin/platform-setup
|
185
|
-
- fixtures/dummy-jekyll/feed.xml
|
186
|
-
- fixtures/dummy-jekyll/index.html
|
187
|
-
- fixtures/dummy-jekyll/static.json
|
188
158
|
- fixtures/dummy-rails/README.md
|
189
159
|
- fixtures/dummy-rails/Rakefile
|
190
160
|
- fixtures/dummy-rails/app/assets/fonts/bentonsans-book.eot
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# Writing a post
|
2
|
-
|
3
|
-
As much or as little support as you'd like is available in writing a post. If you prefer less support in writing a post you can begin with simply an idea. To begin to with an idea visit the [Trello board](https://trello.com/b/KkLCAvMg/engineering-blog) and add your idea there. From there you can get support to work on an outline and draft and test it as we prepare to ship.
|
4
|
-
|
5
|
-
If you already have a concrete idea and simply are ready to ship it. Then:
|
6
|
-
|
7
|
-
1. Prep it to post as described below
|
8
|
-
1. Add it to the [Trello board](https://trello.com/b/5tmlTvpy/engineering-blog) as a draft, and mentioned craig
|
9
|
-
1. Include appropriate details of whose seen it and what feedback you've gotten.
|
10
|
-
|
11
|
-
# Prepping a post for publishing
|
12
|
-
|
13
|
-
1. Clone this repo
|
14
|
-
1. Create a new branch
|
15
|
-
1. Add your post to `_posts`. It should be a [markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) file.
|
16
|
-
Name the file with the date YYYY-MM-DD at the front, and with the '.md' extension.
|
17
|
-
1. Run `jekyll serve` and preview your post.
|
18
|
-
1. Push your branch to github and submit a PR.
|
19
|
-
1. Craig will review and publish.
|
20
|
-
|
21
|
-
### Local Setup and Editing
|
22
|
-
|
23
|
-
```console
|
24
|
-
$ gem install jekyll
|
25
|
-
$ jekyll serve
|
26
|
-
$ open http://127.0.0.1:4000
|
27
|
-
$ mate public
|
28
|
-
```
|
29
|
-
|
30
|
-
Use `from-gdoc` if pasting from a Google Doc:
|
31
|
-
|
32
|
-
```console
|
33
|
-
$ paste | bin/from-gdoc > _posts/2014-05-my-slug.md
|
34
|
-
```
|
35
|
-
|
36
|
-
### Platform Setup
|
37
|
-
|
38
|
-
```console
|
39
|
-
$ export DEPLOY=... # production/staging/you
|
40
|
-
$ bin/platform-setup
|
41
|
-
```
|
42
|
-
|
43
|
-
### Updating Syntax Highlighting Assets
|
44
|
-
|
45
|
-
Select the the relevant items from the
|
46
|
-
[Prism](http://prismjs.com/download.html) site and update
|
47
|
-
`assets/prism.{js,css}` accordingly.
|
48
|
-
|
49
|
-
#### Prism lanaguge support selections
|
50
|
-
* markup
|
51
|
-
* css
|
52
|
-
* clike
|
53
|
-
* ruby
|
54
|
-
* docker
|
55
|
-
* elixir
|
56
|
-
* erlang
|
57
|
-
* git
|
58
|
-
* go
|
59
|
-
* java
|
60
|
-
* php
|
61
|
-
* python
|
62
|
-
* scss
|
63
|
-
* sql
|
64
|
-
* yaml
|
@@ -1,118 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
{% include head.html %}
|
4
|
-
|
5
|
-
<body>
|
6
|
-
{% if site.google_tag_manager_account != '' %}
|
7
|
-
<noscript><iframe src="//www.googletagmanager.com/ns.html?id={{ site.google_tag_manager_account }}">
|
8
|
-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
9
|
-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
10
|
-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
11
|
-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
12
|
-
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
13
|
-
})(window,document,'script','dataLayer','{{ site.google_tag_manager_account }}');</script>
|
14
|
-
{% endif %}
|
15
|
-
|
16
|
-
<header id="header">
|
17
|
-
<div id="navigation" role="navigation">
|
18
|
-
<span class="mobile-nav">
|
19
|
-
Show nav
|
20
|
-
<span></span>
|
21
|
-
<span></span>
|
22
|
-
<span></span>
|
23
|
-
<span></span>
|
24
|
-
</span>
|
25
|
-
|
26
|
-
<div class="wrapper wrapper-full">
|
27
|
-
<h1 id="logo">
|
28
|
-
<a href="https://www.heroku.com/home">Heroku</a>
|
29
|
-
</h1>
|
30
|
-
|
31
|
-
<div class="nav-wrapper">
|
32
|
-
|
33
|
-
<ul class="main-nav">
|
34
|
-
<li class="has-dropdown">
|
35
|
-
<a href="https://www.heroku.com/platform">Products</a>
|
36
|
-
<ul class="dropdown">
|
37
|
-
<li><a href="https://www.heroku.com/platform" class="platform">Heroku Platform</a></li>
|
38
|
-
<li><a href="https://www.heroku.com/postgres" class="postgres">Heroku Postgres</a></li>
|
39
|
-
<li><a href="https://www.heroku.com/redis" class="redis">Heroku Redis</a></li>
|
40
|
-
<li><a href="https://www.heroku.com/connect" class="connect">Heroku Connect</a></li>
|
41
|
-
<li><a href="https://www.heroku.com/enterprise" class="enterprise">Heroku Enterprise</a></li>
|
42
|
-
</ul>
|
43
|
-
</li>
|
44
|
-
<li class="has-dropdown">
|
45
|
-
<a href="https://elements.heroku.com/">Elements</a>
|
46
|
-
<ul class="dropdown">
|
47
|
-
<li><a href="https://elements.heroku.com/addons" class="addons">Add-ons</a></li>
|
48
|
-
<li><a href="https://elements.heroku.com/buttons" class="buttons">Buttons</a></li>
|
49
|
-
<li><a href="https://elements.heroku.com/buildpacks" class="buildpacks">Buildpacks</a></li>
|
50
|
-
</ul>
|
51
|
-
</li>
|
52
|
-
<li><a href="https://www.heroku.com/pricing">Pricing</a></li>
|
53
|
-
<li><a href="https://devcenter.heroku.com">Documentation</a></li>
|
54
|
-
<li><a href="https://www.heroku.com/support">Support</a></li>
|
55
|
-
|
56
|
-
<li class="has-dropdown">
|
57
|
-
<a href="#" class="more">More</a>
|
58
|
-
<div class="dropdown more">
|
59
|
-
<section class="more-resources">
|
60
|
-
<span class="more-title">Additional Resources</span>
|
61
|
-
<ul>
|
62
|
-
<li><a href="https://www.heroku.com/what">What is Heroku?</a></li>
|
63
|
-
<li><a href="https://www.heroku.com/help">Help Center</a></li>
|
64
|
-
<li><a href="https://www.heroku.com/customers">Customers</a></li>
|
65
|
-
<li><a href="https://www.heroku.com/careers">Careers</a></li>
|
66
|
-
</ul>
|
67
|
-
</section>
|
68
|
-
<section class="more-languages">
|
69
|
-
<span class="more-title">Languages</span>
|
70
|
-
<ul>
|
71
|
-
<li><a href="https://www.heroku.com/node">Node</a></li>
|
72
|
-
<li><a href="https://www.heroku.com/ruby">Ruby</a></li>
|
73
|
-
<li><a href="https://www.heroku.com/java">Java</a></li>
|
74
|
-
<li><a href="https://www.heroku.com/php">PHP</a></li>
|
75
|
-
<li><a href="https://www.heroku.com/python">Python</a></li>
|
76
|
-
<li><a href="https://www.heroku.com/go">Go</a></li>
|
77
|
-
<li><a href="https://www.heroku.com/scala">Scala</a></li>
|
78
|
-
<li><a href="https://www.heroku.com/clojure">Clojure</a></li>
|
79
|
-
</ul>
|
80
|
-
</section>
|
81
|
-
<section id="more-blog" class="more-blog">
|
82
|
-
<span class="more-title">Heroku Blog</span>
|
83
|
-
<h3><a class="js-blog-link" href="https://blog.heroku.com">Heroku Blog</a></h3>
|
84
|
-
<p class="js-blog-date"></p>
|
85
|
-
<p class="js-blog-content">Find out what's new with Heroku on our blog.</p>
|
86
|
-
<a href="https://blog.heroku.com" class="button btn-default btn-sm btn-inline">Visit Blog</a>
|
87
|
-
</section>
|
88
|
-
</div>
|
89
|
-
</li>
|
90
|
-
</ul>
|
91
|
-
|
92
|
-
<ul class="tool-nav">
|
93
|
-
<li>
|
94
|
-
<form action="https://blog.heroku.com/search" class="site-search" id="site-search" method="get">
|
95
|
-
<div class="gsc-input">
|
96
|
-
<input name="utf8" type="hidden" value="✓">
|
97
|
-
<input autocomplete="off" type="text" name="q" title="search" class="gsc-input" style="width: 100%; padding: 0px; border: none; margin: -0.0625em 0px 0px; height: 1.25em; outline: none;" dir="ltr" spellcheck="false">
|
98
|
-
<span class="gsc-search-button">
|
99
|
-
<input type="submit" class="search-button">
|
100
|
-
</span>
|
101
|
-
</div>
|
102
|
-
</form>
|
103
|
-
</li>
|
104
|
-
</ul>
|
105
|
-
</div>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
</header>
|
109
|
-
|
110
|
-
<div class="container-fluid">
|
111
|
-
{{ content }}
|
112
|
-
</div>
|
113
|
-
|
114
|
-
{% include bookends/footer.html %}
|
115
|
-
{% include body-close.html %}
|
116
|
-
</body>
|
117
|
-
|
118
|
-
</html>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<h1>{{ page.title }}</h1>
|
6
|
-
<div class="byline">
|
7
|
-
{{ page.date | date: "%B %-d, %Y" }}
|
8
|
-
|
9
|
-
{% if page.author_name %}
|
10
|
-
by <address class="author"><a rel="author" href="{{ page.author_url }}">{{ page.author_name }}</a></address>
|
11
|
-
{% endif %}
|
12
|
-
</div>
|
13
|
-
|
14
|
-
{{ content }}
|