ons-jt 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +1 -1
- data/_includes/header.html +1 -1
- data/_layouts/author.html +1 -1
- data/_layouts/coverwrapper.html +1 -1
- data/_layouts/index.html +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5be0f427ce48ad7e7ac8db80f759b403b59def06
|
4
|
+
data.tar.gz: 14e3582fa6bdad28c9bce25ca4c82375d2b53ce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff95e279a54f7c49f7333d51878ddfd92849945c372bbfb297459ca44a7c2e0f38cfb980fc5a0c7a6a5aeb47ff51e02badf05fc6a2d73b691bee9ccdb6cf414
|
7
|
+
data.tar.gz: a8d0e093716b56dda1ce31b576a58866440f54c0672ad1140b9de8b0e884391745db8f538f8d38b758502d93f0b67b783ba3b9b2310e1128b9416a1d6d55ff21
|
data/_includes/head.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<meta name="HandheldFriendly" content="True" />
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
9
9
|
<meta name="referrer" content="origin" />
|
10
|
-
{% assign site_name = site.url | absolute_url | remove:'http://' | remove:'https://' | remove:'www.' | split:'/' | first | split:':' | first %}{% assign site_url = site.url %}{% if page.date %}{% assign page_date = page.date | date_to_xmlschema %}{% endif %}{% assign page_url = page.url | replace:'index.html','' | absolute_url %}{% if page.image %}{% assign page_image = page.image | prepend: site.baseurl %}{% else %}{% assign page_image = site.logo | prepend: site.url %}{% endif %}{% if site.author.name %}{% assign page_author = site.author.name %}{% else %}{% assign page_author = site_name %}{% endif %}
|
10
|
+
{% assign site_name = site.url | absolute_url | remove:'http://' | remove:'https://' | remove:'www.' | split:'/' | first | split:':' | first | append: site.baseurl %}{% assign site_url = site.url | append: site.baseurl %}{% if page.date %}{% assign page_date = page.date | date_to_xmlschema %}{% endif %}{% assign page_url = page.url | replace:'index.html','' | absolute_url %}{% if page.image %}{% assign page_image = page.image | prepend: site.baseurl | prepend: site.url %}{% else %}{% assign page_image = site.logo | prepend: site.baseurl | prepend: site.url %}{% endif %}{% if site.author.name %}{% assign page_author = site.author.name %}{% else %}{% assign page_author = site_name %}{% endif %}
|
11
11
|
<meta property="og:site_name" content="{{ site_name }}" />
|
12
12
|
<meta property="og:type" content="{% if page.title and page.layout != 'author' %}article{% elsif page.layout == 'author' %}profile{% else %}website{% endif %}" />
|
13
13
|
<meta property="og:title" content="{{ page_title }}" />
|
data/_includes/header.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{% assign default_paths = site.pages | map: "path" %}
|
3
3
|
{% assign page_paths = site.header_pages | default: default_paths %}
|
4
4
|
{% if site.logo %}
|
5
|
-
<a href='{{ "/" | relative_url }}'><img class='site-logo' src="{{ site.logo }}" /></a>
|
5
|
+
<a href='{{ "/" | relative_url }}'><img class='site-logo' src="{{ site.logo | prepend: site.baseurl }}" /></a>
|
6
6
|
{% endif %}
|
7
7
|
<a class="site-title" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
8
8
|
|
data/_layouts/author.html
CHANGED
@@ -5,7 +5,7 @@ layout: page
|
|
5
5
|
<div itemscope itemtype="http://schema.org/Person" >
|
6
6
|
{% if site.author.img %}
|
7
7
|
<div class="imgcentered">
|
8
|
-
<img src={{ site.author.img }} itemprop="image" alt="Photo of Author"/>
|
8
|
+
<img src={{ site.author.img | prepend: site.baseurl }} itemprop="image" alt="Photo of Author"/>
|
9
9
|
</div>
|
10
10
|
{% endif %}
|
11
11
|
{% if site.author.name %}
|
data/_layouts/coverwrapper.html
CHANGED
@@ -3,7 +3,7 @@ layout: base
|
|
3
3
|
---
|
4
4
|
<main class="page-content" aria-label="Content">
|
5
5
|
{% if site.coverimage %}
|
6
|
-
<div class="main-cover" style="background-image: linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)), url({{ site.coverimage }})">
|
6
|
+
<div class="main-cover" style="background-image: linear-gradient(rgba(255,255,255,0.9),rgba(255,255,255,0.9)), url({{ site.coverimage | prepend: site.baseurl }})">
|
7
7
|
<div class="main-cover-vertical">
|
8
8
|
<div>{{ site.coverpagecaption }}</div>
|
9
9
|
<div class="downarrow"><a href="/#postgrid">▾</a></div>
|
data/_layouts/index.html
CHANGED
@@ -9,7 +9,7 @@ layout: coverwrapper
|
|
9
9
|
{% for post in site.posts %}
|
10
10
|
<div class="grid-item">
|
11
11
|
{% if post.image %}
|
12
|
-
<img src="{{ post.image }}" />
|
12
|
+
<img src="{{ post.image | prepend: site.baseurl }}" />
|
13
13
|
{% endif %}
|
14
14
|
<a href="{{ post.url | relative_url }}">
|
15
15
|
<h2>{{ post.title | escape }}</h2>
|