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

Commit

Permalink
Merge pull request #149 from trailimage/develop
Browse files Browse the repository at this point in the history
Fix external map links
  • Loading branch information
Jason-Abbott authored Sep 1, 2018
2 parents 7b22782 + 65c2c48 commit 9d4f4e8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.1.5

- Fix external map links

## 4.1.4

- Update copyright date
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@trail-image/blog",
"description": "Trail Image blog",
"version": "4.1.2",
"version": "4.1.5",
"private": false,
"author": {
"name": "Jason Abbott"
Expand Down
8 changes: 4 additions & 4 deletions views/mapbox.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<link href='/img/favicon.ico' rel='shortcut icon'/>
<link href='/img/favicon.ico' rel='icon' type='image/vnd.microsoft.icon'/>
{{> ga}}
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.css' rel='stylesheet' />
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.css' rel='stylesheet' />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='/css/mapbox.css' rel='stylesheet' type='text/css'/>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.js'></script>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.48.0/mapbox-gl.js'></script>
<script src='//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>
{{! values used within mapbox.js }}
Expand Down Expand Up @@ -54,10 +54,10 @@
{{/if}}
<button class='back link' data-link="/{{post.key}}">{{{icon 'assignment_return'}}}<p>View Blog Post</p></button>
{{/if}}
<button class='google-earth map-link' data-link='{{{config.map.link.googleEarth}}}'>
<button class='google-earth map-link' data-link='{{{config.providers.map.link.googleEarth}}}'>
{{{icon '3d_rotation'}}}<p>View in Google Earth</p>
</button>
<button class='gaia-gps map-link' data-link='{{{config.map.link.gaiaGPS}}}'>
<button class='gaia-gps map-link' data-link='{{{config.providers.map.link.gaiaGPS}}}'>
{{{icon 'system_update'}}}<p><b>View in Gaia GPS</b>Draw routes and download to the mobile app</p>
</button>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion views/post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
data-big="{{size.big.url}}" data-big-width="{{size.big.width}}" data-big-height="{{size.big.height}}"/>
<div class="info-button">{{{icon 'photo_camera'}}}<p>Camera Settings</p></div>

{{#if tags}}
{{#if tags.size}}
<nav class="tags">
{{{icon 'local_offer'}}}
<h4>More photos like this</h4>
Expand Down

0 comments on commit 9d4f4e8

Please sign in to comment.