Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 9d4f4e8

Browse files
authored
Merge pull request #149 from trailimage/develop
Fix external map links
2 parents 7b22782 + 65c2c48 commit 9d4f4e8

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.1.5
2+
3+
- Fix external map links
4+
15
## 4.1.4
26

37
- Update copyright date

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@trail-image/blog",
33
"description": "Trail Image blog",
4-
"version": "4.1.2",
4+
"version": "4.1.5",
55
"private": false,
66
"author": {
77
"name": "Jason Abbott"

views/mapbox.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<link href='/img/favicon.ico' rel='shortcut icon'/>
1818
<link href='/img/favicon.ico' rel='icon' type='image/vnd.microsoft.icon'/>
1919
{{> ga}}
20-
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.css' rel='stylesheet' />
20+
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.css' rel='stylesheet' />
2121
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
2222
<link href='/css/mapbox.css' rel='stylesheet' type='text/css'/>
23-
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.js'></script>
23+
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.js'></script>
2424
<script src='//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' type='text/javascript'></script>
2525
<script type='text/javascript'>
2626
{{! values used within mapbox.js }}
@@ -54,10 +54,10 @@
5454
{{/if}}
5555
<button class='back link' data-link="/{{post.key}}">{{{icon 'assignment_return'}}}<p>View Blog Post</p></button>
5656
{{/if}}
57-
<button class='google-earth map-link' data-link='{{{config.map.link.googleEarth}}}'>
57+
<button class='google-earth map-link' data-link='{{{config.providers.map.link.googleEarth}}}'>
5858
{{{icon '3d_rotation'}}}<p>View in Google Earth</p>
5959
</button>
60-
<button class='gaia-gps map-link' data-link='{{{config.map.link.gaiaGPS}}}'>
60+
<button class='gaia-gps map-link' data-link='{{{config.providers.map.link.gaiaGPS}}}'>
6161
{{{icon 'system_update'}}}<p><b>View in Gaia GPS</b>Draw routes and download to the mobile app</p>
6262
</button>
6363
</nav>

views/post.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
data-big="{{size.big.url}}" data-big-width="{{size.big.width}}" data-big-height="{{size.big.height}}"/>
9494
<div class="info-button">{{{icon 'photo_camera'}}}<p>Camera Settings</p></div>
9595

96-
{{#if tags}}
96+
{{#if tags.size}}
9797
<nav class="tags">
9898
{{{icon 'local_offer'}}}
9999
<h4>More photos like this</h4>

0 commit comments

Comments
 (0)