Skip to content

Commit 4244e24

Browse files
committed
Fix merge conflict with stashed changes
2 parents ae419b7 + 6ac7093 commit 4244e24

File tree

7 files changed

+30
-16
lines changed

7 files changed

+30
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
_site/
22
.sass-cache/
3+
.jekyll-cache/
34
.jekyll-metadata
45
alembic-jekyll-theme-*.gem
56
Gemfile.lock

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525

2626
## About
2727

28-
**Alembic is a starting point for [Jekyll](https://jekyllrb.com/) projects. Rather than starting from scratch, this boilerplate theme is designed to get the ball rolling immediately. Install it, configure it, tweak it, push it.**
28+
**Alembic is a starting point for [Jekyll](https://jekyllrb.com/) projects. Rather than starting from scratch, this boilerplate theme is designed to get rolling immediately. Install it, configure it, tweak it, push it.**
2929

3030
## Features
3131

3232
- Available as a **theme gem** and **GitHub Pages** theme
33-
- Simple and elegant design that can be used out of the box or as solid starting point
33+
- Clear and elegant design that can be used out of the box or as solid starting point
3434
- Tested in all major browsers, including **IE and Edge**
3535
- Built in **Service Worker** so it can work offline and on slow connections
3636
- **Configurable colours** and typography in a single settings file
@@ -128,9 +128,9 @@ Date format can be customised in the `/_config.yml` with the option `date_format
128128

129129
Alembic comes with a couple of options to enhance the speed and overall performance of the site you build upon it.
130130

131-
By default the built in Service Worker is enabled, and will work on a 'network first' method. That is, if there is no internet connection then the content the Service Worker has cached will be used until the connection comes back. It will always look for a live version of the code first. To disable the Service Worker set an option called `service_worker` to false in the `/_config.yml`.
131+
By default the built in Service Worker is enabled, and will work on a 'network first' method. Meaning if there's no internet connection the content the Service Worker has cached will be used until the connection comes back. It will always look for a live version of the code first. To disable the Service Worker add an option called `service_worker` with a value of `false` in the `/_config.yml` file.
132132

133-
Another option to speed up Alembic is to enable inline CSS, which is off by default. You can enable this by setting `css_inline: true` inside your `/_config.yml` file.
133+
Another option to speed up Alembic is to enable inline CSS, which is off by default. You can enable this by setting `css_inline: true` inside your `/_config.yml` file. By switching to inline styles you bypass the use `/assets/styles.scss`, any custom styles will need to be added in `/_includes/site-styles.html` or in a new custom file.
134134

135135
Please note that these options aren't a "silver bullet" for making your site faster, make sure to audit and debug your site to get the best performance for your situation.
136136

@@ -145,7 +145,7 @@ There are a total of 4 different navigation types:
145145

146146
All navigations can be edited using the `_config.yml` file. To see example usage either look for the `Site navigation` comment within the `/_config.yml` file or see [the nav-share.html include](#nav-sharehtml).
147147

148-
If there are no items for the `navigation_header` or `navigation_footer`, they will fallback to a list of pages within the site. The `social_navigation` properties should either be one that is already in the list (so `Twitter` or `Facebook`) or simply `link`, this is so an icon can be set for the link.
148+
If there are no items for the `navigation_header` or `navigation_footer`, they will fallback to a list of pages within the site. The `social_navigation` properties should either be one that is already in the list (so `Twitter` or `Facebook`) or a regular `link`, this is so an icon can be set for the link.
149149

150150
## Using includes
151151

@@ -202,7 +202,7 @@ DesignerNews: "#2D72D9"
202202
Email: true
203203
```
204204
205-
_The first item is the name of the network (must be one of the ones stated above) and the second is the colour of the button. To remove a button just remove the line of the same name._
205+
_The first item is the name of the network (must be one of the ones stated above) and the second is the colour of the button. To remove a button remove the line of the same name._
206206
207207
### `video.html`
208208
A YouTube video.
@@ -242,7 +242,7 @@ This include has no options. This include will add a block of javascript to the
242242
### `site-before-start.html` & `site-before-end.html`
243243
Optional html includes for adding scripts, css, js or any embed code you wish to add to every page without the need to overwrite the entire `default.html` template.
244244

245-
**Example usage:** These are different to other includes as they are designed to be overwritten. If you create a `site-before-start.html` file in the `_includes/` the contents of the file will be included just before the closing `</head>` tag. If you create a `site-before-end.html` file the contents of the file will be included just before the closing `</body>` tag.
245+
**Example usage:** These are different to other includes as they are designed to be overwritten. If you create a `site-before-start.html` file in the `_includes/` the contents of the file will be included immediately before the closing `</head>` tag. If you create a `site-before-end.html` file the contents of the file will be included immediately before the closing `</body>` tag.
246246

247247
## Page layouts
248248

_config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ defaults:
7777
path: ""
7878
values:
7979
image: "/assets/default-social-image.png" # Default image for sharing
80-
<<<<<<< Updated upstream
81-
=======
8280
-
8381
scope:
8482
path: ""
@@ -91,7 +89,6 @@ defaults:
9189
type: "pages"
9290
values:
9391
layout: page # Set the default layout for pages
94-
>>>>>>> Stashed changes
9592

9693
# 7. Site settings
9794
encoding: utf-8 # Make sure the encoding is right

_includes/site-styles.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
{% for item in site.pages %}{% if item.styles == true %}
2-
<style>{{ item.content | scssify | strip_newlines }}</style>
3-
{% endif %}{% endfor %}
1+
{% capture styles %}
2+
@import "alembic";
3+
{% endcapture %}
4+
<style>{{ styles | scssify | strip_newlines }}</style>

alembic-jekyll-theme.gemspec

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "alembic-jekyll-theme"
5+
<<<<<<< HEAD
56
<<<<<<< Updated upstream
67
spec.version = "3.1.0"
78
=======
89
spec.version = "4.0.0"
910
>>>>>>> Stashed changes
11+
=======
12+
spec.version = "3.2.0"
13+
>>>>>>> 6ac70934d8556fe3120cd2e5fdac936545602f8a
1014
spec.authors = ["David Darnes"]
1115
spec.email = ["me@daviddarnes.com"]
1216

@@ -19,6 +23,7 @@ Gem::Specification.new do |spec|
1923

2024
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(assets|_layouts|_includes|_sass|LICENSE|README|sw|manifest)}i) }
2125

26+
<<<<<<< HEAD
2227
<<<<<<< Updated upstream
2328
spec.add_runtime_dependency "jekyll", "~> 3.8"
2429
spec.add_runtime_dependency "jekyll-sitemap", "~> 0.13"
@@ -32,15 +37,24 @@ Gem::Specification.new do |spec|
3237
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.1"
3338
spec.add_runtime_dependency "jemoji", "~> 0.11"
3439
=======
40+
=======
41+
>>>>>>> 6ac70934d8556fe3120cd2e5fdac936545602f8a
3542
spec.add_runtime_dependency "jekyll", "~> 4.1"
3643
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4.0"
3744
spec.add_runtime_dependency "jekyll-mentions", "~> 1.6.0"
3845
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1.0"
3946
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.6.1"
4047
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16"
48+
<<<<<<< HEAD
49+
=======
50+
spec.add_runtime_dependency "jekyll-default-layout", "~> 0.1.4"
51+
>>>>>>> 6ac70934d8556fe3120cd2e5fdac936545602f8a
4152
spec.add_runtime_dependency "jekyll-feed", "~> 0.15"
4253
spec.add_runtime_dependency "jekyll-commonmark", "~> 1.3.1"
4354
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.2"
4455
spec.add_runtime_dependency "jemoji", "~> 0.12"
56+
<<<<<<< HEAD
4557
>>>>>>> Stashed changes
58+
=======
59+
>>>>>>> 6ac70934d8556fe3120cd2e5fdac936545602f8a
4660
end

assets/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.jekyll-cache/

index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ feature_image: "https://picsum.photos/1300/400?image=989"
77
excerpt: "Alembic is a starting point for [Jekyll](https://jekyllrb.com/) projects. Rather than starting from scratch, this boilerplate is designed to get the ball rolling immediately. Install it, configure it, tweak it, push it."
88
---
99

10-
Alembic is a starting point for [Jekyll](https://jekyllrb.com/) projects. Rather than starting from scratch, this boilerplate is designed to get the ball rolling immediately. Install it, configure it, tweak it, push it.
10+
Alembic is a starting point for [Jekyll](https://jekyllrb.com/) projects. Rather than starting from scratch, this boilerplate is designed to get rolling immediately. Install it, configure it, tweak it, push it.
1111

1212
{% include button.html text="Fork it" icon="github" link="https://github.com/daviddarnes/alembic" color="#0366d6" %} {% include button.html text="Tweet it" icon="twitter" link="https://twitter.com/intent/tweet/?url=https://alembic.darn.es&text=Alembic%20-%20A%20Jekyll%20boilerplate%20theme&via=DavidDarnes" color="#0d94e7" %} {% include button.html text="Install Alembic ⚗️" link="https://github.com/daviddarnes/alembic#installation" %} {% include button.html text="Tip me $5 💸" link="https://www.paypal.me/daviddarnes/5usd" color="#333333" %}
1313

1414
## Features
1515

1616
- Available as a **theme gem** and **GitHub Pages** theme
17-
- Simple and elegant design that can be used out of the box or as solid starting point
17+
- Clear and elegant design that can be used out of the box or as solid starting point
1818
- Tested in all major browsers, including **IE and Edge**
1919
- Built in **Service Worker** so it can work offline and on slow connections
2020
- **Configurable colours** and typography in a single settings file
@@ -86,7 +86,7 @@ _(deprecated, not recommended)_
8686

8787
## Customising
8888

89-
When using Alembic as a theme means you can take advantage of the file overriding method. This allows you to overwrite any file in this theme with your own custom file, simply by matching the file name and path. The most common example of this would be if you want to add your own styles or change the core style settings.
89+
When using Alembic as a theme means you can take advantage of the file overriding method. This allows you to overwrite any file in this theme with your own custom file, by matching the file name and path. The most common example of this would be if you want to add your own styles or change the core style settings.
9090

9191
To add your own styles copy the [`styles.scss`](https://github.com/daviddarnes/alembic/blob/master/assets/styles.scss) into your own project with the same file path (`assets/styles.scss`). From there you can add your own styles, you can even optionally ignore the theme styles by removing the `@import "alembic";` line.
9292

0 commit comments

Comments
 (0)