Skip to content

Commit

Permalink
move location map into footer
Browse files Browse the repository at this point in the history
  • Loading branch information
herestomwiththeweather committed Jun 25, 2017
1 parent 50a8525 commit 8abbb4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions _includes/post-content.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ <h3>In reply to:</h3>
{{ content }} {{ content }}
{% endif %} {% endif %}
</div> </div>
{% if post.mf-location != null %}
{% for loc in post.mf-location %}
<img src="https://maps.googleapis.com/maps/api/staticmap?center={{loc.geo}}&zoom=17&size=500x400&key=AIzaSyDTToP0YOQxuTkWiF1W0vFxf3RXfoHEgJU">
{% endfor %}
{% endif %}


{% if post.mf-syndication != null %} {% if post.mf-syndication != null %}
<div class="elsewhere linklist"> <div class="elsewhere linklist">
Expand Down
7 changes: 7 additions & 0 deletions _layouts/post.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ <h1 class="post-title p-name">
</div> </div>
<div class="meta-wrap"> <div class="meta-wrap">
<p><a data-proofer-ignore href="{{ post.url | prepend: site.github.url }}">{{ page.title }} </a> posted on <time datetime="{{ page.date | date_to_xmlschema }}" class="dt-time post-date">{{ page.date | date_to_string }}</time>.</p> <p><a data-proofer-ignore href="{{ post.url | prepend: site.github.url }}">{{ page.title }} </a> posted on <time datetime="{{ page.date | date_to_xmlschema }}" class="dt-time post-date">{{ page.date | date_to_string }}</time>.</p>
<p>
{% if post.mf-location != null %}
{% for loc in post.mf-location %}
<img src="https://maps.googleapis.com/maps/api/staticmap?center={{loc.geo}}&zoom=17&size=500x400&key=AIzaSyDTToP0YOQxuTkWiF1W0vFxf3RXfoHEgJU">
{% endfor %}
{% endif %}
</p>
<p>This entry has been tagged with the keywords: {% for tags in page.tags %}<span class="tag">{{ tags }} </span>{% endfor %}</p> <p>This entry has been tagged with the keywords: {% for tags in page.tags %}<span class="tag">{{ tags }} </span>{% endfor %}</p>
</div> </div>


Expand Down

0 comments on commit 8abbb4f

Please sign in to comment.