alembic-jekyll-theme 2.1.2 → 2.2.0
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 +1 -1
- data/_includes/button.html +1 -1
- data/_includes/figure.html +1 -1
- data/_includes/icon.html +1 -1
- data/_includes/map.html +1 -1
- data/_includes/nav-default.html +2 -2
- data/_includes/site-header.html +1 -1
- data/_layouts/default.html +2 -2
- 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: 7ea69b665173c6149eb4aaa328e2cdee57d4677e
|
|
4
|
+
data.tar.gz: 72b602d5add4ecc16ddbdfba098905058b5dd280
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '060782316f41e9340bf93c7811336a5b5a7aa1b2a634651791276bfe8819d20763e9f70849adb56bc41c46af6004c2417c4150f079ef780861fccb2af70867eb'
|
|
7
|
+
data.tar.gz: 1bbf4e2be6d8fe94be74164801c0e3b36d05479356312b08337d8900ff1f40eb71d3885dda24f3ef1d8a75ca1804fe1b988416ad5cd235263dabd505c8b0576d
|
data/README.md
CHANGED
|
@@ -93,7 +93,7 @@ There's a number of settings you'll need to change before you can start hacking
|
|
|
93
93
|
`twitter`, `author` and `social` values will need to be changed to the projects' social information or removed. Look for the `Gem settings` comment within the `/_config.yml` file. These values are for the [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag) - follow the link to find out more.
|
|
94
94
|
|
|
95
95
|
### Site settings
|
|
96
|
-
You'll need to change the `description`, `title` and `url` to match with the project. You'll also need to replace the `/assets/logo.svg` `/assets/default-social-image.png` with the project logo and default social image. The `email` needs to be changed to the email you want to receive contact form enquires with. The `disqus` value
|
|
96
|
+
You'll need to change the `description`, `title` and `url` to match with the project. You'll also need to replace the `/assets/logo.svg` and `/assets/default-social-image.png` with the project logo and default social image. Setting the site language can be done with `lang`, the theme will default to `en-US`. The `email` needs to be changed to the email you want to receive contact form enquires with. The `disqus` value can be changed to your project username on [Disqus](https://disqus.com), remove this from the `/_config.yml` file if you don't want comments enabled. Look for the `Site settings` comment within the `/_config.yml` file. The `repo` setting is optional, for now, and can be removed entirely, if you wish.
|
|
97
97
|
|
|
98
98
|
### Site navigation
|
|
99
99
|
There are a total of 4 different navigation types:
|
data/_includes/button.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<a class="button" href="{{ include.link }}"{% if include.color %} style="background: {{ include.color }}"{% endif %}>{{ include.text }}{% if include.icon %} {% include icon.html id=include.icon %}{% endif %}</a>
|
|
1
|
+
<a class="button" href="{{ include.link | default: "#" }}"{% if include.color %} style="background: {{ include.color }}"{% endif %}>{{ include.text | default: "Button" }}{% if include.icon %} {% include icon.html id=include.icon %}{% endif %}</a>
|
data/_includes/figure.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% if include.alt %}{% assign altText = include.alt %}{% else %}{% assign altText = include.caption %}{% endif %}
|
|
2
2
|
<figure class="figure{% if include.position %} figure--{{ include.position }}{% endif %}">
|
|
3
|
-
<img class="image" src="{{ include.image }}" {% if altText %}alt="Image - {{ altText }}"{% endif %}>
|
|
3
|
+
{% if include.image %}<img class="image" src="{{ include.image }}" {% if altText %}alt="Image - {{ altText }}"{% endif %}>{% else %}<small>Image not found</small>{% endif%}
|
|
4
4
|
{% if include.caption %}<figcaption class="caption">{{ include.caption }}</figcaption>{% endif %}
|
|
5
5
|
</figure>
|
data/_includes/icon.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg class="icon icon--{{ include.id }}" role="img"{% if include.title %} aria-label="{{ include.title }} icon"{% endif %}>{% if include.title %}<title>{{ include.title }}</title>{% endif %}<use xlink:href="#{{ include.id }}"{% if include.color %} fill="{{ include.color }}"{% endif %}></use></svg>
|
|
1
|
+
<svg class="icon icon--{{ include.id | default: "link" }}" role="img"{% if include.title %} aria-label="{{ include.title }} icon"{% endif %}>{% if include.title %}<title>{{ include.title }}</title>{% endif %}<use xlink:href="#{{ include.id | default: "link" }}"{% if include.color %} fill="{{ include.color }}"{% endif %}></use></svg>
|
data/_includes/map.html
CHANGED
data/_includes/nav-default.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<nav class="nav">
|
|
2
2
|
<ul class="list list--nav">
|
|
3
|
-
{% for item in site.
|
|
4
|
-
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html"
|
|
3
|
+
{% for item in site.html_pages %}
|
|
4
|
+
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" %}
|
|
5
5
|
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
|
6
6
|
|
|
7
7
|
{% if item.url contains '://' %}
|
data/_includes/site-header.html
CHANGED
data/_layouts/default.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html lang="en-
|
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
|
3
3
|
<head>
|
|
4
4
|
<!-- General meta -->
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
|
24
24
|
|
|
25
|
-
{% include site-favicons.html %}
|
|
25
|
+
{% if site.avatarurl %}{% include site-favicons.html %}{% endif %}
|
|
26
26
|
</head>
|
|
27
27
|
<body class="layout-{{ page.layout }}{% if page.title %} {{ page.title | slugify }}{% endif %}">
|
|
28
28
|
{% include site-icons.svg %}
|
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.
|
|
4
|
+
version: 2.2.0
|
|
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-08-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|