<% document ||= @document %>
<div class="geoblacklight-view-panel">
  
  <%# From https://github.com/projectblacklight/blacklight/blob/master/app/views/catalog/_show_default.html.erb %>
  <%# default partial to display solr document fields in catalog show view -%>
  <dl class="dl-horizontal">
    <%# render 'abstract_metadata' %>
    <% document_show_fields(document).each do |solr_fname, field| %>
      <% if should_render_show_field? document, field %>
        <dt class="blacklight-<%= solr_fname.parameterize %>"><%= render_document_show_field_label document, field: solr_fname %></dt>
        <dd class="blacklight-<%= solr_fname.parameterize %>"><%= render_document_show_field_value document, field: solr_fname %></dd>
      <% end %>
    <% end %>
    <% if !@document.references.nil? && !@document.references.url.nil? %>
      <dt>More details at</dt>
      <dd itemprop="url"><%= link_to @document.references.url.endpoint, @document.references.url.endpoint %></dd>
    <% end %>
  </dl>
  <%#= "https://twitter.com/" << render_document_show_field_value(document, Settings.FIELDS.SCREEN_NAME)  %>
</div>
